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

KeyError: 'KPW5' when adding specific profile #490

Closed
galloramiro opened this issue Mar 7, 2023 · 3 comments
Closed

KeyError: 'KPW5' when adding specific profile #490

galloramiro opened this issue Mar 7, 2023 · 3 comments
Labels
Awaiting feedback Further information is requested from author

Comments

@galloramiro
Copy link

galloramiro commented Mar 7, 2023

Hi guys,

Im getting this error when I try to use a specific profile.

comic2ebook v5.5.2 - Written by Ciro Mattia Gonano and Pawel Jastrzebski.
Traceback (most recent call last):
  File "/home/eurekalabs/.local/bin/kcc-c2e", line 8, in <module>
    sys.exit(startC2E())
  File "/home/eurekalabs/.local/lib/python3.10/site-packages/kindlecomicconverter/startup.py", line 49, in startC2E
    sys.exit(main(sys.argv[1:]))
  File "/home/eurekalabs/.local/lib/python3.10/site-packages/kindlecomicconverter/comic2ebook.py", line 71, in main
    checkOptions()
  File "/home/eurekalabs/.local/lib/python3.10/site-packages/kindlecomicconverter/comic2ebook.py", line 1029, in checkOptions
    options.profileData = image.ProfileData.Profiles[options.profile]
KeyError: 'KPW5'

I did git fetch and pull and re build the project to se if I could get the 6.1 version but I still get the 5.2
Thanks

@galloramiro
Copy link
Author

galloramiro commented Mar 8, 2023

Found out the problem Im using the PyPi version and its outdated.
Should I move to other ways to use the stand alone?

I try with the docker and I get this error:

comic2ebook v5.6.1 - Written by Ciro Mattia Gonano and Pawel Jastrzebski.
Working on Days/0015.cbz...
ERROR: KindleGen is missing!

@darodi
Copy link
Collaborator

darodi commented Apr 6, 2023

@galloramiro

If you are using Linux, the best is to use flatpak
https://flathub.org/apps/details/io.github.ciromattia.kcc

for docker
https://github.com/ciromattia/kcc/wiki/Installation#docker

You can put kindlegen in your working directory

then run something like this

$ docker run --rm -v "$(pwd):/app" ghcr.io/ciromattia/kcc:latest -p KPW5 ./1.cbz

@darodi darodi added the Awaiting feedback Further information is requested from author label Apr 6, 2023
@galloramiro
Copy link
Author

Its working, im using flatpak, forgot to update the issue.
Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting feedback Further information is requested from author
Projects
None yet
Development

No branches or pull requests

2 participants