Package: rss2email
Version: 1:3.8-1~exp1
Severity: minor

If you don't have "to" set in your configuration file, and then try to add a feed without specifying e-mail address, you get a rather confusing exception (instead of friendly "no target email address has been defined" error):

$ r2e add example http://example.net/
Traceback (most recent call last):
  File "/usr/bin/r2e", line 5, in <module>
    rss2email.main.run()
  File "/usr/lib/python3/dist-packages/rss2email/main.py", line 163, in run
    args.func(feeds=feeds, args=args)
  File "/usr/lib/python3/dist-packages/rss2email/command.py", line 50, in add
    raise _error.NoToEmailAddress(feeds=feeds)
TypeError: __init__() missing 1 required positional argument: 'feed'


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'experimental')
Architecture: i386 (x86_64)
Foreign Architectures: amd64

Kernel: Linux 3.12-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages rss2email depends on:
ii  python2.7           2.7.6-7
ii  python3-feedparser  5.1.3-2
ii  python3-html2text   3.200.3-2
pn  python3:any         <none>

--
Jakub Wilk


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to