Hi,
I'm using web2py Version 2.27.1-stable+timestamp.2023.11.16.08.03.57.

Whenever I add a routes.py file I get the below error. 
I've tried adding "from gluon import fileutils" to the top of the routes.py 
file even though the issue appears to be with rewrite.py.

Any ideas?

Traceback (most recent call last):
  File "/home/vgr2/w2p_srv/web2py/web2py.py", line 44, in <module>
    import gluon.widget
  File "/home/vgr2/w2p_srv/web2py/gluon/widget.py", line 26, in <module>
    from gluon import main, newcron
  File "/home/vgr2/w2p_srv/web2py/gluon/main.py", line 120, in <module>
    load_routes()
  File "/home/vgr2/w2p_srv/web2py/gluon/rewrite.py", line 452, in load
    load(routes, appname)
  File "/home/vgr2/w2p_srv/web2py/gluon/rewrite.py", line 380, in load
    exec(data, symbols)
  File "<string>", line 21, in <module>
ModuleNotFoundError: No module named 'fileutils'

-- 
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 the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/4c381a6d-a999-4a27-8489-fe6cba433223n%40googlegroups.com.

Reply via email to