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

py2pack fails with Radicale #2

Closed
darix opened this issue Apr 21, 2011 · 2 comments
Closed

py2pack fails with Radicale #2

darix opened this issue Apr 21, 2011 · 2 comments
Assignees

Comments

@darix
Copy link
Member

darix commented Apr 21, 2011

py2pack generate -t opensuse.spec Radicale
generating spec file for Radicale...
Traceback (most recent call last):
File "/usr/bin/py2pack", line 2, in
from py2pack import main; main()
File "/usr/lib/python2.7/site-packages/py2pack/py2pack.py", line 132, in main
args.func(args)
File "/usr/lib/python2.7/site-packages/py2pack/py2pack.py", line 76, in generate
outfile.write(result)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xa0' in position 1856: ordinal not in range(128)

python 2.7 on openSUSE 11.4

@darix
Copy link
Member Author

darix commented Apr 21, 2011

as a side issue: it shouldnt create an empty spec file when it fails to write the content.

@saschpe
Copy link
Member

saschpe commented May 18, 2011

Fixed with commit fa8abf8.

@saschpe saschpe closed this as completed May 18, 2011
@ghost ghost assigned saschpe Jun 1, 2011
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