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

TypeError: 'encoding' is an invalid keyword argument for this function #106

Closed
guruyaya opened this issue Apr 20, 2014 · 1 comment
Closed

Comments

@guruyaya
Copy link

I'm trying to build an android app from my kivy code (pretty standart, no extra libs beside kivy), on a elementry-os luna machine, using latest buildozer installed from github.
I keep getting this error:

Check application requirements

Run './distribute.sh -l'

Cwd /home/guruyaya/rememberthekivy/.buildozer/android/platform/python-for-android

Available modules: android audiostream c_igraph cymunk django docutils ffmpeg gevent greenlet hostpython igraph jpeg kivent kivy libevent libxml2 libxslt lxml msgpack mysql_connector numpy openssl paramiko pil plyer png pyasn1 pycrypto pygame pyjnius pylibpd pyopenssl pyparsing pyqrcode python sdl setuptools sqlalchemy sqlite3 twisted txws wokkel zope

Application requirements already installed, pass

Traceback (most recent call last):
File "/usr/local/bin/buildozer", line 9, in
load_entry_point('buildozer==0.12-dev', 'console_scripts', 'buildozer')()
File "/usr/local/lib/python2.7/dist-packages/buildozer-0.12_dev-py2.7.egg/buildozer/scripts/client.py", line 13, in main
Buildozer().run_command(sys.argv[1:])
File "/usr/local/lib/python2.7/dist-packages/buildozer-0.12_dev-py2.7.egg/buildozer/init.py", line 940, in run_command
self.target.run_commands(args)
File "/usr/local/lib/python2.7/dist-packages/buildozer-0.12_dev-py2.7.egg/buildozer/target.py", line 85, in run_commands
func(args)
File "/usr/local/lib/python2.7/dist-packages/buildozer-0.12_dev-py2.7.egg/buildozer/target.py", line 95, in cmd_debug
self.buildozer.prepare_for_build()
File "/usr/local/lib/python2.7/dist-packages/buildozer-0.12_dev-py2.7.egg/buildozer/init.py", line 163, in prepare_for_build
self.check_garden_requirements()
File "/usr/local/lib/python2.7/dist-packages/buildozer-0.12_dev-py2.7.egg/buildozer/init.py", line 470, in check_garden_requirements
self.state['cache.gardenlibs'] = garden_requirements
File "/usr/local/lib/python2.7/dist-packages/buildozer-0.12_dev-py2.7.egg/buildozer/jsonstore.py", line 31, in setitem
self.sync()
File "/usr/local/lib/python2.7/dist-packages/buildozer-0.12_dev-py2.7.egg/buildozer/jsonstore.py", line 47, in sync
with open(self.filename, 'w', encoding='utf-8') as fd:
TypeError: 'encoding' is an invalid keyword argument for this function

Anyone?

@tito
Copy link
Member

tito commented Jun 2, 2014

This is already fixed, please update your buildozer :)

@tito tito closed this as completed Jun 2, 2014
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

2 participants