On system restart, the previous pyc files for python 2+ were deleted and it
works OK.
Let me observe for now.
Regards

On Fri, May 1, 2020, 11:26 Lovedie JC <lbjc1...@gmail.com> wrote:

> Let me try
>
> On Fri, May 1, 2020, 11:00 Clemens <clemens.odend...@claret-clover.de>
> wrote:
>
>> Hi Maurice,
>>
>> obviously you're trying to execute  your pythone-2-compiled code with
>> python 3 (Ubuntu 20 default). Have a try recompiling it with python 3.x.
>>
>> Does this solve the problem?
>>
>> Regards
>> Clemens
>>
>> On Friday, May 1, 2020 at 7:24:34 AM UTC+2, Maurice Waka wrote:
>>>
>>> I recently moved to ubuntu 20LTS and on login to web2py I get this error:
>>>
>>> Traceback
>>>
>>> 1.
>>> 2.
>>> 3.
>>> 4.
>>> 5.
>>> 6.
>>> 7.
>>> 8.
>>> 9.
>>> 10.
>>> 11.
>>> 12.
>>> 13.
>>> 14.
>>> 15.
>>>  Traceback (most recent call last):
>>>  File "/home/maurice/web2py/gluon/main.py", line 440, in wsgibase
>>>  serve_controller(request, response, session)
>>>  File "/home/maurice/web2py/gluon/main.py", line 174, in
>>> serve_controller
>>>  run_models_in(environment)
>>>  File "/home/maurice/web2py/gluon/compileapp.py", line 562, in
>>> run_models_in
>>>  ccode = getcfs(model, model, f)
>>>  File "/home/maurice/web2py/gluon/cfs.py", line 50, in getcfs
>>>  data = filter()
>>>  File "/home/maurice/web2py/gluon/compileapp.py", line 559, in <lambda>
>>>  f = lambda: read_pyc(model)
>>>  File "/home/maurice/web2py/gluon/compileapp.py", line 427, in read_pyc
>>>  raise SystemError('compiled code is incompatible')
>>> SystemError: compiled code is incompatible
>>>
>>>
>>> --
>> 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/5e0165da-cac3-4398-93b2-ebc7c3a4c120%40googlegroups.com
>> <https://groups.google.com/d/msgid/web2py/5e0165da-cac3-4398-93b2-ebc7c3a4c120%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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/CAAcHJF-F8pei%2B9moXc-kz-iRn4kaiOkgbD-Tv_HyyxkXQc77%3DQ%40mail.gmail.com.

Reply via email to