fylein / fyle-interview-intern-backend

44 stars 1.14k forks source link

Exception in worker process when run.sh is executed #9

Open aditya-gitte opened 1 year ago

aditya-gitte commented 1 year ago

When I try to start the server by executing the run.sh script, an error occurs. The error is "Exception in worker process ." There is also an error while installing gevent using requirements.txt. I'm running the script on ARM based M1 pro mac.

Dattakiranrao commented 1 year ago

You can try to install all the dependencies but is just a waste of time you better complete the challenge on a VM or Replit

SanketVagha commented 5 months ago

URL :== http://127.0.0.1:5000/student/assignments
Method := [ GET]

Request Data :== { "X-Principal": {"user_id":1, "student_id":1} }

Error Message :=

File "d:\MCA\Projects\fyle-interview-intern-backend.venv\Lib\site-packages\flask\app.py", line 1456, in wsgi_app response = self.full_dispatch_request() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "d:\MCA\Projects\fyle-interview-intern-backend.venv\Lib\site-packages\flask\app.py", line 870, in full_dispatch_request rv = self.handle_user_exception(e) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "d:\MCA\Projects\fyle-interview-intern-backend.venv\Lib\site-packages\flask\app.py", line 868, in full_dispatch_request rv = self.dispatch_request() ^^^^^^^^^^^^^^^^^^^^^^^ File "d:\MCA\Projects\fyle-interview-intern-backend.venv\Lib\site-packages\flask\app.py", line 852, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\MCA\Projects\fyle-interview-intern-backend\core\apis\decorators.py", line 29, in wrapper assertions.assert_auth(p_str is not None, 'principal not found') File "D:\MCA\Projects\fyle-interview-intern-backend\core\libs\assertions.py", line 10, in assert_auth base_assert(401, msg) File "D:\MCA\Projects\fyle-interview-intern-backend\core\libs\assertions.py", line 5, in base_assert raise FyleError(status_code=error_code, message=msg) core.libs.exceptions.FyleError

Install All the Packages.

mxlik-ali commented 1 month ago

You can try to install all the dependencies but is just a waste of time you better complete the challenge on a VM or Replit

in Replit im facing issue as sson as i run tha bash file in webview it is unable to connect to replits server ip address it shows f275de78-ad42-4c37-b4ed-7d6c1a81cf98-00-1uwtmjupx3964.pike.replit.dev’s server IP address could not be found.