Skip to content
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

Epub fails to download #122

Open
leela1255 opened this issue Oct 21, 2024 · 4 comments
Open

Epub fails to download #122

leela1255 opened this issue Oct 21, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@leela1255
Copy link

Before you open an issue
Please make sure you've upgraded to the latest version of kobodl on pypi or docker. Also read through the troubleshooting guide. Try running with --debug enabled and see what comes up in the debug log.

Do not erase this template, it's here to help you.

Describe the issue
An ebook I was trying to download failed.

To Reproduce
Steps to reproduce the behavior:

  1. Run kobodl-windows.exe book get UUID
  2. Download attempts to start, but fails.
  3. Stack trace:
Traceback (most recent call last):
  File "kobodl\__main__.py", line 5, in <module>
  File "click\core.py", line 829, in __call__
  File "click\core.py", line 782, in main
  File "click\core.py", line 1259, in invoke
  File "click\core.py", line 1259, in invoke
  File "click\core.py", line 1066, in invoke
  File "click\core.py", line 610, in invoke
  File "click\decorators.py", line 33, in new_func
  File "kobodl\commands\book.py", line 83, in get
  File "kobodl\actions.py", line 231, in GetBookOrBooks
  File "kobodl\kobo.py", line 348, in Download
  File "kobodl\kobo.py", line 268, in __DownloadToFile
  File "requests\models.py", line 1021, in raise_for_status
requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: https://getbook.kobo.com/koboid-prod-private/...
[24800] Failed to execute script '__main__' due to unhandled exception!

Debug log will be emailed.

Expected behavior
Book should download

Screenshots
N/A

Desktop (please complete the following information):

  • OS: Windows 10 Pro
  • Install method and python version: I can't recall but I'm assuming it's the version of python in my program files (3.12.1)? I would have expected it to be referenced in my path environment variable but it's not (I don't typically use python, so I'm not as familiar with the required environment).
  • Kobodl Version: should be the latest, as my date modified on the exe is 22/01/2023. However, when I run kobodl-windows.exe --version I also get an error:
Traceback (most recent call last):
  File "kobodl\__main__.py", line 5, in <module>
  File "click\core.py", line 829, in __call__
  File "click\core.py", line 781, in main
  File "click\core.py", line 700, in make_context
  File "click\core.py", line 1212, in parse_args
  File "click\core.py", line 1048, in parse_args
  File "click\core.py", line 1630, in handle_parse_result
  File "click\core.py", line 123, in invoke_param_callback
  File "click\decorators.py", line 295, in callback
RuntimeError: Could not determine version
[7204] Failed to execute script '__main__' due to unhandled exception!

Additional context
N/A

@leela1255 leela1255 added the bug Something isn't working label Oct 21, 2024
@geekylou
Copy link

This is caused by the same problem that causes audiobooks to not download. #124 should fix it.

@leela1255
Copy link
Author

I've since found another half dozen or so failures with this same error. I'm guessing it's related to the audiobooks problem (as mentioned above) and possibly the add user problem seen on #121 ?

@TheSupraLife
Copy link

@subdavis are you able to make another release? so it makes downloading audiobooks work again.
Huge thanks!

@leela1255
Copy link
Author

Going to add another plea for this and other 403 bugs to be fixed, as I found another dozen or so books today that won't download. I realise it's the holiday season, so I'm not expecting something immediate, but these bugs have been open for at least 2 months now with no real update on whether they're even being progressed. I hope we might see at least a progress report sometime soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants