Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fatal Python error: ffi.from_handle() detected that the address passed points to garbage #200

Closed
ThPcoder opened this issue May 19, 2020 · 1 comment

Comments

@ThPcoder
Copy link

Hello,

in a fresh install on Win7 (installed using pip), I get the below error when requesting a non-existing site: (cmd "py4web run apps")

Py4web: 1.20200510.1 on Python 3.7.4 (tags/v3.7.4:e09359112e, Jul 8 2019, 20:34
:20) [MSC v.1916 64 bit (AMD64)]

You have not set a dashboard password. Run "py4web set_password" to do so.
[X] loaded myapp
[X] loaded _dashboard
[X] loaded _default
[X] loaded _documentation
[X] loaded _minimal
[X] loaded _scaffold
Bottle v0.12.18 server starting up (using WSGIRefServer())...
Listening on http://127.0.0.1:8000/
Hit Ctrl-C to quit.

127.0.0.1 - - [19/May/2020 11:43:36] "GET /myapp/ HTTP/1.1" 404 449
127.0.0.1 - - [19/May/2020 11:43:38] "GET /myapp/ HTTP/1.1" 404 449
127.0.0.1 - - [19/May/2020 11:43:42] "GET /myapp HTTP/1.1" 200 40
127.0.0.1 - - [19/May/2020 12:02:21] "GET /todo/index HTTP/1.1" 404 447
Fatal Python error: ffi.from_handle() detected that the address passed points to
garbage. If it is really the result of ffi.new_handle(), then the Python object
has already been garbage collected

Thread 0x00000234 (most recent call first):
File "c:\hidden\appdata\local\programs\python\python37\lib\site-packages
gevent_threading.py", line 60 in wait
File "c:\hidden\appdata\local\programs\python\python37\lib\site-packages
gevent_threading.py", line 146 in get
File "c:\hidden\appdata\local\programs\python\python37\lib\site-packages
gevent\threadpool.py", line 155 in run

Current thread 0x00000bc0 (most recent call first):
File "c:\hidden\appdata\local\programs\python\python37\lib\site-packages
gevent_ffi\loop.py", line 264 in python_stop
File "c:\hidden\appdata\local\programs\python\python37\lib\site-packages
gevent\libuv\loop.py", line 498 in __run_queued_callbacks
File "c:\hidden\appdata\local\programs\python\python37\lib\site-packages
gevent\libuv\loop.py", line 218 in _run_callbacks
File "c:\hidden\appdata\local\programs\python\python37\lib\site-packages
gevent_ffi\loop.py", line 300 in python_prepare_callback
File "c:\hidden\appdata\local\programs\python\python37\lib\site-packages
gevent\libuv\loop.py", line 542 in run
File "c:\hidden\appdata\local\programs\python\python37\lib\site-packages
gevent\hub.py", line 618 in run

@mdipierro
Copy link
Contributor

Looks like a gevent issue, not a py4web issue: gevent/gevent#1587

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants