attendance-system
attendance-system copied to clipboard
Problem in the backend with JSON
Error message : Traceback (most recent call last): File "C:\Users\achra.conda\envs\attendance-system\lib\site-packages\flask\app.py", line 2091, in call return self.wsgi_app(environ, start_response) File "C:\Users\achra.conda\envs\attendance-system\lib\site-packages\flask\app.py", line 2076, in wsgi_app response = self.handle_exception(e) File "C:\Users\achra.conda\envs\attendance-system\lib\site-packages\flask_cors\extension.py", line 165, in wrapped_function return cors_after_request(app.make_response(f(*args, **kwargs))) File "C:\Users\achra.conda\envs\attendance-system\lib\site-packages\flask_restful_init_.py", line 271, in error_router return original_handler(e) File "C:\Users\achra.conda\envs\attendance-system\lib\site-packages\flask\app.py", line 2073, in wsgi_app response = self.full_dispatch_request() File "C:\Users\achra.conda\envs\attendance-system\lib\site-packages\flask\app.py", line 1518, in full_dispatch_request rv = self.handle_user_exception(e) File "C:\Users\achra.conda\envs\attendance-system\lib\site-packages\flask_cors\extension.py", line 165, in wrapped_function return cors_after_request(app.make_response(f(*args, **kwargs))) File "C:\Users\achra.conda\envs\attendance-system\lib\site-packages\flask_restful_init_.py", line 271, in error_router return original_handler(e) File "C:\Users\achra.conda\envs\attendance-system\lib\site-packages\flask\app.py", line 1516, in full_dispatch_request rv = self.dispatch_request() File "C:\Users\achra.conda\envs\attendance-system\lib\site-packages\flask\app.py", line 1502, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args) File "C:\Users\achra.conda\envs\attendance-system\lib\site-packages\flask_restful_init_.py", line 471, in wrapper return self.make_response(data, code, headers=headers) File "C:\Users\achra.conda\envs\attendance-system\lib\site-packages\flask_restful_init_.py", line 500, in make_response resp = self.representations[mediatype](data, *args, **kwargs) File "C:\Users\achra.conda\envs\attendance-system\lib\site-packages\flask_restful\representations\json.py", line 21, in output_json dumped = dumps(data, **settings) + "\n" File "C:\Users\achra.conda\envs\attendance-system\lib\json_init_.py", line 238, in dumps **kw).encode(obj) File "C:\Users\achra.conda\envs\attendance-system\lib\json\encoder.py", line 201, in encode chunks = list(chunks) File "C:\Users\achra.conda\envs\attendance-system\lib\json\encoder.py", line 438, in _iterencode o = _default(o) File "C:\Users\achra.conda\envs\attendance-system\lib\json\encoder.py", line 179, in default raise TypeError(f'Object of type {o.class.name} ' TypeError: Object of type function is not JSON serializable
Have you been working on this project for a while?
Not really tried to work on it only for 1 day... It's an interesting project but i guess it's a complicated bug so i had no time to solve it... Do you suggest a solution?
Only 1 day? Why? Jason hired you for 1 day? Let's talk more. Do you think you can solve the issue with more time?
Sent from Surface Duo
From: Achraf EL KADIRI @.> Sent: Friday, January 7, 2022 7:51:17 PM To: codeglitchz/attendance-system @.> Cc: sellis1234 @.>; Comment @.> Subject: Re: [codeglitchz/attendance-system] Problem in the backend with JSON (Issue #20)
Not really tried to work on it only for 1 day... It's an interesting project but i guess it's a complicated bug so i had no time to solve it... Do you suggest a solution?
— Reply to this email directly, view it on GitHubhttps://github.com/codeglitchz/attendance-system/issues/20#issuecomment-1007863483, or unsubscribehttps://github.com/notifications/unsubscribe-auth/APKSKFPPG32PLUDEPGIY5MTUU6RCLANCNFSM5LCRICGQ. You are receiving this because you commented.Message ID: @.***>
Hired me??? What ??? I was just trying to work on a similar project that's why i found that on LinkedIn and tried to fix it! I'm not working with that Jason!
How busy are you?