Thank you, Massimo !! Is there any reason that one could not have 2 versions of web2py on disk at the same time? The reason for wanting that is that is conservatism - Having thousands of lines of code developed under 2.14.6 and migrating them to 2.16.1 if something doesn't work under the new version, being able to go back to the old might be useful to identify issues
What is the reason for the "ImportError: cannot import name InDBMigrator" error. Same error whether separately downloading source or using the builtin web2py "update" option Thanks On Wednesday, February 7, 2018 at 10:47:19 AM UTC-8, jim kaubisch wrote: > > Hi, > > I needed to directed my attention away from my web2py project a few months > ago but am now trying to get back into it. > A wise Step 1 would seem to be to update from 2.14.6 to the current > version (2.16.1 I assume). > > First tried from source but got > > Traceback (most recent call last): > > File "web2py.py", line 21, in <module> > > import gluon.widget > > File “./Development/web2py/gluon/__init__.py", line 38, in <module> > > from .dal import DAL, Field > > File “./Development/web2py/gluon/dal.py", line 17, in <module> > > from pydal.migrator import Migrator, InDBMigrator > > ImportError: cannot import name InDBMigrator > > > I still have 2.14.6 installed (in a separate sub-tree) - is that the > problem? > > > so I downloaded the mac "mac_osx.zip" to try that but - > > after unzipping, when I try to run the resulting web2py/web2py.app I just > get a pop up saying "web2py error". > > When I look at the file info for the web2py.app file it says Version > 2.4.7, dated 29 May, 2013 > > > What am I doing wrong? > > The app file info certainly doesn't look encouraging. > > I assume having 2 versions of web2py in separate sub-trees shouldn't be a > problem > > > Thanks, > > Jim > > > -- 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/d/optout.