You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to use the "Popular" OPDS from http://m.gutenberg.org/ebooks/?format=opds (used as an example that you can easily reach, my COPS installation triggers the same error) I receive an error that the author attribute cannot be found. My feeling is that the opds-reader is not recursing sufficiently deeply into the XML responses to actually find books, finding a list of categories without books may cause this error.
Error as follows
calibre 2.63 embedded-python: True is64bit: True
Linux-3.13.0-92-generic-x86_64-with-debian-jessie-sid Linux ('64bit', 'ELF')
('Linux', '3.13.0-92-generic', '#139-Ubuntu SMP Tue Jun 28 20:42:26 UTC 2016')
Python 2.7.9
Linux: ('debian', 'jessie/sid', '')
Successfully initialized third party plugins: OPDS Client (1, 0, 0)
Traceback (most recent call last):
File "calibre_plugins.opds_client.main", line 182, in download_opds
File "calibre_plugins.opds_client.model", line 97, in downloadOpdsCatalog
File "calibre_plugins.opds_client.model", line 143, in makeMetadataFromParsedOpds
File "calibre_plugins.opds_client.model", line 149, in opdsToMetadata
File "site-packages/calibre/web/feeds/feedparser.py", line 408, in getattr
AttributeError: object has no attribute 'author'
The text was updated successfully, but these errors were encountered:
Just master? Or the branch read-feeds-recursively-and-flatten-list?
In the read-feeds-recursively-and-flatten-list branch I have tried to walk OPDS responses from various sources and turn them into something that is useful for the plugin.
But the logic to be able to handle the different OPDS responses became very convoluted, so I just stopped. Maybe there is a better approach? :-)
Patches/pull requests for improvements are welcome!
Just master? Or the branch read-feeds-recursively-and-flatten-list?
In the read-feeds-recursively-and-flatten-list branch I have tried to
walk OPDS responses from various sources and turn them into something
that is useful for the plugin.
But the logic to be able to handle the different OPDS responses became
very convoluted, so I just stopped. Maybe there is a better approach?
:-)
Patches/pull requests for improvements are welcome!
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub: #2 (comment)
Sent from my Android device with K-9 Mail. Please excuse my brevity.
When trying to use the "Popular" OPDS from http://m.gutenberg.org/ebooks/?format=opds (used as an example that you can easily reach, my COPS installation triggers the same error) I receive an error that the author attribute cannot be found. My feeling is that the opds-reader is not recursing sufficiently deeply into the XML responses to actually find books, finding a list of categories without books may cause this error.
Error as follows
calibre 2.63 embedded-python: True is64bit: True
Linux-3.13.0-92-generic-x86_64-with-debian-jessie-sid Linux ('64bit', 'ELF')
('Linux', '3.13.0-92-generic', '#139-Ubuntu SMP Tue Jun 28 20:42:26 UTC 2016')
Python 2.7.9
Linux: ('debian', 'jessie/sid', '')
Successfully initialized third party plugins: OPDS Client (1, 0, 0)
Traceback (most recent call last):
File "calibre_plugins.opds_client.main", line 182, in download_opds
File "calibre_plugins.opds_client.model", line 97, in downloadOpdsCatalog
File "calibre_plugins.opds_client.model", line 143, in makeMetadataFromParsedOpds
File "calibre_plugins.opds_client.model", line 149, in opdsToMetadata
File "site-packages/calibre/web/feeds/feedparser.py", line 408, in getattr
AttributeError: object has no attribute 'author'
The text was updated successfully, but these errors were encountered: