We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
My application seems to crash when I add 'requests' as a a requirement.
In buildozer.spec:
requirements = requests,kivy
And output from logcat:
I/python ( 5771): [INFO ] Kivy v1.7.2 I/python ( 5771): [INFO ] [Logger ] Record log in /data/data/com.edtitan.edtitan/files/.kivy/logs/kivy_13-12-18_3.txt I/python ( 5771): [INFO ] [Factory ] 144 symbols loaded I/python ( 5771): [DEBUG ] [Cache ] register <kv.lang> with limit=None, timeout=Nones I/System.out(16321): close [socket][/0.0.0.0:-1] I/python ( 5771): [DEBUG ] [Cache ] register <kv.image> with limit=None, timeout=60s I/python ( 5771): [DEBUG ] [Cache ] register <kv.atlas> with limit=None, timeout=Nones I/python ( 5771): /data/data/com.edtitan.edtitan/files/lib/python2.7/site-packages/kivy/core/image/img_pygame.py:11: RuntimeWarning: import cdrom: No module named cdrom I/python ( 5771): (ImportError: No module named cdrom) I/python ( 5771): [INFO ] [Image ] Providers: img_tex, img_dds, img_pygame, img_gif (img_pil ignored) I/python ( 5771): [DEBUG ] [Cache ] register <kv.texture> with limit=1000, timeout=60s I/python ( 5771): [DEBUG ] [Cache ] register <kv.shader> with limit=1000, timeout=3600s I/python ( 5771): Traceback (most recent call last): I/python ( 5771): File "/Users/dustin/Code/edtitan-client/.buildozer/android/app/main.py", line 7, in <module> I/python ( 5771): File "/Users/dustin/Code/edtitan-client/.buildozer/android/app/edtitan/connection.py", line 1, in <module> I/python ( 5771): File "/Users/dustin/Code/edtitan-client/.buildozer/android/app/_applibs/requests/__init__.py", line 58, in <module> I/python ( 5771): File "/Users/dustin/Code/edtitan-client/.buildozer/android/app/_applibs/requests/utils.py", line 12, in <module> I/python ( 5771): File "/Users/dustin/Code/edtitan-client/.buildozer/android/platform/python-for-android/dist/default/private/lib/python2.7/cgi.py", line 40, in <module> I/python ( 5771): File "/Users/dustin/Code/edtitan-client/.buildozer/android/platform/python-for-android/dist/default/private/lib/python2.7/urllib.py", line 1360, in <module> I/python ( 5771): ImportError: No module named _scproxy I/python ( 5771): Python for android ended.
I noticed a fix for a similar error in kivy-ios here:
kivy/kivy-ios@6a1e722
Update: I am on a Mac and this may be a Mac-build-specific issue.
The text was updated successfully, but these errors were encountered:
This can be worked around by adding to the top of main.py:
import sys sys.platform = 'linux2'
Sorry, something went wrong.
Closing in favor of kivy/python-for-android#186
No branches or pull requests
My application seems to crash when I add 'requests' as a a requirement.
In buildozer.spec:
And output from logcat:
I noticed a fix for a similar error in kivy-ios here:
kivy/kivy-ios@6a1e722
Update: I am on a Mac and this may be a Mac-build-specific issue.
The text was updated successfully, but these errors were encountered: