Groups
Sign in
Groups
Kivy users support
Conversations
Labels
About
Send feedback
Help
pytube with kivy android
529 views
Android
Kivy
error
python
request
Skip to first unread message
Degenerate Tech
unread,
May 11, 2020, 5:31:19 AM
5/11/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Kivy users support
i wrote a app which will download youtube video an will play by video player
it working fine in ubuntu 18.04
but android version is crashes ..see the error
I/python (11211): [INFO ] [ImageLoaderFFPy] Using ffpyplayer 4.2.0.dev0
I/python (11211): [INFO ] [Image ] Providers: img_tex, img_dds, img_sdl2, img_ffpyplayer, img_gif (img_pil ignored)
I/python (11211): [INFO ] [Text ] Provider: sdl2
I/python (11211): [INFO ] [VideoFFPy ] Using ffpyplayer 4.2.0.dev0
I/python (11211): [INFO ] [Video ] Provider: ffpyplayer(['video_ffmpeg'] ignored)
I/python (11211): [INFO ] [Window ] Provider: sdl2
I/python (11211): [INFO ] [GL ] Using the "OpenGL ES 2" graphics system
I/python (11211): [INFO ] [GL ] Backend used <sdl2>
I/python (11211): [INFO ] [GL ] OpenGL version <b'OpenGL ES 2.0'>
I/python (11211): [INFO ] [GL ] OpenGL vendor <b'ARM'>
I/python (11211): [INFO ] [GL ] OpenGL renderer <b'Mali-400 MP'>
I/python (11211): [INFO ] [GL ] OpenGL parsed version: 2, 0
I/python (11211): [INFO ] [GL ] Texture max size <4096>
I/python (11211): [INFO ] [GL ] Texture max units <8>
I/python (11211): [INFO ] [Window ] auto add sdl2 input provider
I/python (11211): [INFO ] [Window ] virtual keyboard not allowed, single mode, not docked
I/python (11211): Traceback (most recent call last):
I/python (11211): File "/home/sahil/app/.buildozer/android/platform/build/build/other_builds/python3-libffi-openssl-sqlite3/armeabi-v7a__ndk_target_21/python3/Lib/urllib/request.py", line
1317, in do_open
I/python (11211): File "/home/sahil/app/.buildozer/android/platform/build/build/other_builds/python3-libffi-openssl-sqlite3/armeabi-v7a__ndk_target_21/python3/Lib/http/client.py", line 122
9, in request
I/python (11211): File "/home/sahil/app/.buildozer/android/platform/build/build/other_builds/python3-libffi-openssl-sqlite3/armeabi-v7a__ndk_target_21/python3/Lib/http/client.py", line 127
5, in _send_request
I/python (11211): File "/home/sahil/app/.buildozer/android/platform/build/build/other_builds/python3-libffi-openssl-sqlite3/armeabi-v7a__ndk_target_21/python3/Lib/http/client.py", line 122
4, in endheaders
I/python (11211): File "/home/sahil/app/.buildozer/android/platform/build/build/other_builds/python3-libffi-openssl-sqlite3/armeabi-v7a__ndk_target_21/python3/Lib/http/client.py", line 101
6, in _send_output
I/python (11211): File "/home/sahil/app/.buildozer/android/platform/build/build/other_builds/python3-libffi-openssl-sqlite3/armeabi-v7a__ndk_target_21/python3/Lib/http/client.py", line 956
, in send
I/python (11211): File "/home/sahil/app/.buildozer/android/platform/build/build/other_builds/python3-libffi-openssl-sqlite3/armeabi-v7a__ndk_target_21/python3/Lib/http/client.py", line 139
2, in connect
I/python (11211): File "/home/sahil/app/.buildozer/android/platform/build/build/other_builds/python3-libffi-openssl-sqlite3/armeabi-v7a__ndk_target_21/python3/Lib/ssl.py", line 412, in wra
p_socket
I/python (11211): File "/home/sahil/app/.buildozer/android/platform/build/build/other_builds/python3-libffi-openssl-sqlite3/armeabi-v7a__ndk_target_21/python3/Lib/ssl.py", line 853, in _cr
eate
I/python (11211): File "/home/sahil/app/.buildozer/android/platform/build/build/other_builds/python3-libffi-openssl-sqlite3/armeabi-v7a__ndk_target_21/python3/Lib/ssl.py", line 1117, in do
_handshake
I/python (11211): ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1051)
I/python (11211):
I/python (11211): During handling of the above exception, another exception occurred:
I/python (11211):
I/python (11211): Traceback (most recent call last):
I/python (11211): File "/home/sahil/app/.buildozer/android/app/main.py", line 14, in <module>
I/python (11211): File "/home/sahil/app/.buildozer/android/platform/build/build/python-installs/ki/pytube/__main__.py", line 91, in __init__
I/python (11211): File "/home/sahil/app/.buildozer/android/platform/build/build/python-installs/ki/pytube/__main__.py", line 162, in prefetch
I/python (11211): File "/home/sahil/app/.buildozer/android/platform/build/build/python-installs/ki/pytube/request.py", line 36, in get
I/python (11211): File "/home/sahil/app/.buildozer/android/platform/build/build/python-installs/ki/pytube/request.py", line 24, in _execute_request
I/python (11211): File "/home/sahil/app/.buildozer/android/platform/build/build/other_builds/python3-libffi-openssl-sqlite3/armeabi-v7a__ndk_target_21/python3/Lib/urllib/request.py", line
222, in urlopen
I/python (11211): File "/home/sahil/app/.buildozer/android/platform/build/build/other_builds/python3-libffi-openssl-sqlite3/armeabi-v7a__ndk_target_21/python3/Lib/urllib/request.py", line
525, in open
I/python (11211): File "/home/sahil/app/.buildozer/android/platform/build/build/other_builds/python3-libffi-openssl-sqlite3/armeabi-v7a__ndk_target_21/python3/Lib/urllib/request.py", line
543, in _open
I/python (11211): File "/home/sahil/app/.buildozer/android/platform/build/build/other_builds/python3-libffi-openssl-sqlite3/armeabi-v7a__ndk_target_21/python3/Lib/urllib/request.py", line
503, in _call_chain
I/python (11211): File "/home/sahil/app/.buildozer/android/platform/build/build/other_builds/python3-libffi-openssl-sqlite3/armeabi-v7a__ndk_target_21/python3/Lib/urllib/request.py", line
1360, in https_open
I/python (11211): File "/home/sahil/app/.buildozer/android/platform/build/build/other_builds/python3-libffi-openssl-sqlite3/armeabi-v7a__ndk_target_21/python3/Lib/urllib/request.py", line
1319, in do_open
I/python (11211): urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1051)>
I/python (11211): Python for android ended.
buildozer.spec
main.py
Robert Flatt
unread,
May 11, 2020, 12:23:30 PM
5/11/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Kivy users support
Try this
https://github.com/kivy/python-for-android/issues/2178
Reply all
Reply to author
Forward
0 new messages