| Summary: | rhnpush Python problem on RHEL5: 'tuple' object has no attribute 'args' | |||
|---|---|---|---|---|
| Product: | [Community] Spacewalk | Reporter: | Lukáš Hellebrandt <lhellebr> | |
| Component: | Clients | Assignee: | Gennadii Altukhov <galtukho> | |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Lukáš Hellebrandt <lhellebr> | |
| Severity: | unspecified | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 2.5 | CC: | eherget, galtukho | |
| Target Milestone: | --- | |||
| Target Release: | --- | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1395895 (view as bug list) | Environment: | ||
| Last Closed: | 2017-09-27 19:25:19 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Bug Depends On: | ||||
| Bug Blocks: | 1395895, 1484117 | |||
spacewalk.git: a20233da9415b28f8d4466ac93d6829873f3a6cb Verified on RHEL5 with 2016-11-09 SW nightly. Also verified the fix did not break things on RHEL6 with the same day SW nightly. This looks like it was fixed in previous release, but I'm closing it in this one. Spacewalk 2.7 has been released. https://github.com/spacewalkproject/spacewalk/wiki/ReleaseNotes27 |
Description of problem: On RHEL5 (Python 2.4), rhnpush fails with "ERROR: unhandled exception occurred: ('tuple' object has no attribute 'args')." The problem is in line 757 of /usr/share/rhn/rhnpush/uploadLib.py file - the getargspec function returns a tuple in Python 2.4 rather than namedtuple. How reproducible: Deterministic Steps to Reproduce: rhnpush <rpm> -c <channel> -u <user> -p <pass> --nosig --server=<server> Actual results: ERROR: unhandled exception occurred: ('tuple' object has no attribute 'args'). Expected results: Package successfully pushed