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

Py3: 'Buildozer' object has no attribute 'critical' #297

Closed
udiboy1209 opened this issue Feb 26, 2016 · 4 comments
Closed

Py3: 'Buildozer' object has no attribute 'critical' #297

udiboy1209 opened this issue Feb 26, 2016 · 4 comments
Labels

Comments

@udiboy1209
Copy link
Contributor

udiboy1209 commented Feb 26, 2016

I built and installed buildozer in a venv successfully with python3. But when I run buildozer android debug I get this error

Traceback (most recent call last):
  File "/home/udiboy/.apps/virtualenv/kivy3/bin/buildozer", line 9, in <module>
    load_entry_point('buildozer==0.32.dev0', 'console_scripts', 'buildozer')()
  File "/home/udiboy/.apps/virtualenv/kivy3/lib/python3.4/site-packages/buildozer-0.32.dev0-py3.4.egg/buildozer/scripts/client.py", line 13, in main
    Buildozer().run_command(sys.argv[1:])
  File "/home/udiboy/.apps/virtualenv/kivy3/lib/python3.4/site-packages/buildozer-0.32.dev0-py3.4.egg/buildozer/__init__.py", line 986, in run_command
    self.target.run_commands(args)
  File "/home/udiboy/.apps/virtualenv/kivy3/lib/python3.4/site-packages/buildozer-0.32.dev0-py3.4.egg/buildozer/target.py", line 85, in run_commands
    func(args)
  File "/home/udiboy/.apps/virtualenv/kivy3/lib/python3.4/site-packages/buildozer-0.32.dev0-py3.4.egg/buildozer/target.py", line 95, in cmd_debug
    self.buildozer.prepare_for_build()
  File "/home/udiboy/.apps/virtualenv/kivy3/lib/python3.4/site-packages/buildozer-0.32.dev0-py3.4.egg/buildozer/__init__.py", line 162, in prepare_for_build
    self.target.install_platform()
  File "/home/udiboy/.apps/virtualenv/kivy3/lib/python3.4/site-packages/buildozer-0.32.dev0-py3.4.egg/buildozer/targets/android.py", line 472, in install_platform
    self.buildozer.critical(
AttributeError: 'Buildozer' object has no attribute 'critical'
@dessant dessant added the py3 label Feb 26, 2016
@pythonic64
Copy link
Contributor

I have the same issue with Python2. I have installed buildozer from master branch.

buildozer.spec: http://pastebin.com/EDy6NJR7
main.py: http://pastebin.com/KSvkg6pz

Buildozer version 0.31 doesn't have this issue.
Also, I'm using old_toolchain to build apk.

@udiboy1209
Copy link
Contributor Author

I can confirm that. This isn't just a Py3 issue.

@pythonic64
Copy link
Contributor

Pull request for this issue #288.

@kived
Copy link
Contributor

kived commented May 8, 2016

PR #288 has been merged, so I'm closing this.

@kived kived closed this as completed May 8, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants