buildozer error while deplying

103 views
Skip to first unread message

V P SINGH

unread,
Feb 10, 2022, 1:33:51 AM2/10/22
to Kivy development
Traceback (most recent call last):
  File "/usr/local/bin/buildozer", line 8, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.9/dist-packages/buildozer/scripts/client.py", line 13, in main
    Buildozer().run_command(sys.argv[1:])
  File "/usr/local/lib/python3.9/dist-packages/buildozer/__init__.py", line 1047, in run_command
    self.target.run_commands(args)
  File "/usr/local/lib/python3.9/dist-packages/buildozer/target.py", line 92, in run_commands
    func(args)
  File "/usr/local/lib/python3.9/dist-packages/buildozer/target.py", line 102, in cmd_debug
    self.buildozer.prepare_for_build()
  File "/usr/local/lib/python3.9/dist-packages/buildozer/__init__.py", line 169, in prepare_for_build
    self.target.install_platform()
  File "/usr/local/lib/python3.9/dist-packages/buildozer/targets/android.py", line 665, in install_platform
    self._install_android_ndk()
  File "/usr/local/lib/python3.9/dist-packages/buildozer/targets/android.py", line 455, in _install_android_ndk
    self.buildozer.download(url,
  File "/usr/local/lib/python3.9/dist-packages/buildozer/__init__.py", line 677, in download
    urlretrieve(url, filename, report_hook)
  File "/usr/lib/python3.9/urllib/request.py", line 1847, in retrieve
    block = fp.read(bs)
  File "/usr/lib/python3.9/tempfile.py", line 613, in func_wrapper
    return func(*args, **kwargs)
ValueError: read of closed file
(env) pi@raspberrypi:~/myprj/pyt-tut/kivy $ buildozer android debug  >tt.txt
Traceback (most recent call last):
  File "/usr/local/bin/buildozer", line 8, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.9/dist-packages/buildozer/scripts/client.py", line 13, in main
    Buildozer().run_command(sys.argv[1:])
  File "/usr/local/lib/python3.9/dist-packages/buildozer/__init__.py", line 1047, in run_command
    self.target.run_commands(args)
  File "/usr/local/lib/python3.9/dist-packages/buildozer/target.py", line 92, in run_commands
    func(args)
  File "/usr/local/lib/python3.9/dist-packages/buildozer/target.py", line 102, in cmd_debug
    self.buildozer.prepare_for_build()
  File "/usr/local/lib/python3.9/dist-packages/buildozer/__init__.py", line 169, in prepare_for_build
    self.target.install_platform()
  File "/usr/local/lib/python3.9/dist-packages/buildozer/targets/android.py", line 665, in install_platform
    self._install_android_ndk()
  File "/usr/local/lib/python3.9/dist-packages/buildozer/targets/android.py", line 455, in _install_android_ndk
    self.buildozer.download(url,
  File "/usr/local/lib/python3.9/dist-packages/buildozer/__init__.py", line 677, in download
    urlretrieve(url, filename, report_hook)
  File "/usr/lib/python3.9/urllib/request.py", line 1847, in retrieve
    block = fp.read(bs)
  File "/usr/lib/python3.9/tempfile.py", line 613, in func_wrapper
    return func(*args, **kwargs)
ValueError: read of closed file

changhui liu

unread,
Nov 10, 2022, 10:05:36 PM11/10/22
to Kivy development
这个如何解决啊
Reply all
Reply to author
Forward
0 new messages