Bug 63729

Summary: TypeError: cannot marshal <type 'None'> objects
Product: [Retired] Red Hat Linux Reporter: tony cook <tonycook>
Component: up2dateAssignee: Adrian Likins <alikins>
Status: CLOSED WORKSFORME QA Contact: Jay Turner <jturner>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.2CC: gafton, mihai.ibanescu, srevivo
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-04-24 21:58:09 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description tony cook 2002-04-17 23:28:56 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.79 [en] (X11; U; Linux 2.4.9-31 i686)

Description of problem:
Update Agent 2.7.2 - crashes during - "Updating package profile..."

Version-Release number of selected component (if applicable): 2.7.2


How reproducible:
Always

Steps to Reproduce:
1.up2date <cr>
2.
3.
	

Actual Results:  Python error - TypeError: cannot marshal

Additional info:

[root@Athol tony]# up2date -p
Updating package profile...
Traceback (innermost last):
  File "/usr/sbin/up2date", line 996, in ?
    main()
  File "/usr/sbin/up2date", line 238, in main
    up2date.updatePackageProfile()
  File "/usr/share/rhn/up2date_client/up2date.py", line 1047, in
updatePackageProfile
    getInstalledPackageList())
  File "/usr/share/rhn/up2date_client/up2date.py", line 287, in doCall
    ret = apply(method, args, kwargs)
  File "/usr/lib/python1.5/site-packages/xmlrpclib.py", line 689, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib/python1.5/site-packages/xmlrpclib.py", line 731, in __request
    request = dumps(params, methodname)
  File "/usr/lib/python1.5/site-packages/xmlrpclib.py", line 505, in dumps
    data = m.dumps(params)
  File "/usr/lib/python1.5/site-packages/xmlrpclib.py", line 264, in dumps
    self.__dump(v)
  File "/usr/lib/python1.5/site-packages/xmlrpclib.py", line 275, in __dump
    raise TypeError, "cannot marshal %s objects" % type(value)
TypeError: cannot marshal <type 'None'> objects

Comment 1 Adrian Likins 2002-04-24 21:58:02 UTC
I belive any bugs related to this should be fixed with an
update to the latest up2date.

up2date up2date

to upgrade