-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
KeyError: 'BookMetadata' #15
Comments
Check out my PR for this fix. |
Thanks, **Traceback (most recent call last): |
I have the same error. How do you fix that? |
This repository has been abandoned. I have forked the project at https://github.com/subdavis/kobo-book-downloader - please give that project a try and open an issue there if you have trouble. It adds some new features:
Please don't reply to this issue, open an issue on my fork instead |
Love kobo-book-downloader and the way it simplifies downloading and removing DRM from Kobo books. Had a problem using it just now for the first time in a month or two. Get the following errors when using any of the commands: For example,
jenny@jenny-PC:~/kobo-book-downloader-master$ python kobo-book-downloader pick /home/jenny/ --all
gives the following:
Traceback (most recent call last):
File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "kobo-book-downloader/main.py", line 82, in
Main()
File "kobo-book-downloader/main.py", line 75, in Main
Commands.PickBooks( arguments.OutputPath, arguments.all )
File "kobo-book-downloader/Commands.py", line 288, in PickBooks
rows = Commands.__GetBookList( listAll )
File "kobo-book-downloader/Commands.py", line 199, in __GetBookList
bookMetadata = newEntitlement[ "BookMetadata" ]
KeyError: 'BookMetadata'
Have tried downloading the code again and also deleting and regenerating the .config/kobo-book-downloader.json file and it gives the same errors.
Any suggestions?
The text was updated successfully, but these errors were encountered: