Your message dated Sun, 03 Jan 2016 16:37:05 +0000
with message-id <[email protected]>
and subject line Bug#801136: fixed in mpd-sima 0.14.1-1
has caused the Debian Bug report #801136,
regarding mpd-sima: Troublesome with proxies
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
801136: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=801136
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: mpd-sima
Version: 0.13.1-1
Severity: normal
Behind a proxy, I've found it very difficult to get mpd-sima to use it
for last.fm access. python-requests documentation at
http://docs.python-requests.org/en/latest/ says it should pay
attention to the HTTP_PROXY and HTTPS_PROXY environment variables. I
created /etc/systemd/system/mpd-sima.service.d/override.conf
with
[Service]
Environment="HTTP_PROXY=http://proxy.company.com:80"
Environment="HTTPS_PROXY=http://proxy.company.com:80"
and restarted mpd-sima. In /proc/<pid>/environ I can see both
environment variables, but from both strace and mpd-sima's log I can
see that it's failing to connect to last.fm. I was able to get it to
work by hacking fetch_ws in http.py and manually specifying proxies:
@Throttle(WAIT_BETWEEN_REQUESTS)
def fetch_ws(self, prepreq):
proxies = {
"http" : "http://proxy.company.com:80",
"https" : "http://proxy.company.com:80"
}
"""fetch from web service"""
sess = Session()
sess.proxies = proxies
resp = sess.send(prepreq, timeout=SOCKET_TIMEOUT)
...
but that's obviously not the right way to do it. Not being a python
hacker I'm not sure how to tell why the envrironment variables aren't
working, but it seems like having some better way of configuring
proxies might be desirable anyhow.
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.1.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages mpd-sima depends on:
ii adduser 3.113+nmu3
ii init-system-helpers 1.23
ii lsb-base 9.20150917
ii python3 3.4.3-6
ii python3-musicpd 0.4.1-1
ii python3-requests 2.7.0-3
pn python3:any <none>
mpd-sima recommends no packages.
Versions of packages mpd-sima suggests:
ii mpd 0.19.10-1+b3
-- Configuration Files:
/etc/default/mpd-sima changed:
START_MPD_SIMA=true
HTTP_PROXY=http://www-proxy.us.oracle.com:80
HTTPS_PROXY=http://www-proxy.us.oracle.com:80
export HTTP_PROXY HTTPS_PROXY
/etc/mpd-sima.cfg [Errno 13] Permission denied: u'/etc/mpd-sima.cfg'
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: mpd-sima
Source-Version: 0.14.1-1
We believe that the bug you reported is fixed in the latest version of
mpd-sima, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Geoffroy Youri Berret <[email protected]> (supplier of updated mpd-sima package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Sat, 02 Jan 2016 17:04:36 +0100
Source: mpd-sima
Binary: mpd-sima
Architecture: source
Version: 0.14.1-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Multimedia Maintainers
<[email protected]>
Changed-By: Geoffroy Youri Berret <[email protected]>
Description:
mpd-sima - Automagically add titles to MPD playlist
Closes: 801136 803957
Changes:
mpd-sima (0.14.1-1) unstable; urgency=medium
.
* Imported Upstream version 0.14.1 (Closes: #803957)
* Create database with mpd-sima user (Fixed piuparts error)
* Add optional EnvironmentFile to systemd service file (Closes: #801136)
* Fixed Random plugin name in configuration
Checksums-Sha1:
505808bd962e358c360d209b323f32b2fffd5410 2097 mpd-sima_0.14.1-1.dsc
adf65a53065a468d4317ead206b6e0b780a6130d 70096 mpd-sima_0.14.1.orig.tar.xz
607c470810dbc026120830c64343b9b8c8807a1a 11236 mpd-sima_0.14.1-1.debian.tar.xz
Checksums-Sha256:
35dcc0ca12cfdde95f183559244c72255dd1e9206d8e7ab92d99fc93438c6aba 2097
mpd-sima_0.14.1-1.dsc
a19d5cecd5bac13628648417e655fce052702b44a248a33192395a336415a506 70096
mpd-sima_0.14.1.orig.tar.xz
3f7f9283022d0f6996705284e898b4c8a6c0581276070dc3a574d87a17270bdf 11236
mpd-sima_0.14.1-1.debian.tar.xz
Files:
0699251c55b3c08d6e5e30bbb3189016 2097 sound optional mpd-sima_0.14.1-1.dsc
81368753f1d696276e850a9e86dcc060 70096 sound optional
mpd-sima_0.14.1.orig.tar.xz
60dd8e7f4a7a988fdbef02c815448095 11236 sound optional
mpd-sima_0.14.1-1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCAAGBQJWiTOJAAoJEPNPCXROn13Z4vQP/iaS+dnmX0FpeEfIFeeJhf9f
dTM/oCWKKIueQL8QH3xdzWbVMJs6LzURC965wx3lkohS8Dfou2dsXiexJBOxOiE6
9jhCEPQ3VB+gUefXTOsYURQhrOva0nzqHjenBQT5iHK0kp2MCxL00eGZhW7h2Fyx
3/1ec0UI5dUP2zLehpJYWdrJ2Dn8OsrBts4uC9U1SJaPOPQHFsGvYC9npcztgVWi
kQGjdXxNtQuPEz2n5zLXMPhkQ8UWsW/Xau9Nf9lIv51aZEHMFCaj0LPKX4Kx0JqG
mVi+Kl3lw0K9gSGT5Lchs0C7duk4aGcy2pbNjnFQ1bd4lzrhrj58jPl/Z0DkJSZH
Ic44TYyxR4F6Z6WKhaTcmulK9u0z5bNygmnUv88qWEucobrfzIavNLKM+RgvC6pm
MFXa7GFDjW4i7g+kkBHdYyt0EG16lYTtpRH5lYr6lm0pWBbRzksVyGkw+m89TYg6
DUbATCdhgNhGaHTNAoywfk2wqq0VYG6DkXJVH2wcEd5U+zexJwT6RWMzTprsTZ4F
z7f13uFthVIYyjujnf1tbIwM4uW1qdwEcaxOAnL7b3+OCS6iUAZ+2Jkz28VGeWS5
wIRyTLc7A0tnPAJkIxIvwq6+OWfROKffZ0gdapztfymZp1Y6r3xtL8Nsy4Fr2rq7
2r85eHcDnZL2QLURPOhz
=GWis
-----END PGP SIGNATURE-----
--- End Message ---