Re: [web2py] Re: problem with cpdb.py "EXCEPTION: could not set DAL"

2019-02-07 Thread Jon Subscripted
Hi eveyone, Just one clarification. When I said "I do not really know why, but some of the tables did not make it into the new db." in my previous email, I meant that some table data (as a whole) did not make it into the new db. This meaning the table is there but none of the original data (not a

Re: [web2py] Re: problem with cpdb.py "EXCEPTION: could not set DAL"

2019-02-07 Thread Jon Subscripted
Hi everyone, Eventually I managed to move on, without cpdb.py. I had to do it as Massimo suggests in this thread "Best way to migrate from sqlite to postgresql (or other db)": https://groups.google.com/forum/#!topic/web2py/mQk2hoRf7gw Eventhough, auth tables game me a lot of issues and had to tw

Re: [web2py] Re: problem with cpdb.py "EXCEPTION: could not set DAL"

2019-02-05 Thread Jon Subscripted
Hi everyone, I took a look at cpdb.py code and saw that "-d" option is just used to find where "dal.py" and add the folder sys.path. So, instead of the relative path, I decided to use the absolute path. I do not get the "could not set DAL" exception anymore, but now I get the following error: "Fi

Re: [web2py] Re: problem with cpdb.py "EXCEPTION: could not set DAL"

2019-02-04 Thread Jon Subscripted
Hi Dave, Yes, if you refer to the Python installed in the computer I'm using Python 2.7.5. 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 cou

[web2py] Re: problem with cpdb.py "EXCEPTION: could not set DAL"

2019-02-03 Thread Dave S
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 pyth