On Saturday, February 2, 2019 at 6:05:55 AM UTC-8, Jonsubs wrote: > > Hi everyone, > I'm trying to copy my database (already populated) using cbpd.py but I get > an error. > (I'm working in Windows 10 with Web2py > 2.17.2-stable+timestamp.2018.10.06.18.54.02) > > So you're using the in-box python, which is python2?
/dps > 1st I changed the database URI in appconfig.ini from > sqlite://storage.sqlite to sqlite://storage3.sqlite > 2nd I checked with SQLite Browser that sqlite://storage3.sqlite was > created and tables are created also (but empty) > 3rd I launched the command below, but I does not work. > > C:\Users\Jon\Downloads\web2py_winAPPLIANCES\web2py>python scripts/cpdb.py > -f applications/paravolcar10enero_tarde/databases -y > sqlite://storage.sqlite -Y sqlite://storage3.sqlite -d ../gluon > No handlers could be found for logger "web2py" > WARNING:root:Unable to import plural rules: No module named plural_rules > EXCEPTION: could not set DAL > No module named dal > creating tables... > EXCEPTION: could not make a copy of the database > 'NoneType' object is not iterable > > Any suggestions? I do not really know how to interpret the error. > Thanks, Jon. > -- 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.