Package: rss2email
Version: 1:3.9-3
Severity: grave

Hi,

since I've upgraded from 1:3.9-2.1 to 1:3.9-3,
rss2email fails to start:

  $ r2e
  Traceback (most recent call last):
    File "/usr/bin/r2e", line 3, in <module>
      import rss2email.main
  ImportError: No module named rss2email.main

diffoscope tells me that this upgrade changed the shebang in
/usr/bin/r2e from /usr/bin/python3 to /usr/bin/python. But the code is
installed in /usr/lib/python3/dist-packages/rss2email, so I'm not
surprised it can't be found by a python2 interpreter. Setting it back
to /usr/bin/python3 fixes the problem for me.

I suspect that this:

 override_dh_python3:
        dh_python3 --shebang=/usr/bin/python3

… should have been kept when doing commit 342beb1.

But I guess I'm doing something wrong, because if the package was
totally broken for everybody as it is for me, someone else (starting
with the maintainer) would have noticed and reported this earlier.

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'stable-updates'), (500, 
'oldstable-updates'), (500, 'testing'), (500, 'stable'), (500, 'oldstable'), 
(1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.12.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages rss2email depends on:
ii  python              2.7.14-1
ii  python3             3.5.3-3
ii  python3-feedparser  5.1.3-3
ii  python3-html2text   2016.9.19-1

Versions of packages rss2email recommends:
ii  python3-bs4  4.6.0-1

Versions of packages rss2email suggests:
pn  esmtp  <none>

-- no debconf information


-- 
intrigeri

Reply via email to