Bug 509516 - 500 error while downloading packages
Summary: 500 error while downloading packages
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Spacewalk
Classification: Community
Component: Server
Version: 0.6
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Miroslav Suchý
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: space06
TreeView+ depends on / blocked
 
Reported: 2009-07-03 08:49 UTC by Miroslav Suchý
Modified: 2009-09-10 12:00 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-09-10 12:00:57 UTC
Embargoed:


Attachments (Terms of Use)
Patch (1.21 KB, patch)
2009-07-03 08:50 UTC, Miroslav Suchý
no flags Details | Diff

Description Miroslav Suchý 2009-07-03 08:49:36 UTC
Description of problem:
[root@eepc-cnm-bgddy ~]# rpm -q yum-rhn-plugin yum-rhn-plugin-0.5.4-1.el5 [root@eepc-cnm-bgddy ~]# yum install -y osad ...

Error Downloading Packages:

    jabberpy-0.5-0.17.el5.noarch: failed to retrieve getPackage/jabberpy-0.5-0.17.el5.noarch.rpm from centos-53-x86_64-spacewalk

error was [Errno 14] HTTP Error 500: Internal Server Error

    osad-5.9.10-1.el5.noarch: failed to retrieve getPackage/osad-5.9.10-1.el5.noarch.rpm from centos-53-x86_64-spacewalk

error was [Errno 14] HTTP Error 500: Internal Server Error

==

RHN TRACEBACK

Exception reported from gyne.bath.ac.uk Time: Thu Jul 2 16:02:40 2009 Exception type exceptions.AttributeError? Exception while handling function getPackage Request object information: URI: /XMLRPC/GET-REQ/centos-53-x86_64-spacewalk/getPackage/jabberpy-0.5-0.17.el5.noarch.rpm Remote Host: 138.38.65.91 Server Name: rhn.bath.ac.uk:0 Headers passed in:

    Accept-Encoding: identity Connection: close Host: rhn.bath.ac.uk User-agent: rhn.rpclib.py/$Revision$ X-rhn-auth: mTp659vGACJS9R18bJAcTw== X-rhn-auth-expire-offset: 3600.0 X-rhn-auth-server-time: 1246544207.1 X-rhn-auth-user-id: X-rhn-server-id: 1000010020

Exception Handler Information Traceback (most recent call last):

    File "/usr/share/rhn/server/apacheRequest.py", line 120, in call_function

        response = apply(func, params)

    File "/usr/share/rhn/common/rhnRepository.py", line 104, in getPackage

        transport_cap_list = transport_cap.split('=')

AttributeError?: 'NoneType?' object has no attribute 'split'

Comment 1 Miroslav Suchý 2009-07-03 08:50:52 UTC
Created attachment 350397 [details]
Patch

Comment 2 Miroslav Suchý 2009-07-03 09:08:31 UTC
Commited as f04c0d4bf19fcfcbc9e691fc7ad8be37a26805ca.
fixed in spacewalk-backend-0.6.16-1

Comment 3 Miroslav Suchý 2009-09-10 12:00:57 UTC
Spacewalk 0.6 released.


Note You need to log in before you can comment on or make changes to this bug.