elfeed icon indicating copy to clipboard operation
elfeed copied to clipboard

Debugging process for elfeed?

Open DSMasterson opened this issue 1 year ago • 3 comments

I'm trying to get elfeed to work, but I'm getting nowhere. I set:

(setq elfeed-feeds '("http://nullprogram.com/feeds"))

Then try to 'elfeed to test it, but all I get is an empty database with the suggestion to run 'elfeed-update (which doesn't seem to do anything). I tried switching to url-retrieve instead of curl, but nothing changed.

I've been around Emacs for quite a while (40 years off and on), so I'm not a newbie, but I'm not a Lisp programmer either (I can hack the basics). I'm looking for any documentation on where to start in debugging this further.

DSMasterson avatar Jul 11 '24 02:07 DSMasterson

The elfeed-log buffer lists errors from fetching feeds. In this case it lists HTTP 404 for that URL because the path component should be singular "feed", not "feeds".

Errors aren't louder because fetch errors are common but temporary, and usually go away on their own. Adding a new feed is an exception and such errors likely permanent (e.g. wrong URL, or rejecting Elfeed as a user agent). Perhaps the first fetch of a feed should have loud errors.

skeeto avatar Jul 11 '24 14:07 skeeto

Thanks, I'll look into that.

On Thu, Jul 11, 2024 at 7:03 AM Christopher Wellons < @.***> wrote:

The elfeed-log buffer lists errors from fetching feeds. In this case it lists HTTP 404 for that URL because the path component should be singular "feed", not "feeds".

Errors aren't louder because fetch errors are common but temporary, and usually go away on their own. Adding a new feed is an exception and such errors likely permanent (e.g. wrong URL, or rejecting Elfeed as a user agent). Perhaps the first fetch of a feed should have loud errors.

— Reply to this email directly, view it on GitHub https://github.com/skeeto/elfeed/issues/520#issuecomment-2223025866, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGZCLSBZU4NPMTYZ7KVSSDZL2GEPAVCNFSM6AAAAABKWBUI66VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRTGAZDKOBWGY . You are receiving this because you authored the thread.Message ID: @.***>

-- David Masterson Programmer at Large

DSMasterson avatar Jul 14 '24 05:07 DSMasterson

Whoops. I still need help.

I mis-typed it as "feeds" above, but I typed it as "feed" in my .emacs setup. When I run 'elfeed, I get a elfeed-search buffer, but no elfeed-log buffer. The search buffer has a strange message on the first line that I can't seem to copy/paste. It says:

Database empty. Use elfeed-add-feed, or elfeed-load-opml, or elfeed-update.

What am I missing?

DSMasterson avatar Jul 14 '24 05:07 DSMasterson