Error running WSGI application-Pythonanywhere

24 views
Skip to first unread message

Maurice Waka

unread,
Nov 22, 2020, 2:46:01 PM11/22/20
to web2py-users
I noticed that my pages reutrned an error: "404 NOT FOUND"

The error log gives this messages:
                         Error running WSGI application
2020-11-22 11:12:15,623: ModuleNotFoundError: No module named 'fileutils'
2020-11-22 11:12:15,630:   File "/var/www/www_hest_com_wsgi.py", line 8, in <module>
2020-11-22 11:12:15,631:     from wsgihandler import application
2020-11-22 11:12:15,631: 
2020-11-22 11:12:15,632:   File "/home/hest_conv/web2py/wsgihandler.py", line 29, in <module>
2020-11-22 11:12:15,632:     import gluon.main
2020-11-22 11:12:15,632: 
2020-11-22 11:12:15,632:   File "/home/hest_conv/web2py/gluon/main.py", line 114, in <module>
2020-11-22 11:12:15,633:     load_routes()
2020-11-22 11:12:15,633: 
2020-11-22 11:12:15,633:   File "/home/hest_conv/web2py/gluon/rewrite.py", line 377, in load
2020-11-22 11:12:15,633:     load(routes, appname)
2020-11-22 11:12:15,633: 
2020-11-22 11:12:15,634:   File "/home/hest_conv/web2py/gluon/rewrite.py", line 317, in load
2020-11-22 11:12:15,634:     exec(data, symbols)
2020-11-22 11:12:15,634: 
2020-11-22 11:12:15,635:   File "<string>", line 23, in <module>

How do I solve this?

Note, I'm using Version 2.20.4-stable
Kind regards

Maurice Waka

unread,
Nov 22, 2020, 5:49:40 PM11/22/20
to web...@googlegroups.com
I removed the routes.py file and able to access the error messages.
A file was missing prompting the error above. 
Closed. 

--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to a topic in the Google Groups "web2py-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/web2py/50PtkW1KH_4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to web2py+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/bffe39fe-75b2-4114-a7e5-2c68c1957d19n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages