Skip to content

Fix UnicodeDecodeError on build.py #180

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

Merged
merged 1 commit into from
Dec 8, 2013
Merged

Fix UnicodeDecodeError on build.py #180

merged 1 commit into from
Dec 8, 2013

Conversation

satels
Copy link
Contributor

@satels satels commented Dec 3, 2013

Fix this:

./build.py --dir "$build_dir" --name "Интеграл по-шагам" --package "org.myapp.$service" --version "1.0.0" --orientation "portrait" --icon "$build_dir/media/$service.png" debug installd

Traceback (most recent call last):
File "./build.py", line 408, in
make_package(args)
File "./build.py", line 272, in make_package
versioned_name=versioned_name)
File "./build.py", line 67, in render
text = template.render(**kwargs)
File "buildlib/jinja2.egg/jinja2/environment.py", line 868, in render
return self.environment.handle_exception(exc_info, True)
File "./templates/build.xml", line 2, in top-level template code

UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 0: ordinal not in range(128)

and

Traceback (most recent call last):
File "./build.py", line 408, in
make_package(args)
File "./build.py", line 280, in make_package
args=args)
File "./build.py", line 67, in render
text = template.render(**kwargs)
File "buildlib/jinja2.egg/jinja2/environment.py", line 868, in render
return self.environment.handle_exception(exc_info, True)
File "./templates/strings.xml", line 4, in top-level template code
{{args.icon_name}}
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 0: ordinal not in range(128)

tito added a commit that referenced this pull request Dec 8, 2013
Fix UnicodeDecodeError on build.py
@tito tito merged commit 6fcce61 into kivy:master Dec 8, 2013
@tito
Copy link
Member

tito commented Dec 8, 2013

Thanks!

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

Successfully merging this pull request may close these issues.

2 participants