tried routes in applications
1. cp ~/site/web2py/examples/routes.parametric.example.py
~/site/web2py/routes.py
2. cp ~/site/web2py/applications/welcome/routes.example.py
~/site/web2py/applications/welcome/routes.py
3. Start Web2py
source ~/site/bin/activate
python ~/site/web2py/web2py.py --nogui --no-banner -a 'a' -i 0.0.0.0 -p 8000
*Result when start web2py*
Traceback (most recent call last):
File "/Users/MacBookPro/site/web2py/web2py.py", line 21, in <module>
import gluon.widget
File "/Users/MacBookPro/site/web2py/gluon/widget.py", line 26, in <module>
from gluon import main, newcron
File "/Users/MacBookPro/site/web2py/gluon/main.py", line 120, in <module>
load_routes()
File "/Users/MacBookPro/site/web2py/gluon/rewrite.py", line 380, in load
load(routes, appname)
File "/Users/MacBookPro/site/web2py/gluon/rewrite.py", line 320, in load
exec(data, symbols)
File "<string>", line 23, in <module>
ImportError: No module named fileutils
already tried to edit ~/site/web2py/applications/welcome/routes.py too, but
still have the same problem
routers = {
*welcome*: dict(
default_language=possible_languages['default'][0],
languages=[lang for lang in possible_languages if lang != 'default']
)
}
any idea how to make it work?
thanks and best regards,
stifan
--
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 [email protected].
For more options, visit https://groups.google.com/d/optout.