[DRE-maint] Bug#775291: numerical feed name causes exception

Michal Čihař nijel at debian.org
Tue Jan 13 16:09:06 UTC 2015


Package: feed2imap
Version: 1.2.3-1
Severity: normal

Hi

while running feed2imap, I got following error:

I, [2015-01-13T09:40:35.167347 #30040]  INFO -- : 55: 14 new items, 0 updated items.
F, [2015-01-13T09:40:35.167766 #30040] FATAL -- : Exception caught while uploading mail to RSS: undefined method `gsub' for 55:Fixnum
/usr/lib/ruby/vendor_ruby/feed2imap/feed2imap.rb:247:in `block in initialize'
/usr/lib/ruby/vendor_ruby/feed2imap/feed2imap.rb:220:in `each'
/usr/lib/ruby/vendor_ruby/feed2imap/feed2imap.rb:220:in `initialize'
/usr/bin/feed2imap:48:in `new'
/usr/bin/feed2imap:48:in `<main>'
F, [2015-01-13T09:40:35.168778 #30040] FATAL -- : We can't recover from IMAP errors, so we are exiting.

when debugging, I've realized that this is caused by following entry:

- name: 067
  url: https://067.cz/rss/
  target: "..."

While parsing the configuration, feed2imap parses 067 as number and
converts it to 55, but it later probaly fails to find such named
section.

-- 
	Michal Čihař | http://cihar.com | http://blog.cihar.com


-- System Information:
Debian Release: 8.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 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: sysvinit (via /sbin/init)

Versions of packages feed2imap depends on:
ii  ruby                        1:2.1.0.4
ii  ruby-feedparser             0.9.3-2
ii  ruby-rubymail               1.0.0-2
ii  ruby2.1 [ruby-interpreter]  2.1.5-1

feed2imap recommends no packages.

Versions of packages feed2imap suggests:
pn  imap-server         <none>
ii  mutt [imap-client]  1.5.23-3

-- no debconf information



More information about the Pkg-ruby-extras-maintainers mailing list