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:
Run kobodl-windows.exe book get UUID
Download attempts to start, but fails.
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!
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:
Debug log will be emailed.
Expected behavior Book should download
Screenshots N/A
Desktop (please complete the following information):
kobodl-windows.exe --version
I also get an error:Additional context N/A