Closed nico202 closed 1 year ago
Hi, elfeed-protocol-ttrss-update fetch latest entries IDs that generated one by one with the length defined in elfeed-protocol-ttrss-api-max-limit
. Maybe your article entries are not continuous, how about run elfeed-protocol-ttrss-update
multiple times until it return entries, the log will show the entry-mark
increased each time.
(setq elfeed-protocol-ttrss-api-max-limit 200)
Maybe your article entries are not continuous Yeah I thought the same.
run elfeed-protocol-ttrss-update multiple times until it return entries, the log will show the entry-mark increased each time. Just tried but entry-mark: is not increasing:
[2023-02-27 14:44:54] [debug]: elfeed-protocol-ttrss: update, parsed 0 entries(0 unread, 0 starred, min-entry-id -1, max-entry-id -1) with 0.000077s, entry-mark: 1037632
[...]
[2023-02-27 14:45:06] [debug]: elfeed-protocol-ttrss: update, parsed 0 entries(0 unread, 0 starred, min-entry-id -1, max-entry-id -1) with 0.000090s, entry-mark: 1037632
Don't know if it helps, but when asking for headlines ("getHeadlines", feed_id: 0, is_cat:1), ids are in the range 1023206-1023235. Maybe it's possible to get new article ids with the getHeadlines since_id param?
I see, the bug will be solved soon. And I use getArticle
instead of getHeadlines
here is for making fetch older entries is possible.
Ok thanks a lot!
Besides, how about you set the max limit much bigger than 200. Maybe it could solve your problem, I'm I am more curious about the results it return :)
(setq elfeed-protocol-ttrss-api-max-limit 1000)
Well, the bug is more complex than I thought. We can't just simple increase the mark ID number when it return 0 entry for there is no method to determine if the TTRSS article IDs are not continuous or there is just no new article. So here only some workarounds for you:
(let* (proto-id "ttrss+https://user@your-host.com")
(elfeed-protocol-ttrss-set-update-mark
proto-id 'update (+ elfeed-protocol-ttrss-api-max-limit
(elfeed-protocol-ttrss-get-update-mark proto-id 'update))))
elfeed-protocol-ttrss-reinit
insteadI used to use TTRSS for a while, and never had this problem before. The article IDs may be discontinuous, but not on this scale.
I think there was a missing parens, used this for future reference:
(let* ((proto-id "ttrss+https://XXX.xyz"))
(elfeed-protocol-ttrss-set-update-mark
proto-id 'update (+ elfeed-protocol-ttrss-api-max-limit
(elfeed-protocol-ttrss-get-update-mark proto-id 'update))))
after setting elfeed-protocol-ttrss-api-max-limit, with no luck, and tried again a few times. Run re-init and now entry-mark: 867244. I'll wait for new articles to appear on the server and I'll try again. Thanks for your help
86_64 GNU/Linux, guix 59b102c
GNU Emacs 28.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.30, cairo version 1.16.0)
3.4.1
0.8.1
7.85.0 (x86_64-pc-linux-gnu) libcurl/7.85.0 OpenSSL/3.0.5 zlib/1.2.11 brotli/1.0.9 zstd/1.5.2 libidn2/2.3.3 libpsl/0.21.0 (+libidn2/2.3.2) libssh/0.9.6/openssl/zlib nghttp2/1.49.0 librtmp/2.3
22.10, hosted on NixOS
(docker image and tag)elfeed-protocol-ttrss-feeds
empty:no
elfeed-log
Please collect logs in buffer
*elfeed-log*
with the following config before reporting issues:Log
error backtrace
Hi! Thanks for this package! I'm having a small problem with the sync.
When running
elfeed-protocol-ttrss-update
, feeds are not updated. Elfeed reports last update to be days before this command. However, runningelfeed-protocol-ttrss-reinit
updates the articles. The list of article_id sent seems to be wrong