Hi Anthony, I have tried both, the stable and to clone the git.
As I have my own routes, I had to put it in the root folder of web2py, and then the problem persist. Do you know if this can be fixed? Thanks On Monday, 30 October 2017 02:52:28 UTC+1, Anthony wrote: > > By default, the application folder includes a routes.example.py file. > Presumably, you have renamed that file to routes.py (otherwise, web2py > would not read the file). The error is coming from that file, not from the > routes.py file in the root /web2py folder (though if you remove the root > routes.py file, you will also prevent the routes.py file in the > application's folder from being read). > > Do you observe the problem in the latest stable release of web2py, or only > in a clone of the latest master from Github? I can only reproduce with the > latest from master (not sure what the problem is). > > Anthony > > On Sunday, October 29, 2017 at 12:48:48 PM UTC-4, Anatoli Hristov wrote: >> >> Hi, >> >> I updated to last web2py just now, and now I cannot start my apps. >> >> root@id1:/home/tol/web2py# python web2py.py -S mypcu -M >> Traceback (most recent call last): >> File "web2py.py", line 21, in <module> >> import gluon.widget >> File "/home/tol/web2py/gluon/widget.py", line 26, in <module> >> from gluon import main, newcron >> File "/home/tol/web2py/gluon/main.py", line 121, in <module> >> load_routes() >> File "/home/tol/web2py/gluon/rewrite.py", line 379, in load >> load(routes, appname) >> File "/home/tol/web2py/gluon/rewrite.py", line 319, in load >> exec(data, symbols) >> File "<string>", line 23, in <module> >> ImportError: cannot import name abspath >> >> I had to delete the routes.py from the web2py in order to start. What >> could be wrong? >> >> Thank you >> > -- 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.

