On 12/14/2009 03:44 PM, Andy Speagle wrote:
On Mon, 2009-12-14 at 14:23 -0600, Andy Speagle wrote:Hi all...I recently upgraded to v0.7 of Spacewalk, and I'm now having a bit of trouble communicating with Spacewalk via "up2date" on my Solaris hosts. Everything seems to work EXCEPT updating of the package profile, which errors out. Here's the actual error I'm receiving...Attached is a rather verbose traceback regarding this error.
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/server/handlers/xmlrpc/registration.py", line
959, in update_packages
server.add_package(package)
File "/usr/share/rhn/server/rhnServer/server_wrapper.py", line 60, in
add_package
SolarisPatches.add_patch(self, self.server.get("id"), entry)
File "/usr/share/rhn/server/rhnServer/server_solarispatches.py", line
89, in add_patch
self._patches[sysid].append(DBPatch(patch))
File "/usr/share/rhn/server/rhnServer/server_solarispatches.py", line
55, in __init__
self.id = get_package_id(patch)
File "/usr/share/rhn/server/rhnServer/server_solarispatches.py", line
30, in get_package_id
p = dbPackage(entry)
NameError: global name 'entry' is not defined
Specifically:
/usr/share/rhn/server/rhnServer/server_solarispatches.py, line 30
By chance, if you open
/usr/share/rhn/server/rhnServer/server_solarispatches.py and change line
30 to:
p = dbPackage(pkg)
does it work?
Josh
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ Spacewalk-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/spacewalk-list
