Advertisement
Guest User

buildozer error

a guest
Dec 10th, 2019
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.00 KB | None | 0 0
  1. Exception in thread background thread for pid 65460:
  2. Traceback (most recent call last):
  3. File "/usr/lib64/python3.7/threading.py", line 926, in _bootstrap_inner
  4. self.run()
  5. File "/usr/lib64/python3.7/threading.py", line 870, in run
  6. self._target(*self._args, **self._kwargs)
  7. File "/home/dudeguy/kivy_venv/lib/python3.7/site-packages/sh.py", line 1540, in wrap
  8. fn(*args, **kwargs)
  9. File "/home/dudeguy/kivy_venv/lib/python3.7/site-packages/sh.py", line 2459, in background_thread
  10. handle_exit_code(exit_code)
  11. File "/home/dudeguy/kivy_venv/lib/python3.7/site-packages/sh.py", line 2157, in fn
  12. return self.command.handle_command_exit_code(exit_code)
  13. File "/home/dudeguy/kivy_venv/lib/python3.7/site-packages/sh.py", line 815, in handle_command_exit_code
  14. raise exc
  15. sh.ErrorReturnCode_1:
  16.  
  17. RAN: /home/dudeguy/app/.buildozer/android/platform/build/build/other_builds/hostpython3/desktop/hostpython3/native-build/python setup.py install -O2 --root=/home/dudeguy/app/.buildozer/android/platform/build/build/python-installs/linkaboard --install-lib=.
  18.  
  19. STDOUT:
  20. Traceback (most recent call last):
  21. File "setup.py", line 11, in <module>
  22. import setuptools
  23. File "/home/dudeguy/app/.buildozer/android/platform/build/build/other_builds/setuptools-python3/armeabi-v7a__ndk_target_21/setuptools/setuptools/__init__.py", line 20, in <module>
  24. from setuptools.dist import Distribution, Feature
  25. File "/home/dudeguy/app/.buildozer/android/platform/build/build/other_builds/setuptools-python3/armeabi-v7a__ndk_target_21/setuptools/setuptools/dist.py", line 36, in <module>
  26. from setuptools import windows_support
  27. File "/home/dudeguy/app/.buildozer/android/platform/build/build/other_builds/setuptools-python3/armeabi-v7a__ndk_target_21/setuptools/setuptools/windows_support.py", line 2, in <module>
  28. import ctypes
  29. File "/home/dudeguy/app/.buildozer/android/platform/build/build/other_builds/hostpython3/desktop/hostpython3/Lib/ctypes/__init__.py", line 7, in <module>
  30. from _ctypes import Union, Structure, Array
  31. ModuleNotFoundError: No module named '_ctypes'
  32.  
  33.  
  34. STDERR:
  35.  
  36.  
  37. Traceback (most recent call last):
  38. File "/usr/lib64/python3.7/runpy.py", line 193, in _run_module_as_main
  39. "__main__", mod_spec)
  40. File "/usr/lib64/python3.7/runpy.py", line 85, in _run_code
  41. exec(code, run_globals)
  42. File "/home/dudeguy/app/.buildozer/android/platform/python-for-android/pythonforandroid/toolchain.py", line 1192, in <module>
  43. main()
  44. File "/home/dudeguy/app/.buildozer/android/platform/python-for-android/pythonforandroid/entrypoints.py", line 18, in main
  45. ToolchainCL()
  46. File "/home/dudeguy/app/.buildozer/android/platform/python-for-android/pythonforandroid/toolchain.py", line 668, in __init__
  47. getattr(self, args.subparser_name.replace('-', '_'))(args)
  48. File "/home/dudeguy/app/.buildozer/android/platform/python-for-android/pythonforandroid/toolchain.py", line 153, in wrapper_func
  49. build_dist_from_args(ctx, dist, args)
  50. File "/home/dudeguy/app/.buildozer/android/platform/python-for-android/pythonforandroid/toolchain.py", line 206, in build_dist_from_args
  51. args, "ignore_setup_py", False
  52. File "/home/dudeguy/app/.buildozer/android/platform/python-for-android/pythonforandroid/build.py", line 577, in build_recipes
  53. recipe.build_arch(arch)
  54. File "/home/dudeguy/app/.buildozer/android/platform/python-for-android/pythonforandroid/recipe.py", line 844, in build_arch
  55. self.install_python_package(arch)
  56. File "/home/dudeguy/app/.buildozer/android/platform/python-for-android/pythonforandroid/recipe.py", line 863, in install_python_package
  57. _env=hpenv, *self.setup_extra_args)
  58. File "/home/dudeguy/app/.buildozer/android/platform/python-for-android/pythonforandroid/logger.py", line 180, in shprint
  59. for line in output:
  60. File "/home/dudeguy/kivy_venv/lib/python3.7/site-packages/sh.py", line 863, in next
  61. self.wait()
  62. File "/home/dudeguy/kivy_venv/lib/python3.7/site-packages/sh.py", line 792, in wait
  63. self.handle_command_exit_code(exit_code)
  64. File "/home/dudeguy/kivy_venv/lib/python3.7/site-packages/sh.py", line 815, in handle_command_exit_code
  65. raise exc
  66. sh.ErrorReturnCode_1:
  67.  
  68. RAN: /home/dudeguy/app/.buildozer/android/platform/build/build/other_builds/hostpython3/desktop/hostpython3/native-build/python setup.py install -O2 --root=/home/dudeguy/app/.buildozer/android/platform/build/build/python-installs/linkaboard --install-lib=.
  69.  
  70. STDOUT:
  71. Traceback (most recent call last):
  72. File "setup.py", line 11, in <module>
  73. import setuptools
  74. File "/home/dudeguy/app/.buildozer/android/platform/build/build/other_builds/setuptools-python3/armeabi-v7a__ndk_target_21/setuptools/setuptools/__init__.py", line 20, in <module>
  75. from setuptools.dist import Distribution, Feature
  76. File "/home/dudeguy/app/.buildozer/android/platform/build/build/other_builds/setuptools-python3/armeabi-v7a__ndk_target_21/setuptools/setuptools/dist.py", line 36, in <module>
  77. from setuptools import windows_support
  78. File "/home/dudeguy/app/.buildozer/android/platform/build/build/other_builds/setuptools-python3/armeabi-v7a__ndk_target_21/setuptools/setuptools/windows_support.py", line 2, in <module>
  79. import ctypes
  80. File "/home/dudeguy/app/.buildozer/android/platform/build/build/other_builds/hostpython3/desktop/hostpython3/Lib/ctypes/__init__.py", line 7, in <module>
  81. from _ctypes import Union, Structure, Array
  82. ModuleNotFoundError: No module named '_ctypes'
  83.  
  84.  
  85. STDERR:
  86.  
  87. # Command failed: /home/dudeguy/kivy_venv/bin/python -m pythonforandroid.toolchain create --dist_name=linkaboard --bootstrap=sdl2 --requirements=python3,kivy --arch armeabi-v7a --copy-libs --color=always --storage-dir="/home/dudeguy/app/.buildozer/android/platform/build" --ndk-api=21
  88. #
  89. # Buildozer failed to execute the last command
  90. # The error might be hidden in the log above this error
  91. # Please read the full log, and search for it before
  92. # raising an issue with buildozer itself.
  93. # In case of a bug report, please add a full log with log_level = 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement