You probably only need to do a fake migration after changing python version 
and clearing your sessions folder.

python ./web2py.py -S yourapp -M --force_migrate -D DEBUG --fake_migrate

The only incompatibilities are things that were pickled.

A quinta-feira, 30 de maio de 2024 à(s) 13:02:36 UTC+1, villas escreveu:

> There is not enough information here, but this seems like a DB problem 
> rather than a web2py code error.  
> You do not mention which DB.
> It is not clear why you are re-building or importing to new tables etc.
> When I upgraded (years ago),  I do not recall touching my DB at all 
> (Firebird).
>  
>
> On Wednesday 22 May 2024 at 08:29:02 UTC+1 mostwanted wrote:
>
>> Hi guys, my app has been running on python2.7 since its inception, I have 
>> been reluctant to make the big change but now very critical updates a force 
>> the change. How do I move the entire database with all its images and data 
>> to the new app?
>>
>> I have tried a few things and a few things, The appadmin interface import 
>> function is not working so I had to write a few scripts. Some tables 
>> without references were successful but I am stuck on bigger tables with 
>> images and table references I keep getting primarykey integrity error.
>>
>> Please help
>>
>> Regards
>>
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/6ac0a2df-1d05-4130-8b16-5595ee296028n%40googlegroups.com.

Reply via email to