Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
aditya-gitte opened this issue Apr 3, 2023 · 3 comments
Open

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

aditya-gitte opened this issue Apr 3, 2023 · 3 comments

Comments

@aditya-gitte
Copy link

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
Copy link

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
Copy link

SanketVagha commented Jan 20, 2024

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
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants