Bug#737767: feed2imap does not decode url

2014-02-07 Thread Antonio Terceiro
Control: reassign -1 ruby-feedparser

Hello, thanks for your bug report.

On Wed, Feb 05, 2014 at 08:50:50PM +0100, Sébastien Dailly wrote:
> Package: feed2imap
> Version: 1.2-2
> Severity: normal
> 
> Hello,
> 
> when receiving feeds, I've got the following error :
> 
> > F, [2014-02-05T20:45:27.512843 #32623] FATAL -- : Exception caught when
> > selecting new items for planet-debianfr: bad URI(is not URI?):
> > http://www.inetdoc.net/archives/2014/01/26/virtualisation_système_et_enseignement/index.html
> > /usr/lib/ruby/1.9.1/uri/common.rb:176:in `split'
> > /usr/lib/ruby/1.9.1/uri/common.rb:211:in `parse'
> > /usr/lib/ruby/1.9.1/uri/common.rb:747:in `parse'
> > /usr/lib/ruby/vendor_ruby/feedparser/feedparser.rb:234:in `link'
> > /usr/lib/ruby/vendor_ruby/feed2imap/cache.rb:261:in `initialize'
> > /usr/lib/ruby/vendor_ruby/feed2imap/cache.rb:149:in `new'
> > /usr/lib/ruby/vendor_ruby/feed2imap/cache.rb:149:in `block in get_new_items'
> > /usr/lib/ruby/vendor_ruby/feed2imap/cache.rb:149:in `each'
> > /usr/lib/ruby/vendor_ruby/feed2imap/cache.rb:149:in `get_new_items'
> > /usr/lib/ruby/vendor_ruby/feed2imap/cache.rb:44:in `get_new_items'
> > /usr/lib/ruby/vendor_ruby/feed2imap/feed2imap.rb:238: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 `'
> 
> I think that non ascii character in the URL is the error cause.

This is a problem in ruby-feedparser. I have a fix and it will be
uploaded soon.

-- 
Antonio Terceiro 


signature.asc
Description: Digital signature


Bug#737767: feed2imap does not decode url

2014-02-05 Thread Sébastien Dailly
Package: feed2imap
Version: 1.2-2
Severity: normal

Hello,

when receiving feeds, I've got the following error :

> F, [2014-02-05T20:45:27.512843 #32623] FATAL -- : Exception caught when
> selecting new items for planet-debianfr: bad URI(is not URI?):
> http://www.inetdoc.net/archives/2014/01/26/virtualisation_système_et_enseignement/index.html
> /usr/lib/ruby/1.9.1/uri/common.rb:176:in `split'
> /usr/lib/ruby/1.9.1/uri/common.rb:211:in `parse'
> /usr/lib/ruby/1.9.1/uri/common.rb:747:in `parse'
> /usr/lib/ruby/vendor_ruby/feedparser/feedparser.rb:234:in `link'
> /usr/lib/ruby/vendor_ruby/feed2imap/cache.rb:261:in `initialize'
> /usr/lib/ruby/vendor_ruby/feed2imap/cache.rb:149:in `new'
> /usr/lib/ruby/vendor_ruby/feed2imap/cache.rb:149:in `block in get_new_items'
> /usr/lib/ruby/vendor_ruby/feed2imap/cache.rb:149:in `each'
> /usr/lib/ruby/vendor_ruby/feed2imap/cache.rb:149:in `get_new_items'
> /usr/lib/ruby/vendor_ruby/feed2imap/cache.rb:44:in `get_new_items'
> /usr/lib/ruby/vendor_ruby/feed2imap/feed2imap.rb:238: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 `'

I think that non ascii character in the URL is the error cause.


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

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

Versions of packages feed2imap depends on:
ii  ruby  1:1.9.3
ii  ruby-feedparser   0.9.2-2
ii  ruby-rubymail 1.0.0-2
ii  ruby1.9.1 [ruby-interpreter]  1.9.3.484-1

feed2imap recommends no packages.

Versions of packages feed2imap suggests:
ii  dovecot-imapd [imap-server]  1:2.2.9-1
ii  mutt [imap-client]   1.5.21-6.4

-- no debconf information
Package: feed2imap
Version: 1.2-2
Severity: normal

Dear Maintainer,
*** Please consider answering these questions, where appropriate ***

   * What led up to the situation?
   * What exactly did you do (or not do) that was effective (or
 ineffective)?
   * What was the outcome of this action?
   * What outcome did you expect instead?

*** End of the template - remove these lines ***


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

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

Versions of packages feed2imap depends on:
ii  ruby  1:1.9.3
ii  ruby-feedparser   0.9.2-2
ii  ruby-rubymail 1.0.0-2
ii  ruby1.9.1 [ruby-interpreter]  1.9.3.484-1

feed2imap recommends no packages.

Versions of packages feed2imap suggests:
ii  dovecot-imapd [imap-server]  1:2.2.9-1
ii  mutt [imap-client]   1.5.21-6.4

-- no debconf information


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