question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ImportError when the apk launches with SDL2 bootstrap, kivy and python3crystax

See original GitHub issue

I do not know if it actually works, but in my case it does not work with android 5.0. And I’d like to know why 😃 (the apk works well with sdl2, Kivy, python 2)

...
I/python  ( 9904): Android kivy bootstrap done. __name__ is __main__
I/python  ( 9904): AND: Ran string
I/python  ( 9904): Run user program, change dir and execute entrypoint
I/python  ( 9904): main.py
I/python  ( 9904): [WARNING           ] [Config      ] Older configuration version detected (0 instead of 14)
I/python  ( 9904): [WARNING           ] [Config      ] Upgrading configuration in progress.
I/python  ( 9904): [INFO              ] [Logger      ] Record log in /data/data/org.hello.world/files/.kivy/logs/kivy_16-03-02_0.txt
I/python  ( 9904): [INFO              ] [Kivy        ] v1.9.2-dev0
I/python  ( 9904): [INFO              ] [Python      ] v3.5.0 (default, Dec 24 2015, 05:56:40) 
I/python  ( 9904): [GCC 5.3 20151204]
I/python  ( 9904):  Traceback (most recent call last):
I/python  ( 9904):    File "main.py", line 13, in <module>
I/python  ( 9904):      from kivy.app import App
I/python  ( 9904):    File "/data/data/org.hello.world/files/crystax_python/site-packages/kivy/app.py", line 319, in <module>
I/python  ( 9904):      from kivy.base import runTouchApp, stopTouchApp
I/python  ( 9904):    File "/data/data/org.hello.world/files/crystax_python/site-packages/kivy/base.py", line 30, in <module>
I/python  ( 9904):      from kivy.event import EventDispatcher
I/python  ( 9904):    File "/data/data/org.hello.world/files/crystax_python/site-packages/kivy/event.py", line 8, in <module>
I/python  ( 9904):      import kivy._event
I/python  ( 9904):  ImportError: dlopen failed: cannot locate symbol "PyErr_GivenExceptionMatches" referenced by "_event.so"...
I/python  ( 9904): Python for android ended.

<bountysource-plugin>

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource. </bountysource-plugin>

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:16 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
haricotcommented, Apr 12, 2016

@M-mcgowan This bug does not appear on distributions based on Archlinux. The pull resquests that I proposed are not ideal because it must be placed in rather p4a. (To test you simply apply the above modif to your Kivy packages and Pyjnius (.local/share/python-for -android/packages/)) I reinstalled a distribution based on Debian but for now I do not own solution and that it works without modif on Archlinux distributions confuses me a little.

0reactions
haricotcommented, Mar 17, 2018
Read more comments on GitHub >

github_iconTop Results From Across the Web

kivy@groups.io | New Comment on Issue
[python-for-android:master] New Comment on Issue #658 ImportError when the apk launches with SDL2 bootstrap, kivy and python3crystax
Read more >
Kivy-Ubuntu crashes after "buildozer android logcat"
I'm back at the problem with which I started this thread: I can launch my app via the Kivy Launcher, I can build...
Read more >
buildozer - Python Package Health Analysis - Snyk
Buildozer currently supports packaging for Android via the python-for-android project, and for iOS via the kivy-ios project. iOS and OSX are still under ......
Read more >
buildozer 0.36 - PyPI
Unable to build APK [\#725](https://github.com/kivy/buildozer/issues/725) ... create --dist\_name=blueb --bootstrap=sdl2 --requirements=python3crystax,kivy ...
Read more >
kivy Changelog - pyup.io
ImportError when the apk launches with SDL2 bootstrap, kivy and python3crystax [\658](https://github.com/kivy/python-for-android/issues/658)
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found