Hi Avinash, You might need to adjust the web2py version. The preferred one is 2.14.6
See here how to switch to other version: https://github.com/sahana/eden_deploy/blob/master/install-eden-cherokee-postgis.sh#L95 Hope this helps! Best Regards, Biplov On Thursday, December 22, 2016 at 11:13:17 AM UTC+7, Avinash Kachhy wrote: > > Hello > > On installing web2py and an application named Sahana Eden and trying to > run the app, I get an error indicating that portalocker cannot be imported > in pydal.py. > I see a note that this is fixed on Sept 27. > What do I need to do it so that I get the update? I had installed web2py > using the command > git clone --recursive git://github.com/web2py/web2py.git and seems that I > did not get the commit from late Sept. > > web2py™ Version 2.14.6-stable+timestamp.2016.05.09.19.18.48 > Python Python 2.7.12: /usr/bin/python (prefix: /usr) Traceback > > 1. > 2. > 3. > 4. > 5. > 6. > 7. > > Traceback (most recent call last): > File "/home/web2py/gluon/restricted.py", line 216, in restricted > exec(ccode, environment) > File "/home/web2py/applications/eden/models/000_1st_run.py" > <http://127.0.0.1:8000/admin/default/edit/eden/models/000_1st_run.py>, line > 73, in <module> > from gluon import portalocker > ImportError: cannot import name portalocker > > Error snapshot [image: help] > <http://127.0.0.1:8000/admin/default/ticket/eden/127.0.0.1.2016-12-21.11-53-23.b91c5925-3571-498d-8391-892f8231b625#> > > > <type 'exceptions.ImportError'>(cannot import name portalocker) > > > > > Thanks > Avinash Kachhy > -- 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.

