[DRE-maint] Bug#775291: numerical feed name causes exception
Antonio Terceiro
terceiro at debian.org
Wed Jan 14 11:29:01 UTC 2015
Control: tag -1 pending upstream
On Wed, Jan 14, 2015 at 07:43:25AM +0100, Michal Čihař wrote:
> Hi
>
> Dne Tue, 13 Jan 2015 17:21:59 -0200
> Antonio Terceiro <terceiro at debian.org> napsal(a):
>
> > You need to quote the name:
> >
> > - name: "067"
> > url: https://067.cz/rss/
> > target: "..."
>
> Thanks, I've figured this out.
>
> > The config file is parsed as YAML, and a 067 unquoted _will_ be parsed as a
> > number.
> >
> > I can even change feed2imap to handle receiving numbers as the feed name by
> > converting them to strings, but I can't stop the YAML parser from doing the
> > octal to decimal conversion for example.
>
> I understand that the conversion happens, but that should not break the
> program from further processing the entry. It seems that it tries to
> call string method (gsub) on integer or float it gets from the yaml
> parser.
Yes, sure. I pushed a fix for this to the upstream repository yesterday,
and this will be fixed in the next upload.
--
Antonio Terceiro <terceiro at debian.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20150114/2815d703/attachment-0001.sig>
More information about the Pkg-ruby-extras-maintainers
mailing list