Bug 2368354 - [abrt] mcomix3-base: open(): image_tools.py:479:load_pixbuf_size:gi.repository.GLib.GError: gdk-pixbuf-error-quark: Couldn’t recognize the image file format for file “/home/helmut/Dokumente/Finanz/HHanle/20250515_DahrlehensvertragSolarparkHelmut/Darlehens
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:13acd4b0fa19a249ae3f3b6f4bd...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-05-24 09:47 UTC by Effendi eL'Mut
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:30 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: os_info (729 bytes, text/plain)
2025-05-24 09:47 UTC, Effendi eL'Mut
no flags Details
File: environ (2.89 KB, text/plain)
2025-05-24 09:47 UTC, Effendi eL'Mut
no flags Details
File: mountinfo (3.99 KB, text/plain)
2025-05-24 09:47 UTC, Effendi eL'Mut
no flags Details
File: open_fds (344 bytes, text/plain)
2025-05-24 09:47 UTC, Effendi eL'Mut
no flags Details
File: namespaces (171 bytes, text/plain)
2025-05-24 09:47 UTC, Effendi eL'Mut
no flags Details
File: backtrace (2.36 KB, text/plain)
2025-05-24 09:47 UTC, Effendi eL'Mut
no flags Details
File: cpuinfo (3.08 KB, text/plain)
2025-05-24 09:47 UTC, Effendi eL'Mut
no flags Details

Description Effendi eL'Mut 2025-05-24 09:47:11 UTC
Version-Release number of selected component:
mcomix3-base-0-0.36.D20211016git483f4b3.fc42

Additional info:
reporter:       libreport-2.17.15
kernel:         6.14.6-300.fc42.x86_64
cmdline:        /usr/bin/python3 /usr/lib/python3.13/site-packages/mcomix3/comicthumb.py /home/helmut/Dokumente/Finanz/HHanle/20250515_DahrlehensvertragSolarparkHelmut/Darlehensvertrag_150000_BrechtHanle_KontoInfo.pdf /tmp/.mate_desktop_thumbnail.YFGU62 128
cgroup:         0::/user.slice/user-1000.slice/session-4.scope
uid:            1000
reason:         image_tools.py:479:load_pixbuf_size:gi.repository.GLib.GError: gdk-pixbuf-error-quark: Couldn’t recognize the image file format for file “/home/helmut/Dokumente/Finanz/HHanle/20250515_DahrlehensvertragSolarparkHelmut/Darlehensvertrag_150000_BrechtHanle_KontoInfo.pdf” (3)
executable:     /usr/lib/python3.13/site-packages/mcomix3/comicthumb.py
type:           Python3
package:        mcomix3-base-0-0.36.D20211016git483f4b3.fc42
runlevel:       N 5
exception_type: PIL.UnidentifiedImageError
crash_function: open
interpreter:    python3-3.13.3-2.fc42.x86_64

Truncated backtrace:
image_tools.py:479:load_pixbuf_size:gi.repository.GLib.GError: gdk-pixbuf-error-quark: Couldn’t recognize the image file format for file “/home/helmut/Dokumente/Finanz/HHanle/20250515_DahrlehensvertragSolarparkHelmut/Darlehensvertrag_150000_BrechtHanle_KontoInfo.pdf” (3)

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 0x7f67446dfe20>

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: Couldn’t recognize the image file format for file “/home/helmut/Dokumente/Finanz/HHanle/20250515_DahrlehensvertragSolarparkHelmut/Darlehensvertrag_150000_BrechtHanle_KontoInfo.pdf” (3)

Local variables in innermost frame:
path: '/home/helmut/Dokumente/Finanz/HHanle/20250515_DahrlehensvertragSolarparkHelmut/Darlehensvertrag_150000_BrechtHanle_KontoInfo.pdf'
width: 128
height: 128
fio: <mcomix.lib.reader.LockedFileIO object at 0x7f67446dfe20>
info: None
image_width: -1
image_height: -1

Comment 1 Effendi eL'Mut 2025-05-24 09:47:14 UTC
Created attachment 2091345 [details]
File: os_info

Comment 2 Effendi eL'Mut 2025-05-24 09:47:15 UTC
Created attachment 2091346 [details]
File: environ

Comment 3 Effendi eL'Mut 2025-05-24 09:47:16 UTC
Created attachment 2091347 [details]
File: mountinfo

Comment 4 Effendi eL'Mut 2025-05-24 09:47:18 UTC
Created attachment 2091348 [details]
File: open_fds

Comment 5 Effendi eL'Mut 2025-05-24 09:47:19 UTC
Created attachment 2091349 [details]
File: namespaces

Comment 6 Effendi eL'Mut 2025-05-24 09:47:20 UTC
Created attachment 2091350 [details]
File: backtrace

Comment 7 Effendi eL'Mut 2025-05-24 09:47:22 UTC
Created attachment 2091351 [details]
File: cpuinfo

Comment 8 Fedora Update System 2025-06-03 07:02:12 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:01 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:30 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.