Bug 68437
Summary: | up2date crashes when proxy support is activated. | ||
---|---|---|---|
Product: | [Retired] Red Hat Public Beta | Reporter: | ntk |
Component: | up2date | Assignee: | Adrian Likins <alikins> |
Status: | CLOSED RAWHIDE | QA Contact: | Jay Turner <jturner> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | limbo | CC: | aleksey, gafton, leenookx, m.a.young, mihai.ibanescu, srevivo |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2002-07-25 14:35:43 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: | |||
Bug Depends On: | |||
Bug Blocks: | 67217 |
Description
ntk
2002-07-10 08:23:56 UTC
Fixed in up2date-2.9.13-7.x.9 Are you sure you typed the version right? As far as I undrestand, up2date-2.9.13-7.x.9 is what already in Limbo (and has this problem). You're right, I'm wrong. up2date-2.9.15-7.x.9, we'll see look at making it public. *** Bug 69526 has been marked as a duplicate of this bug. *** With rhnlib-0.8-8 up2date-2.9.17-7.x.9 up2date-gnome-2.9.17-7.x.9 I get the following error when I try to run any up2date command with proxies turned on (including up2date-config so I can't turn proxies off again) Traceback (most recent call last): File "/usr/sbin/up2date-nox", line 17, in ? from up2date_client import rpcServer File "/usr/share/rhn/up2date_client/rpcServer.py", line 7, in ? import up2dateAuth File "/usr/share/rhn/up2date_client/up2dateAuth.py", line 4, in ? import rpmSource File "/usr/share/rhn/up2date_client/rpmSource.py", line 113, in ? psc = PackageSourceConfig() File "/usr/share/rhn/up2date_client/rpmSource.py", line 83, in __init__ self.serverSettings = ServerSettings() File "/usr/share/rhn/up2date_client/rpmSource.py", line 62, in __init__ if cfg.readEntry("enableProxy") and rpcServer.getProxySetting(): AttributeError: 'module' object has no attribute 'getProxySetting' I get the same error with up2date*2.9.20-7.x.9 and rhnlib-0.8-9 . hmm. boggle. Seems to work fine for me, and code looks fine at first glance. *ponder...* rpcServer is imported. rpcServer.py definately has a get getProxySetting Must be a scope issue with rpcServer blah,blah,blah, which import rpcServer again Why it seems to work fine for me I have no idea, investigating... duh, it helps if I enableProxy to even get to this code path... duplicated it, investigating okay, think I have a fix for this. I moved getProxySettings to somewhere slightly more general, so I dont get recursive imports should be in 2.9.22 or higher *** Bug 69337 has been marked as a duplicate of this bug. *** I can now update named packages with up2date-2.9.27-7.x.9. (I get Not Found if I try up2date -l but I guess that is a missing file on the server). M.A.Young, can you please file another bug with the Not Found error please? Misa: Not Found error submitted as bug 69791 Fix confirmed with up2date-2.9.46-1. |