multiSnow / mcomix3

End of Fork
Other
97 stars 39 forks source link

Does comicthumb really supports pdf? #123

Closed rtentser closed 4 years ago

rtentser commented 4 years ago

In comicthumb.thumbnailer

[Thumbnailer Entry]
TryExec=comicthumb
Exec=comicthumb %i %o %s
MimeType=application/vnd.comicbook-rar;application/vnd.comicbook+zip;application/x-cb7;application/x-cbt;application/pdf

application/pdf

But when i try to manually generate thumbnail for pdf i get:

Traceback (most recent call last):
  File "/usr/bin/comicthumb", line 69, in <module>
    exit(main())
  File "/usr/bin/comicthumb", line 65, in main
    thumb = thumbnailer.thumbnail(in_path)
  File "/usr/share/mcomix/mcomix/thumbnail_tools.py", line 97, in thumbnail
    return self._create_thumbnail(filepath)
  File "/usr/share/mcomix/mcomix/thumbnail_tools.py", line 168, in _create_thumbnail
    pixbuf, tEXt_data = self._create_thumbnail_pixbuf(filepath)
  File "/usr/share/mcomix/mcomix/thumbnail_tools.py", line 126, in _create_thumbnail_pixbuf
    with archive_tools.get_recursive_archive_handler(
AttributeError: __enter__
multiSnow commented 4 years ago

mcomix needs mutool, provided by mupdf, for pdf support. see https://github.com/multiSnow/mcomix3/blob/gtk3/README.rst#recommended

rtentser commented 4 years ago

Thanks!