#779967 liferea: poor error reporting for "command" sourced feeds

Package:
liferea
Source:
liferea
Description:
feed/news/podcast client with plugin support
Submitter:
Daniel Perelman
Date:
2023-09-18 17:36:12 UTC
Severity:
wishlist
Tags:
#779967#5
Date:
2015-03-06 23:55:28 UTC
From:
To:
Dear Maintainer,

When feeds generated by a command fail to produce a working feed, the
error messages are both misleading and useless. Pretty much no matter
what the problem is, it outputs:

(Strangely, that error even sometimes included saying that it got an
HTTP 404 which makes no sense for a local resource.)

My understanding is that once Liferea fails to parse an input as a feed,
it tries to parse it as a webpage that has a link to a feed and it only
reports the error for the second failure, despite the first failure
almost always being the relevant one.

As a workaround, using the same command as a conversion filter (not
caring what the input being "filtered" is) gives more useful errors. In
case that led to this bug report, telling me that the command was
returning an exit code of 1 (although actually seeing the error message
in output would have been more helpful).

This is a very minor issue because in addition to the workaround just
mentioned, I suspect this is a rarely used feature and except in edge
cases like the one I ran into (it turned out the script worked with my
bash environment variables but not with my X session's), simply running
the command from a terminal would give the desired debugging
information.

#779967#10
Date:
2015-04-22 20:40:10 UTC
From:
To:
I'm curious, how do I reproduce this bug?
#779967#15
Date:
2015-04-22 20:40:10 UTC
From:
To:
I'm curious, how do I reproduce this bug?
#779967#20
Date:
2015-04-22 21:03:06 UTC
From:
To:
To reproduce, create a new feed subscription where the source is a command
which does not produce an RSS or ATOM feed. Any common command should
display the behavior, say, /bin/ls or /bin/false.

On Wed, Apr 22, 2015 at 1:40 PM, Marcelo Lacerda <marceloslacerda@gmail.com> wrote:

#779967#25
Date:
2015-04-22 21:03:06 UTC
From:
To:
To reproduce, create a new feed subscription where the source is a command
which does not produce an RSS or ATOM feed. Any common command should
display the behavior, say, /bin/ls or /bin/false.

On Wed, Apr 22, 2015 at 1:40 PM, Marcelo Lacerda <marceloslacerda@gmail.com> wrote:

#779967#30
Date:
2015-04-27 17:29:02 UTC
From:
To:
I forgot to mention that I upstreamed the bug:
https://github.com/lwindolf/liferea/issues/179

#779967#35
Date:
2015-04-27 17:29:02 UTC
From:
To:
I forgot to mention that I upstreamed the bug:
https://github.com/lwindolf/liferea/issues/179

#779967#40
Date:
2015-05-01 04:09:09 UTC
From:
To:
Control: upstream -1 https://github.com/lwindolf/liferea/issues/179

And to mark the bug as forwarded ;)

#779967#47
Date:
2015-05-02 19:13:41 UTC
From:
To:
I actually need to learn how to use the commands. Thanks for the heads-up.