Hi Massimo,
Started moving to 3.08 literally a few minutes ago. The only change so far
in what I downloaded from the web2py site is that I added my application to
the application list. I'm trying Python3.12 on macOS Sequoia.
When I try to run my app, the following error appears immediately -
File ".../web2py/applications/admin/controllers/default.py", line 1774, in
make_link
return to_native(A('"' + tryFile + '"',
^^^^^^^^^
NameError: name 'to_native' is not defined
If I try to go to "list by exceptions", the list of exceptions comes up,
but if I try to click on one, web2py raises another exception and seems to
hang
Does that give you enough info at this point?
On Monday, December 2, 2024 at 2:52:24 AM UTC-8 [email protected] wrote:
> Hi Massimo,
>
> I am testing with Python 3.11 and so far, I found one bug in the
> admin-application: the view on todolist.load uses reduce() which is
> undefined:
> <class 'NameError'> name 'reduce' is not defined
> Version
> web2py™ Version 3.0.8-stable+timestamp.2024.12.01.23.08.05
> Python Python 3.11.2: /home/web2py/myappenv/bin/uwsgi (prefix:
> /home/web2py/myappenv)
> Traceback (most recent call last):
> File "/home/web2py/myapp/gluon/restricted.py", line 214, in restricted
> exec(ccode, environment)
> File
> "/home/web2py/myapp/applications/admin/views/default/todolist.load", line
> 2, in <module>
> <!--div class="page-header"-->
> ^^^^^^
> NameError: name 'reduce' is not defined
>
> Massimo Di Pierro schrieb am Montag, 2. Dezember 2024 um 08:29:45 UTC+1:
>
>> Found a lot of bugs introduced in the port from 2.7 to 3.9+.
>>
>> All known bugs introduced in porting from Python 2.7 to 3.9 have been
>> fixed but one. The window binary (based on python 3.12) does not include Tk
>> and therefore only provides a console, not a GUI.
>>
>> I could use more help in testing existing apps. Please report anything
>> that seems broken.
>> Many thanks to everybody how has already helped and pushed for this
>> overdue work.
>>
>> Massimo
>>
>>
>>
--
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 [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/web2py/776456e6-901c-4093-a669-895ecaf92564n%40googlegroups.com.