Future-Scholars / paperlib

An open-source academic paper management tool.
https://paperlib.app
GNU General Public License v3.0
1.5k stars 65 forks source link

[BUG] #603

Closed nakulz closed 2 days ago

nakulz commented 2 weeks ago

Describe the bug RSS Feeds do not refresh

To Reproduce Steps to reproduce the behavior:

  1. Go to Feeds
  2. Right Click on any rss feed that you might have added previously
  3. Scroll down to click 'Refresh'
  4. Pop-up in the bottom left corner of the app that says
    "Feed Failed to refresh feeds: ai TypeError: e is not iterable at l4.parseRSSItems (file:///Applications/Paperlib.app/Contents/Res... "

Screenshots or Log 21:26:08.958 › [Feed] Failed to refresh feeds: ai 21:26:08.958 › TypeError: e is not iterable at l4.parseRSSItems (file:///Applications/Paperlib.app/Contents/Resources/app.asar/dist/assets/index-f93563e5.js:16:4258) at l4.parse (file:///Applications/Paperlib.app/Contents/Resources/app.asar/dist/assets/index-f93563e5.js:16:4139) at l4.fetch (file:///Applications/Paperlib.app/Contents/Resources/app.asar/dist/assets/index-f93563e5.js:16:3861) at async n (file:///Applications/Paperlib.app/Contents/Resources/app.asar/dist/assets/index-f93563e5.js:16:10306) at async file:///Applications/Paperlib.app/Contents/Resources/app.asar/dist/assets/index-744bc545.js:395:59031 at async Promise.allSettled (index 0) at async i81 (file:///Applications/Paperlib.app/Contents/Resources/app.asar/dist/assets/index-744bc545.js:395:58970) at async rr.refresh (file:///Applications/Paperlib.app/Contents/Resources/app.asar/dist/assets/index-f93563e5.js:16:10286) at async a.constructor.name.i.value (file:///Applications/Paperlib.app/Contents/Resources/app.asar/dist/assets/index-744bc545.js:56:42943) at async o.constructor.name.s.value (file:///Applications/Paperlib.app/Contents/Resources/app.asar/dist/assets/index-744bc545.js:56:52837)

System (please complete the following information):

Additional context I absolutely love this application. It will be awesome if you guys can 1) add a "refresh all" feeds option and 2) improve the documentation associated with RSS feeds.

GeoffreyChen777 commented 2 weeks ago

I cannot reproduce this bug.

I guess the reason is related to your RSS source.

You don't need to refresh manually. The RSS Feeds are automatically refreshed every day.

nakulz commented 2 weeks ago

Hi. That's strange. I have done nothing new since I updated the app so I'm wondering what's unique about my setup that might be causing the feeds to break. Anything I can share to try and triangulate?

BTW this is the 2-3 time this issues has happened. Previous times that it happened, I basically removed and traded all the feeds again.

GeoffreyChen777 commented 2 weeks ago

You can give me an example from your subscribed RSS URL.

nakulz commented 2 weeks ago

I wanted to include the link in the bug I filed but I'm not aware of how the url for a subscribed feed can be viewed/copied. Can u tell me how I can do that?

GeoffreyChen777 commented 2 weeks ago
  1. open developer tool

image

  1. input: (await feedService.load("name", "desc")).toJSON();, press enter

image

GeoffreyChen777 commented 2 days ago

I'm going to close this as it's inactive for a while. feel free to reopen.