Sorry, the previous attachment was wrong. Please use this one (v2). If you prefer, you can easily make the changes by yourself on the sources, see the rocket3 PR.
nico Il giorno ven 20 dic 2024 alle ore 18:15 Nico Zanferrari <nicoz...@gmail.com> ha scritto: > I think I've found the reason for the random hangs, after a whole > afternoon downgrading and testing. > > It should be due to this PR > <https://github.com/web2py/web2py/commit/1d02ab568e7f3fba0c4a38e6e9bc1a051cb12a4d>, > that changed rocket with rocket3 . I'm attaching a fix (with the latest > web2py, just overwrite the existing files under gluon) - it could be really > helpful if someone could confirm it on a test environment. > If confirmed, we could focus on the rocket/rocket3 changes ;-) > > Nico > > Il giorno mar 17 dic 2024 alle ore 23:11 Nico Zanferrari < > nicoz...@gmail.com> ha scritto: > >> Hi, >> >> I've just release the new binaries (based on web2py 3.0.9 and python >> 3.12.7 + the latest pyinstaller) on >> https://github.com/nicozanf/web2py-pyinstaller. >> >> But be careful because the 3.x version of web2py is quite unstable on all >> O.S. - it hangs frequently, at least the admin app. There are a couple of >> issues already issued on https://github.com/web2py/web2py/issues . >> >> Cheers, >> Nico >> >> >> Il giorno lun 2 dic 2024 alle ore 11:52 simon...@gmail.com < >> simon.r...@gmail.com> ha scritto: >> >>> 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 web2py+unsubscr...@googlegroups.com. >>> To view this discussion visit >>> https://groups.google.com/d/msgid/web2py/e929036e-5592-4546-81df-a178540259d1n%40googlegroups.com >>> <https://groups.google.com/d/msgid/web2py/e929036e-5592-4546-81df-a178540259d1n%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 visit https://groups.google.com/d/msgid/web2py/CAAE8D_DQvFdVRjO7UUawyTQr%3DFbC%2Bhmf7KKGS%3Dz_VjyJ%2BzUumQ%40mail.gmail.com.
<<attachment: fix_web2py_v2.zip>>