[Bug 1505670] Re: "uncaptured python exception"
Rolf Leggewie
1505670 at bugs.launchpad.net
Mon Sep 27 12:55:17 UTC 2021
Thank, Miriam, for having a look. I only became aware of your response
now by accident.
I'm not sure I understand what you did and what your results were. It
appears that you got the issue of an "uncaptured python exception" at
least once "when you removed squid-deb-proxy"? I really don't know what
you mean there. Then you list the output of /usr/share/squid-deb-proxy-
client/apt-avahi-discover twice, unchanged, but apparently get an IPv4
result once and an IPv6 result on the next, identical invocation.
The problem with squid-deb-proxy is easy to trigger. All it needs is
two or more responses to the avahi discovery in your LAN. See the
initial report where it shows three different IP numbers. These days, I
believe an IPv4 and IPv6 response from the same server is actually
enough.
Frankly, we don't need more bug triage here, it's all been laid out
forever, we've had a working patch for years. The patch is as far as I
can tell correct in that it is not simply a workaround. I assume you
haven't looked at the code. What needs to be done here is for @mvo to
finally comment on whether or not this is the correct way to fix it or
reject the patch (and come up with an alternative patch).
Truth be told, the state of this bug is disgusting and demotivating.
Ubuntu used to be about making Debian polished and usable. How come we
dropped the ball so badly on this awesome USP?
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python2.7 in Ubuntu.
https://bugs.launchpad.net/bugs/1505670
Title:
"uncaptured python exception"
Status in python2.7 package in Ubuntu:
New
Status in squid-deb-proxy package in Ubuntu:
Confirmed
Status in python2.7 source package in Bionic:
New
Status in squid-deb-proxy source package in Bionic:
New
Status in python2.7 source package in Focal:
New
Status in squid-deb-proxy source package in Focal:
New
Bug description:
I get the following error when running the discovery script on the
command line.
$ /usr/share/squid-deb-proxy-client/apt-avahi-discover
error: uncaptured python exception, closing channel <AptAvahiClient> ('10.1.2.3', 3142): 2147483647 (<class 'socket.error'>:[Errno 111] Connection refused [/usr/lib/python2.7/asyncore.py|read|83] [/usr/lib/python2.7/asyncore.py|handle_read_event|446] [/usr/lib/python2.7/asyncore.py|handle_connect_event|454])
error: uncaptured python exception, closing channel <AptAvahiClient> ('10.0.3.1', 3142): 2147483647 (<class 'socket.error'>:[Errno 111] Connection refused [/usr/lib/python2.7/asyncore.py|read|83] [/usr/lib/python2.7/asyncore.py|handle_read_event|446] [/usr/lib/python2.7/asyncore.py|handle_connect_event|454])
error: uncaptured python exception, closing channel <AptAvahiClient> ('172.24.74.129', 3142): 2147483647 (<class 'socket.error'>:[Errno 111] Connection refused [/usr/lib/python2.7/asyncore.py|read|83] [/usr/lib/python2.7/asyncore.py|handle_read_event|446] [/usr/lib/python2.7/asyncore.py|handle_connect_event|454])
http://172.24.74.145:3142/
The last line still returns the proper proxy URI so as far as I can
tell things are still working. The IP 10.1.2.3 is for an n2n VPN.
This is on trusty with version 0.8.6ubuntu1.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python2.7/+bug/1505670/+subscriptions
More information about the foundations-bugs
mailing list