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

Thawab internal server error. #20

Open
aelmahmoudy opened this issue Apr 27, 2023 · 0 comments
Open

Thawab internal server error. #20

aelmahmoudy opened this issue Apr 27, 2023 · 0 comments

Comments

@aelmahmoudy
Copy link
Contributor

I got this error on the terminal when running thawab-gtk from git:

Exception occurred during processing of request from ('127.0.0.1', 37052)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/okasha/baseWebApp.py", line 606, in __call__
    try: r=f(rq, *a)
           ^^^^^^^^^
  File "/home/ant1/thawab/Thawab/webApp.py", line 90, in _root
    raise redirectException(rq.script+'/index/')
okasha.baseWebApp.webAppBaseException

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/paste/httpserver.py", line 1092, in process_request_in_thread
    self.finish_request(request, client_address)
  File "/usr/lib/python3.11/socketserver.py", line 361, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/usr/lib/python3.11/socketserver.py", line 755, in __init__
    self.handle()
  File "/usr/lib/python3/dist-packages/paste/httpserver.py", line 460, in handle
    BaseHTTPRequestHandler.handle(self)
  File "/usr/lib/python3.11/http/server.py", line 432, in handle
    self.handle_one_request()
  File "/usr/lib/python3/dist-packages/paste/httpserver.py", line 455, in handle_one_request
    self.wsgi_execute()
  File "/usr/lib/python3/dist-packages/paste/httpserver.py", line 304, in wsgi_execute
    result = self.server.wsgi_application(self.wsgi_environ,
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/okasha/baseWebApp.py", line 609, in __call__
    return self._handleException(rq, e)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/okasha/baseWebApp.py", line 504, in _handleException
    return getattr(self, s)(rq, e)
           ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/okasha/baseWebApp.py", line 522, in _302
    return ("Redirect to "+ e.kw['location'],)
            ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
TypeError: can only concatenate str (not "bytes") to str
----------------------------------------

The thawab GUI window says: Internal server error
I am using okasha 0.3.0

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

1 participant