Am I doing something wrong in setting up routes? 

On Saturday, September 28, 2013 12:29:33 AM UTC-4, User wrote:

> Using web2py  Version 2.6.4-stable+timestamp.2013.09.22.17.43.26 with 
> Python 2.7.  I've got web2py up and running with a simple app.  Now I'm 
> trying to get routes working.  What I did was copy 
> routes.patterns.example.py from <web2pyroot>/examples to the <web2pyroot> 
> folder and rename to routes.py.  Reloading routes from admin at this point 
> works.  Then in my app I copied routes.example.py to routes.py.  I 
> reloaded routes from admin and an error is generated with a ticket.  Note I 
> did not edit either routes file at all yet.  The ticket says:
>  
> Error ticket for "admin" Ticket ID 
>
> 127.0.0.1.2013-09-27.22-20-40
>
> <type 'exceptions.ImportError'> No module named fileutils
> Version  web2py™ Version 2.6.4-stable+timestamp.2013.09.22.17.43.26  
> Python Python 2.7: C:\www\web2py\web2py_no_console.exe (prefix: 
> C:\www\web2py)  Traceback 
>
> 1.
> 2.
> 3.
> 4.
> 5.
> 6.
> 7.
> 8.
> 9.
> 10.
> 11.
>
> Traceback (most recent call last):
>   File "/home/mdipierro/make_web2py/web2py/gluon/restricted.py", line 217, in 
> restricted
>   File *"C:/www/web2py/applications/admin/controllers/default.py"* 
> <http://127.0.0.1:8000/admin/default/edit/admin/controllers/default.py>, line 
> 1795, in <module>
>   File "/home/mdipierro/make_web2py/web2py/gluon/globals.py", line 371, in 
> <lambda>
>   File *"C:/www/web2py/applications/admin/controllers/default.py"* 
> <http://127.0.0.1:8000/admin/default/edit/admin/controllers/default.py>, line 
> 1700, in reload_routes
>   File "/home/mdipierro/make_web2py/web2py/gluon/rewrite.py", line 381, in 
> load
>   File "/home/mdipierro/make_web2py/web2py/gluon/rewrite.py", line 321, in 
> load
>   File "<string>", line 21, in <module>
>   File "/home/mdipierro/make_web2py/web2py/gluon/custom_import.py", line 86, 
> in custom_importer
> ImportError: 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.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to