1
0
Fork
You've already forked elfeed-protocol-freshrss
0

Wrong number of arguments: #<subr elfeed-protocol-advice-feed-list>, 1 on elfeed-update #1

Closed
opened 2026年06月30日 05:26:10 +02:00 by s0ph0s · 4 comments

Hi! I'm trying to follow the example configuration in the project's README, but when I tell Elfeed to update, I get this error in the message buffer:

Wrong number of arguments: #<subr elfeed-protocol-advice-feed-list>, 1

Here is the relevant section of my configuration:

(use-package elfeed
	:defer t
	:load elfeed-protocol
	:custom
	(elfeed-search-sort-order 'ascending)
	(elfeed-search-filter "@1day +unread")
	(elfeed-use-curl t)
	(elfeed-curl-max-connections 10)
	:config
	(setq elfeed-feeds '(("freshrss+https://s0ph0s@subdomain.s0ph0s.dog"
											 :api-url "https://subdomain.s0ph0s.dog/api/greader.php"
											 :password "redacted"))))
(use-package elfeed-protocol
	:defer t
	:after elfeed
	:custom
	;;(elfeed-protocol-enabled-protocols '(fever))
	(elfeed-protocol-enabled-protocols '(freshrss))
	;;(elfeed-protocol-fever-fetch-category-as-tag t)
	;;(elfeed-protocol-fever-update-unread-only t)
	;;(elfeed-protocol-feeds '(("freshrss+https://s0ph0s@subdomain.s0ph0s.dog"
	;;												 :api-url "https://subdomain.s0ph0s.dog/api/greader.php"
	;;												 :password "redacted")))
	(elfeed-log-level 'debug)
	:config
	(elfeed-protocol-enable)
	:hook
	(after-init . toggle-debug-on-error))
(use-package elfeed-protocol-freshrss
	:defer t
	:after elfeed
	:config
	(elfeed-protocol-freshrss-register-protocol))

Am I using the package incorrectly? Is this actually hitting a bug?

Software Version Information

  • Emacs: 30.2
  • Elfeed: 20260218.1306
  • Elfeed-Protocol: 20240822.805
  • Elfeed-Protocol-Freshrss: v1.2 (81b2dd2a7a)
Hi! I'm trying to follow the example configuration in the project's README, but when I tell Elfeed to update, I get this error in the message buffer: ``` Wrong number of arguments: #<subr elfeed-protocol-advice-feed-list>, 1 ``` Here is the relevant section of my configuration: ``` (use-package elfeed :defer t :load elfeed-protocol :custom (elfeed-search-sort-order 'ascending) (elfeed-search-filter "@1day +unread") (elfeed-use-curl t) (elfeed-curl-max-connections 10) :config (setq elfeed-feeds '(("freshrss+https://s0ph0s@subdomain.s0ph0s.dog" :api-url "https://subdomain.s0ph0s.dog/api/greader.php" :password "redacted")))) (use-package elfeed-protocol :defer t :after elfeed :custom ;;(elfeed-protocol-enabled-protocols '(fever)) (elfeed-protocol-enabled-protocols '(freshrss)) ;;(elfeed-protocol-fever-fetch-category-as-tag t) ;;(elfeed-protocol-fever-update-unread-only t) ;;(elfeed-protocol-feeds '(("freshrss+https://s0ph0s@subdomain.s0ph0s.dog" ;; :api-url "https://subdomain.s0ph0s.dog/api/greader.php" ;; :password "redacted"))) (elfeed-log-level 'debug) :config (elfeed-protocol-enable) :hook (after-init . toggle-debug-on-error)) (use-package elfeed-protocol-freshrss :defer t :after elfeed :config (elfeed-protocol-freshrss-register-protocol)) ``` Am I using the package incorrectly? Is this actually hitting a bug? ### Software Version Information - Emacs: 30.2 - Elfeed: 20260218.1306 - Elfeed-Protocol: 20240822.805 - Elfeed-Protocol-Freshrss: v1.2 (81b2dd2a7aa9112683ea9107ed2d0965921bea30)
Owner
Copy link

Hi, you need to update elfeed and elfeed protocol to their most recent versions. the elfeed 4.0 release changed some internals.

(that's also why you need to set elfeed-feeds instead of elfeed-protocol-feeds.)

Hi, you need to update elfeed and elfeed protocol to their most recent versions. the elfeed 4.0 release changed some internals. (that's also why you need to set `elfeed-feeds` instead of `elfeed-protocol-feeds`.)
Author
Copy link

Ahh, oops. Thank you for pointing out my (in retrospect, obvious) error! It works great now, this is so much nicer than the Fever API.

Would you welcome a pull request documenting the minimum supported versions in the README?

Ahh, oops. Thank you for pointing out my (in retrospect, obvious) error! It works great now, this is so much nicer than the Fever API. Would you welcome a pull request documenting the minimum supported versions in the README?
Owner
Copy link

Would you welcome a pull request documenting the minimum supported versions in the README?

In principle yes, in practice I just addded that myself.

If you run into other issues let me know! Glad to know it's already useful to you! :)

> Would you welcome a pull request documenting the minimum supported versions in the README? In principle yes, in practice I just addded that myself. If you run into other issues let me know! Glad to know it's already useful to you! :)
Author
Copy link

Thank you very much!

Thank you very much!
Sign in to join this conversation.
No Branch/Tag specified
main
melpa
1.2
1.1
1.0
Labels
Clear labels
No items
No labels
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lou/elfeed-protocol-freshrss#1
Reference in a new issue
lou/elfeed-protocol-freshrss
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?