[Spacewalk-list] server error while pushing .debs
Simon Lukasik
slukasik at redhat.com
Mon Sep 26 14:46:00 UTC 2011
On 09/12/2011 02:10 PM, Razvan Cosma wrote:
> After adding "import sys",
> On the Ubuntu client:
> Internal server error 500 Internal Server Error
> Error pushing
> /mirror/UB10x64/pool/main/a/akonadi/akonadi-dbg_1.3.1-0ubuntu3_amd64.deb: Error
> Message:
> Unable to load package
> Error Class Code: 50
> On the Spacewalk server:
> File "/usr/lib64/python2.6/StringIO.py", line 270, in getvalue
> self.buf += ''.join(self.buflist)
> UnicodeDecodeError: 'ascii' codec can't decode byte 0xfc in position
> 696: ordinal not in range(128)
>
> So the error is not random, it's just that the .deb metadata has an
> ümlaut in changelog.gz
>
Hello Razvan,
Unfortunately, I cannot reproduce this exact issue on my setup. Which OS
are you using?
Nevertheless, on my PostgreSQL Spacewalk nightly on RHEL6, akonadi
package (from [1]) fails to upload as well. The cause is that akonadi
package is archived with lzma compression.
# strings akonadi-dbg_1.3.1-0ubuntu3_amd64.deb | grep data
data.tar.lzma 1271183373 0 0 100644 3199804
While the python-debian-0.1.16-4.el6.noarch from @epel does support only
gz and bz2 compressions.
The minimal reproducer was:
from debian.debfile import DebFile
x = DebFile("akonadi-dbg_1.3.1-0ubuntu3_amd64.deb")
--
Simon Lukasik Systems Management QA
slukasik at redhat.com #satellite-qa
[1]
http://64.12.96.232/pool/main/a/akonadi/akonadi-dbg_1.3.1-0ubuntu3_amd64.deb
More information about the Spacewalk-list
mailing list