tvo/rapid — Issue #36: UnicodeDecodeError: 'ascii' while upgrading
Author: burp
Created: 2012-01-21 13:20:53+00:00
State: open

Hi,

I get the following traceback when trying to upgrade (since I wanted to upgrade to zk 0.9.9 today). I'm not sure if it's a bitarray or rapid problem:

% rapid upgrade
Using data directory: /home/paladin/.spring
Installing: Zero-K v0.9.9
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/cx_Freeze/initscripts/Console.py", line 27, in
exec code in m.__dict__
File "bin/rapid", line 7, in
@
File "/home/paladin/aur/rapid-spring-git/src/rapid-build/rapid/ui/text/main.py", line 159, in main
upgrade()
File "/home/paladin/aur/rapid-spring-git/src/rapid-build/rapid/main.py", line 144, in upgrade
install_single(rapid.packages[tag])
File "/home/paladin/aur/rapid-spring-git/src/rapid-build/rapid/main.py", line 68, in install_single
p.install(ProgressBar())
File "/home/paladin/aur/rapid-spring-git/src/rapid-build/rapid/rapid.py", line 539, in install
self.download_files(self.missing_files, progress)
File "/home/paladin/aur/rapid-spring-git/src/rapid-build/rapid/rapid.py", line 489, in download_files
postdata = gzip_string(bits.tostring())
File "/usr/lib/python2.7/site-packages/bitarray/__init__.py", line 91, in tostring
return self.tobytes().decode()
UnicodeDecodeError: 'ascii' codec can't decode byte 0xff in position 0: ordinal not in range(128)