[Bug 1505670] Re: "uncaptured python exception"

2015-10-17 Thread cell
So, I went ahead and made a different version of the patch which sends asyncore's logging output to syslog, instead of stderr. This keep's apt-get's output clean. I think this is the patch I'd prefer. However, I should probably also bark up the tree of asyncore.py and ask why they are calling 'p

[Bug 1505670] Re: "uncaptured python exception"

2015-10-17 Thread cell
(oops, the previous patch had some garbage at the top. re-attaching the patch here). ** Patch removed: "Minimal patch to work-around this bug." https://bugs.launchpad.net/ubuntu/+source/squid-deb-proxy/+bug/1505670/+attachment/4498637/+files/apt-avahi-discover.patch ** Patch added: "Minimal

[Bug 1505670] Re: "uncaptured python exception"

2015-10-17 Thread cell
I just ran into this bug, and I think I've figured it out. /usr/share/squid-deb-proxy-client/apt-avahi-discover is outputting the URL of my squid-deb-proxy server, but it is also spitting out some errors: root@debian:~# /usr/share/squid-deb-proxy-client/apt-avahi-discover error: uncaptured pytho