[Bug 298378] New: osc fails when $https_proxy is set
https://bugzilla.novell.com/show_bug.cgi?id=298378 Summary: osc fails when $https_proxy is set Product: openSUSE.org Version: unspecified Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: BuildService AssignedTo: poeml@novell.com ReportedBy: adrian@novell.com QAContact: adrian@novell.com CC: werner@novell.com Found By: --- osc failed with a python trace (no nice error output) when the $https_proxy variable is set. unsetting it solved the problem for werner. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=298378#c1
Peter Poeml
https://bugzilla.novell.com/show_bug.cgi?id=298378#c2
Peter Poeml
https://bugzilla.novell.com/show_bug.cgi?id=298378#c3
--- Comment #3 from Peter Poeml
https://bugzilla.novell.com/show_bug.cgi?id=298378#c4
--- Comment #4 from Jan Matejek
I could add a workaround anyway, which always ignores https_proxy, since it doesn't work anyway, respectively isn't used. So, the error could be avoided on installations older than 10.3, and the warning message avoided on 10.3 and newer since the user has no use in the warning anyway (only the programmer would have).
actually, i think the warning is there for the user; suppose that somebody can't reach buildservice without a proxy, the warning tells him "sorry, that will not work", while the workaround will fail silently just my 2c -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=298378#c5
--- Comment #5 from Peter Poeml
https://bugzilla.novell.com/show_bug.cgi?id=298378#c6
--- Comment #6 from Jan Matejek
https://bugzilla.novell.com/show_bug.cgi?id=298378#c7
Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=298378#c8
Peter Poeml
https://bugzilla.novell.com/show_bug.cgi?id=298378
User froh@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=298378#c9
Susanne Oberhauser
https://bugzilla.novell.com/show_bug.cgi?id=298378
User poeml@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=298378#c10
Peter Poeml
https://bugzilla.novell.com/show_bug.cgi?id=298378
User martin.wilck@fujitsu-siemens.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=298378#c11
--- Comment #11 from Martin Wilck
Here's a report of somebody who went fully through it, and thus worked around the issue for osc with success:
Sorry, ssh tunnel doesn't work here, either.
According to http://bugs.python.org/issue?%40search_text=https+urllib2+proxy&title=&%40columns=title&id=&%40columns=id&creation=&creator=&activity=&%40columns=activity&%40sort=activity&actor=&nosy=&type=&components=&versions=&severity=&dependencies=&assignee=&keywords=&priority=&%40group=priority&status=1&%40columns=status&resolution=&%40pagesize=50&%40startwith=0&%40action=search which Susanne dug out, it doesn't look as if there's enough interest in a fix for anyone to work on it, or rather it seems to be pretty difficult to cook something up which is "good enough" for inclusion by upstream.
Hard for me to grasp that such an important funtionality is simply dismissed as a wishlist feature request. perhaps the "recipe" of http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/456195 (referenced in http://bugs.python.org/issue1424152) might work? Could that be intergrated somehow? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=298378
User martin.wilck@fujitsu-siemens.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=298378#c12
--- Comment #12 from Martin Wilck
perhaps the "recipe" of http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/456195 (referenced in http://bugs.python.org/issue1424152) might work? Could that be intergrated somehow?
Just tried - it doesn't work with python 2.5.1. Supposed to work with 2.4, though. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=298378
User martin.wilck@fujitsu-siemens.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=298378#c13
--- Comment #13 from Martin Wilck
https://bugzilla.novell.com/show_bug.cgi?id=298378
User poeml@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=298378#c16
Peter Poeml
https://bugzilla.novell.com/show_bug.cgi?id=298378
User martin.wilck@fujitsu-siemens.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=298378#c17
Martin Wilck
How do you currently deal with the situation?
I don't use the build service :-/ -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=298378
User poeml@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=298378#c18
--- Comment #18 from Peter Poeml
https://bugzilla.novell.com/show_bug.cgi?id=298378
User martin.wilck@fujitsu-siemens.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=298378#c19
--- Comment #19 from Martin Wilck
https://bugzilla.novell.com/show_bug.cgi?id=298378
User mmarek@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=298378#c20
--- Comment #20 from Michal Marek
libcurl might actually be an option. But so far I wanted to avoid it, because it is quite low-level and different to use. And it would be an added dependency.
AFAIR the pycurl binding requires the newest libcurl version, so it would require users to install pycurl and update libcurl. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=298378
User poeml@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=298378#c21
Peter Poeml
https://bugzilla.novell.com/show_bug.cgi?id=298378
User poeml@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=298378#c22
--- Comment #22 from Peter Poeml
https://bugzilla.novell.com/show_bug.cgi?id=298378
User jmatejek@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=298378#c23
--- Comment #23 from Jan Matejek
https://bugzilla.novell.com/show_bug.cgi?id=298378
User poeml@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=298378#c24
--- Comment #24 from Peter Poeml
https://bugzilla.novell.com/show_bug.cgi?id=298378
Peter Poeml
participants (1)
-
bugzilla_noreply@novell.com