Problems with gevent ImportError: dlopen failed: cannot locate symbol "_Py_NoneStruct" referenced by ".../app/_python_bundle/site-packages/gevent/__hub_local.so"

30 views
Skip to first unread message

Maciej Krüger

unread,
Mar 3, 2019, 10:36:19 AM3/3/19
to Python For Android
Hi,

recently after updating my app to use the latest python-for-android and buildozer it stopped working with the following message:

02-26 16:25:47.846 11991 12011 I zn      : ImportError: dlopen failed: cannot locate symbol "_Py_NoneStruct" referenced by "/data/data/net.mkg20001.zeronet/files/app/_python_bundle/site-packages/gevent/__hub_local.so"...

I've already created a github issue here: https://github.com/kivy/python-for-android/issues/1732

I tried several things, but can't get it to work. It seems to be the same issue as https://github.com/kivy/python-for-android/issues/668
Probably some wrong parameters passed to the linker, but as I have little knowledge about native compiling I have no idea how to fix that. Would contribute a fix if someone finds a solution.

Could someone help me with that, please?

Thanks!
Maciej
Reply all
Reply to author
Forward
0 new messages