Bug 2369016 - [abrt] mcomix3-base: open(): image_tools.py:479:load_pixbuf_size:gi.repository.GLib.GError: gdk-pixbuf-error-quark: Image file “/home/wilhelm/Downloads/Re Wilhelm Mailänder.pdf” contains no data (0)
Summary: [abrt] mcomix3-base: open(): image_tools.py:479:load_pixbuf_size:gi.repositor...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: mcomix3
Version: 42
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Mamoru TASAKA
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:65df0ae0129005192d442c3839b...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-05-28 17:04 UTC by wilhelm+redhat-bugzilla
Modified: 2025-06-12 01:29 UTC (History)
2 users (show)

Fixed In Version: mcomix3-0-0.38.D20211016git483f4b3.fc42
Clone Of:
Environment:
Last Closed: 2025-06-12 01:29:32 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: cpuinfo (3.08 KB, text/plain)
2025-05-28 17:04 UTC, wilhelm+redhat-bugzilla
no flags Details
File: os_info (754 bytes, text/plain)
2025-05-28 17:04 UTC, wilhelm+redhat-bugzilla
no flags Details
File: mountinfo (3.35 KB, text/plain)
2025-05-28 17:04 UTC, wilhelm+redhat-bugzilla
no flags Details
File: environ (1.85 KB, text/plain)
2025-05-28 17:04 UTC, wilhelm+redhat-bugzilla
no flags Details
File: namespaces (171 bytes, text/plain)
2025-05-28 17:04 UTC, wilhelm+redhat-bugzilla
no flags Details
File: open_fds (343 bytes, text/plain)
2025-05-28 17:04 UTC, wilhelm+redhat-bugzilla
no flags Details
File: backtrace (2.08 KB, text/plain)
2025-05-28 17:04 UTC, wilhelm+redhat-bugzilla
no flags Details

Description wilhelm+redhat-bugzilla 2025-05-28 17:04:46 UTC
Version-Release number of selected component:
mcomix3-base-0-0.36.D20211016git483f4b3.fc42

Additional info:
reporter:       libreport-2.17.15
interpreter:    python3-3.13.3-2.fc42.x86_64
type:           Python3
reason:         image_tools.py:479:load_pixbuf_size:gi.repository.GLib.GError: gdk-pixbuf-error-quark: Image file “/home/wilhelm/Downloads/Re Wilhelm Mailänder.pdf” contains no data (0)
executable:     /usr/lib/python3.13/site-packages/mcomix3/comicthumb.py
crash_function: open
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-gnome-nemo-5232.scope
uid:            1000
kernel:         6.14.6-300.fc42.x86_64
exception_type: PIL.UnidentifiedImageError
runlevel:       N 5
package:        mcomix3-base-0-0.36.D20211016git483f4b3.fc42
cmdline:        /usr/bin/python3 /usr/lib/python3.13/site-packages/mcomix3/comicthumb.py '/home/wilhelm/Downloads/Re Wilhelm Mail\xc3\xa4nder.pdf' /tmp/.gnome_desktop_thumbnail.SXXZ62 256

Truncated backtrace:
image_tools.py:479:load_pixbuf_size:gi.repository.GLib.GError: gdk-pixbuf-error-quark: Image file “/home/wilhelm/Downloads/Re Wilhelm Mailänder.pdf” contains no data (0)

Traceback (most recent call last):
  File "/usr/lib/python3.13/site-packages/mcomix3/mcomix3/mcomix/image_tools.py", line 471, in load_pixbuf_size
    with Image.open(fio) as im:
         ~~~~~~~~~~^^^^^
  File "/usr/lib64/python3.13/site-packages/PIL/Image.py", line 3532, in open
    raise UnidentifiedImageError(msg)
PIL.UnidentifiedImageError: cannot identify image file <mcomix.lib.reader.LockedFileIO object at 0x7f3fc362e250>

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.13/site-packages/mcomix3/comicthumb.py", line 75, in <module>
    exit(main())
         ~~~~^^
  File "/usr/lib/python3.13/site-packages/mcomix3/comicthumb.py", line 65, in main
    thumb = thumbnailer.thumbnail(in_path)
  File "/usr/lib/python3.13/site-packages/mcomix3/mcomix3/mcomix/thumbnail_tools.py", line 97, in thumbnail
    return self._create_thumbnail(filepath)
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/mcomix3/mcomix3/mcomix/thumbnail_tools.py", line 170, in _create_thumbnail
    pixbuf, tEXt_data = self._create_thumbnail_pixbuf(filepath)
                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/mcomix3/mcomix3/mcomix/thumbnail_tools.py", line 156, in _create_thumbnail_pixbuf
    pixbuf = image_tools.load_pixbuf_size(filepath, self.width, self.height)
  File "/usr/lib/python3.13/site-packages/mcomix3/mcomix3/mcomix/image_tools.py", line 479, in load_pixbuf_size
    pixbuf = GdkPixbuf.Pixbuf.new_from_file(path)
gi.repository.GLib.GError: gdk-pixbuf-error-quark: Image file “/home/wilhelm/Downloads/Re Wilhelm Mailänder.pdf” contains no data (0)

Local variables in innermost frame:
path: '/home/wilhelm/Downloads/Re Wilhelm Mailänder.pdf'
width: 256
height: 256
fio: <mcomix.lib.reader.LockedFileIO object at 0x7f3fc362e250>
info: None
image_width: -1
image_height: -1

Comment 1 wilhelm+redhat-bugzilla 2025-05-28 17:04:49 UTC
Created attachment 2091959 [details]
File: cpuinfo

Comment 2 wilhelm+redhat-bugzilla 2025-05-28 17:04:51 UTC
Created attachment 2091960 [details]
File: os_info

Comment 3 wilhelm+redhat-bugzilla 2025-05-28 17:04:52 UTC
Created attachment 2091961 [details]
File: mountinfo

Comment 4 wilhelm+redhat-bugzilla 2025-05-28 17:04:54 UTC
Created attachment 2091962 [details]
File: environ

Comment 5 wilhelm+redhat-bugzilla 2025-05-28 17:04:55 UTC
Created attachment 2091963 [details]
File: namespaces

Comment 6 wilhelm+redhat-bugzilla 2025-05-28 17:04:57 UTC
Created attachment 2091964 [details]
File: open_fds

Comment 7 wilhelm+redhat-bugzilla 2025-05-28 17:04:58 UTC
Created attachment 2091965 [details]
File: backtrace

Comment 8 Fedora Update System 2025-06-03 07:02:15 UTC
FEDORA-2025-03e584ca3f (mcomix3-0-0.38.D20211016git483f4b3.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-03e584ca3f

Comment 9 Fedora Update System 2025-06-04 04:30:03 UTC
FEDORA-2025-03e584ca3f has been pushed to the Fedora 42 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-03e584ca3f`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-03e584ca3f

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 10 Fedora Update System 2025-06-12 01:29:32 UTC
FEDORA-2025-03e584ca3f (mcomix3-0-0.38.D20211016git483f4b3.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.