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

Flatpak version of KCC (5.6.4) can't be started #636

Closed
winstonma opened this issue Dec 5, 2023 · 3 comments
Closed

Flatpak version of KCC (5.6.4) can't be started #636

winstonma opened this issue Dec 5, 2023 · 3 comments
Labels
Linux Linux OS

Comments

@winstonma
Copy link

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:
Go to terminal, update KCC and I got the following result.

$ flatpak info io.github.ciromattia.kcc

Kindle Comic Converter - An app that allows you to transform your PNG, JPG,
GIF, CBZ, CBR and CB7 files into EPUB or MOBI format e-books

          ID: io.github.ciromattia.kcc
         Ref: app/io.github.ciromattia.kcc/x86_64/stable
        Arch: x86_64
      Branch: stable
     Version: 5.6.4
     License: ISC
      Origin: flathub
  Collection: org.flathub.Stable
Installation: system
   Installed: 44.4 MB
     Runtime: org.kde.Platform/x86_64/5.15-23.08
         Sdk: org.kde.Sdk/x86_64/5.15-23.08

      Commit: 7b5fc1626564c3e4631c07f0b78ce2d263554e346f4936c30136ae5470e3ced3
      Parent: 199be7911bc102208f052391fbe3d1aad2749294195c6be440ba4ca17580cb5a
     Subject: Update v5.6.3.tar.gz to 5.6.4 (3a7442ea)
        Date: 2023-12-05 05:08:34 +0000

$ flatpak run io.github.ciromattia.kcc
Traceback (most recent call last):
  File "/app/bin/kcc", line 33, in <module>
    sys.exit(load_entry_point('KindleComicConverter==5.6.4', 'gui_scripts', 'kcc')())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/lib/python3.11/site-packages/kindlecomicconverter/startup.py", line 29, in start
    from . import KCC_gui
  File "/app/lib/python3.11/site-packages/kindlecomicconverter/KCC_gui.py", line 39, in <module>
    from . import comic2ebook
  File "/app/lib/python3.11/site-packages/kindlecomicconverter/comic2ebook.py", line 34, in <module>
    from natsort import natsorted
ModuleNotFoundError: No module named 'natsort'

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
Add a screenshot of your KCC settings.

Desktop (please complete the following information):

  • OS: Linux

Additional context
Add any other context about the problem here.

@axu2
Copy link
Collaborator

axu2 commented Dec 5, 2023

@catsout I assume this file needs to be updated to add the new natsort dependency from

https://github.com/flathub/io.github.ciromattia.kcc/blame/master/dependencies/kcc-pypi-dependencies.yaml

Also, we will eventually upgrade from qt5 to qt6. (e.g. pyqt5 to pyside6), just keeping it on your radar.

@axu2
Copy link
Collaborator

axu2 commented Dec 6, 2023

@winstonma

Looks like a version with natsort was built. Can you verify?

Built about 10 hours ago

https://flathub.org/apps/io.github.ciromattia.kcc

Also, it says

Available Architectures aarch64, x86_64

I'm not sure if that's relevant to your post in the other thread, I don't use Linux.

@winstonma
Copy link
Author

@axu2 Yep it is working now

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Linux Linux OS
Projects
None yet
Development

No branches or pull requests

2 participants