Skip to content
New issue

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

error in p4a #1499

Closed
USER4247 opened this issue Aug 25, 2022 · 2 comments
Closed

error in p4a #1499

USER4247 opened this issue Aug 25, 2022 · 2 comments

Comments

@USER4247
Copy link

I had been using buildozer in ubuntu vm , but I ran into this issue . This has never happened before

Install platform

Run ['git', 'config', '--get', 'remote.origin.url']

Cwd /home/xero/camera/.buildozer/android/platform/python-for-android

https://github.com/kivy/python-for-android.git

Run ['git', 'branch', '-vv']

Cwd /home/xero/camera/.buildozer/android/platform/python-for-android

Traceback (most recent call last):
File "/usr/local/bin/buildozer", line 33, in
sys.exit(load_entry_point('buildozer==1.4.1.dev0', 'console_scripts', 'buildozer')())
File "/usr/local/lib/python3.10/dist-packages/buildozer-1.4.1.dev0-py3.10.egg/buildozer/scripts/client.py", line 13, in main
Buildozer().run_command(sys.argv[1:])
File "/usr/local/lib/python3.10/dist-packages/buildozer-1.4.1.dev0-py3.10.egg/buildozer/init.py", line 1024, in run_command
self.target.run_commands(args)
File "/usr/local/lib/python3.10/dist-packages/buildozer-1.4.1.dev0-py3.10.egg/buildozer/target.py", line 93, in run_commands
func(args)
File "/usr/local/lib/python3.10/dist-packages/buildozer-1.4.1.dev0-py3.10.egg/buildozer/target.py", line 103, in cmd_debug
self.buildozer.prepare_for_build()
File "/usr/local/lib/python3.10/dist-packages/buildozer-1.4.1.dev0-py3.10.egg/buildozer/init.py", line 172, in prepare_for_build
self.target.install_platform()
File "/usr/local/lib/python3.10/dist-packages/buildozer-1.4.1.dev0-py3.10.egg/buildozer/targets/android.py", line 692, in install_platform
self._install_p4a()
File "/usr/local/lib/python3.10/dist-packages/buildozer-1.4.1.dev0-py3.10.egg/buildozer/targets/android.py", line 751, in _install_p4a
)[0].split()[1]
AttributeError: 'NoneType' object has no attribute 'split'

@misl6
Copy link
Member

misl6 commented Aug 25, 2022

Can you please send the output of the following steps?

cd  /home/xero/camera/.buildozer/android/platform/python-for-android
git branch -vv

@Julian-O
Copy link
Contributor

No reply for 12 months. Closing as Can't Repro

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants