Rocket bug in web2py 2.21.1?

119 views
Skip to first unread message

jimka...@yahoo.com

unread,
Aug 8, 2021, 3:32:31 PM8/8/21
to web2py-users
Hi,
Finally migrated to 2.21.1 on macOS BigSur, using Python 3.9.6

Good news is that everything so far seems to work fine but there is a puzzling Rocket issue.

redownloaded 2.21.1 from the web2py site a couple of days ago, so should be up-to-date.

When starting up, the following comes up:

web2py Web Framework

Created by Massimo Di Pierro, Copyright 2007-2021

Version 2.21.1-stable+timestamp.2020.11.28.04.10.44

Database drivers available: sqlite3, imaplib, pymysql


please visit:

http://127.0.0.1:8000/

use "kill -SIGTERM 14337" to shutdown the web2py server

Traceback (most recent call last):

  File "/Applications/web2py_dev/./web2py.py", line 58, in <module>

    gluon.widget.start()

  File "/Applications/web2py_dev/gluon/widget.py", line 907, in start

    server.start()

  File "/Applications/web2py_dev/gluon/main.py", line 781, in start

    self.server.start()

  File "/Applications/web2py_dev/gluon/rocket.py", line 716, in start

    while self._monitor.isAlive():

AttributeError: 'Monitor' object has no attribute 'isAlive'

Python Version = 3.9.6

python_lib     = /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages

I assume this is not peculiar to us?? though I don't see a discussion of this topic in this group.
Having looked at the offending code a bit, it seems true that the Monitor object in Rocket does not have a 'isAlive' attribute.

Puzzled. Am I missing something?

Thanks,
Jim

Kevin Keller

unread,
Aug 8, 2021, 3:54:01 PM8/8/21
to web2py-users
Use the newest version from github. 

There the issue is fixed. 



--
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+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/e48e945c-d4c1-432d-a595-c015bf6ddd07n%40googlegroups.com.

jimka...@yahoo.com

unread,
Aug 12, 2021, 12:54:28 AM8/12/21
to web2py-users
Thanks. Appreciated !
Reply all
Reply to author
Forward
0 new messages