[Spacewalk-list] server error while pushing .debs

Razvan Cosma rg at cosma.name
Mon Sep 12 12:10:56 UTC 2011


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

2011/9/12 Miroslav Suchý <msuchy at redhat.com>

> On 09/07/2011 10:50 AM, Razvan Cosma wrote:
> > File
> > "/usr/lib/python2.6/site-packages/spacewalk/server/rhnPackageUpload.py",
> > line 292, in load_package
> >     raise rhnFault(50, "Unable to load package", explain=0), None,
> > sys.exc_info()[2]
> > NameError: global name 'sys' is not defined
>
> This is error in exception.
> Apply:
>
> https://fedorahosted.org/spacewalk/changeset/0f1e53848452a64b7ca63cde4e5ede37aae327da
> and run again, this time you should get another error called:
>  Unable to load package
> but this time we should get some interesting message which say more.
>
> --
> Miroslav Suchy
> Red Hat Satellite Engineering
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20110912/430f833c/attachment.htm>


More information about the Spacewalk-list mailing list