kivy / kivy/python-for-android

import gevent faild

Open
#3,142 0 comments 0 reactions 0 assignees View on GitHub
recipe
Dominant language
Python
Stars
8.9k
Forks
2k
Avg merge
12h 20m
Merged PRs (30d)
9

Description

```
import gevent
```
```
--requirements python3==3.11.0,hostpython3==3.11.0,gevent
```
```
04-25 14:21:08.514 25683 25791 I python : Traceback (most recent call last):
04-25 14:21:08.515 25683 25791 I python : File "/tda/main.py", line 4, in
04-25 14:21:08.515 25683 25791 I python : File "/root/.local/share/python-for-android/build/python-installs/tda/arm64-v8a/gevent/__init__.py", line 72, in
04-25 14:21:08.516 25683 25791 I python : File "/root/.local/share/python-for-android/build/python-installs/tda/arm64-v8a/gevent/_hub_local.py", line 150, in
04-25 14:21:08.516 25683 25791 I python : File "/root/.local/share/python-for-android/build/python-installs/tda/arm64-v8a/gevent/_util.py", line 148, in import_c_accel
04-25 14:21:08.516 25683 25791 I python : File "/root/.local/share/python-for-android/build/other_builds/python3/arm64-v8a__ndk_target_24/python3/Lib/importlib/__init__.py", line 126, in import_module
04-25 14:21:08.517 25683 25791 I python : ImportError: dlopen failed: cannot locate symbol "PyExc_ImportError" referenced by "/data/user/0/org.tsiens.tda/files/app/_python_bundle/site-packages/gevent/_gevent_c_hub_local.so"...
04-25 14:21:08.517 25683 25791 I python : Python for android ended.
04-25 14:21:08.690 25683 25791 D RefBase : #02 pc 000000000030f890 /data/app/~~v-heIWcXbk_X98eRwo0a8A==/org.tsiens.tda-kjhLc_-m8CBhXWZ0iNcAcg==/lib/arm64/libpython3.11.so (Py_Exit+32)
04-25 14:21:08.690 25683 25791 D RefBase : #03 pc 0000000000315698 /data/app/~~v-heIWcXbk_X98eRwo0a8A==/org.tsiens.tda-kjhLc_-m8CBhXWZ0iNcAcg==/lib/arm64/libpython3.11.so
04-25 14:21:08.690 25683 25791 D RefBase : #04 pc 0000000000314f48 /data/app/~~v-heIWcXbk_X98eRwo0a8A==/org.tsiens.tda-kjhLc_-m8CBhXWZ0iNcAcg==/lib/arm64/libpython3.11.so (PyRun_SimpleStringFlags+236)
```

Contributor guide

Open the contributing guide

Research direction

Reproduce the failure from the reported requirements using the import in /tda/main.py. Start with the gevent import traceback and the generated arm64-v8a Python installation, especially gevent/_gevent_c_hub_local.so and the bundled libpython3.11.so. Done means the application can import gevent without the missing PyExc_ImportError symbol error.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, python
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.