skeeto / elfeed

An Emacs web feeds client
The Unlicense
1.52k stars 118 forks source link

Wrong type argument: avl-tree-, nil #530

Open lrustand opened 2 months ago

lrustand commented 2 months ago

I'm like many others experiencing the error message mentioned in the title. However, the fix mentioned in https://github.com/skeeto/elfeed/issues/466#issuecomment-1275327427 does not work.

Neither emacs nor elfeed has been upgraded, I first installed it just hours ago, and it was working fine for a short while, then suddenly all elfeed commands result in the above mentioned error or similar. I have completely deleted all traces of elfeed and the database, restarted emacs and reinstalled elfeed, but nothing changes.

lrustand commented 2 months ago

The variable elfeed-db contains the value (menu-bar-mode -1 :version 4). Some kind of corruption seems to be going on here. Incidentally (menu-bar-mode -1) is the second line in my init.el, but I have no idea why elfeed would be reading that.

NickRaleigh commented 2 weeks ago

@lrustand if you're still having this issue, I had a similar problem. So far I've followed the method you mentioned, but I also deleted ~/.elfeed.db and the elfeed package inside ~/.emacs.d. Then I reinstalled elfeed and it started working again. Maybe that will work for you?

abougouffa commented 1 week ago

I have the same issue, the fix suggested in https://github.com/skeeto/elfeed/issues/466 and deleting the database and the cache didn't solve the issue.

The value of elfeed-db is wierd, in my case, it contains the same use-package form that I use to load elfeed, evaluating M-: elfeed-db in my machine returns:

(use-package elfeed :straight t :init (defcustom +elfeed-images-dir "~/Pictures/elfeed/" "Directory of downloaded pictures." :group 'minemacs-elfeed) (+def-dedicated-tab! elfeed :exit-func elfeed-search-quit-window) :custom (elfeed-db-directory (concat minemacs-local-dir "elfeed/db/")) (elfeed-enclosure-default-dir (concat minemacs-local-dir "elfeed/enclosure/")) :config (+ignore-root elfeed-db-directory elfeed-enclosure-default-dir) ...)

Which is the content of the use-package form I'm using to load it!

Edit

For context, this is my M-x emacs-version: GNU Emacs 30.0.92 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.43, cairo version 1.18.2) of 2024-10-28