[Reportbug-maint] Bug#717563: re: reportbug: web access thru proxy not available

Marcelo Lacerda marceloslacerda at gmail.com
Wed Jul 19 13:46:50 UTC 2017


I think I found where the bug is:

https://github.com/ProgVal/reportbug/blob/19fb757df622419f39360627060c9bd0304e0e25/reportbug/debbugs.py#L1209
reportbugs calls debianbts without setting an http_proxy variable to it.

A way to fix this would be by setting up the proxy before each call to the
debianbts library like so:

    debianbts._soap_client_kwargs['proxy'] = http_proxy

I tried fixing it myself but then I ran into a problem of "proxy is not
supported with urllib2 transport", thrown by pysimplesoap.
Somehow I need to change the requests provider of it so it can take proxy.

This probably request the help of the maintainer of debianbts.

On Wed, 1 Mar 2017 15:50:09 -0300 (UYT) =?utf-8?B?SXbDoW4=?= Baldo <
ibaldo at adinet.com.uy> wrote:
> Still happens with 7.1.4:
>
> $ LANG=C.UTF-8 reportbug sane-utils
> Unable to init server: Could not connect: Connection refused
> Unable to init server: Could not connect: Connection refused
> *** Welcome to reportbug. Use ? for help at prompts. ***
> Note: bug reports are publicly archived (including the email address of
the submitter).
> Detected character set: UTF-8
> Please change your locale if this is incorrect.
>
> Using 'Ivan Baldo <ibaldo at adinet.com.uy>' as your from address.
> Getting status for sane-utils...
> Verifying package integrity...
> Checking for newer versions at madison, incoming.debian.org and
http://ftp-master.debian.org/new.html
>
> Your version (1.0.25-3) of sane-utils appears to be out of date.
> The following newer release(s) are available in the Debian archive:
> experimental: 1.0.26~git20151121-1
> Do you still want to file a report [y|N|q|?]? y
> Will send report to Debian (per lsb_release).
> Querying Debian BTS for reports on sane-backends (source)...
> Unable to connect to Debian BTS (error: "OSError(101, 'Network is
unreachable')"); continue [y|N|?]? n
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/reportbug-maint/attachments/20170719/5ac0fa7a/attachment.html>


More information about the Reportbug-maint mailing list