[Debian-on-mobile-maintainers] Bug#1049433: confy: Displays blank page because of invalid image file (e.g. for CCCamp)
Benedikt Wildenhain
debian at benedikt-wildenhain.de
Tue Aug 15 18:35:53 BST 2023
Package: confy
Version: 0.6.5-1
Severity: normal
Dear Maintainer,
I viewed the schedule of CCCamp once, which worked, but after is had
been cached, it could not be viewed again, but clicking on the event
afterwards only leads to a blank page and the following output on the
console:
Conference maps links: [{'title': 'Map', 'url':
'https://map.events.ccc.de/camp/2023/map/'}]
Conference maps links: [{'title': 'Map', 'url':
'https://map.events.ccc.de/camp/2023/map/'}]
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/confy/window.py", line 270, in
on_activate
self.window.show_main(obj)
File "/usr/lib/python3/dist-packages/confy/window.py", line 823, in
show_main
self.view = MainView(self, conf)
^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/confy/window.py", line 357, in
__init__
self.build_gui()
File "/usr/lib/python3/dist-packages/confy/window.py", line 454, in
build_gui
self.map = pages.MapPage(self.conf)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/confy/pages.py", line 710, in
__init__
conf.get_map_files(cbk=self._add_image)
File "/usr/lib/python3/dist-packages/confy/models.py", line 76, in
get_map_files
r.append(local.get_image_async(link['url'], cbk))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/confy/local.py", line 355, in
get_image_async
cbk(None, localfile)
File "/usr/lib/python3/dist-packages/confy/pages.py", line 671, in
_add_image
pixbuf = GdkPixbuf.Pixbuf.new_from_file(imagefile)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gi.repository.GLib.GError: gdk-pixbuf-error-quark: Couldn’t recognize
the image file format for file
“/home/[redacted]/.cache/net.kirgroup.confy/images/0a610c46010edaec986e2c3e4b1f1d20”
(3)
The file in question is a HTML page, so there is probably something
wrong in the schedule information, but that should be handled more
gracefully.
What I did do to fix this problem:
1. Tried to compile the current upstream of confy, which failed due to
outdated blueprint-compiler in debian (0.6).
2. Updated blueprint-compiler to 0.10 (by combining current upstream
source and
Debian's blueprint-compiler_0.6.0-1.debian.tar.xz)
3. Compiled confy from current git commit
ebcd379cf64ff78b0637a2755098e8f38c761493 and using
confy_0.6.5-1.debian.tar.xz
Kind regards
Benedikt Wildenhain
-- System Information:
Debian Release: 12.1
APT prefers stable
APT policy: (990, 'stable'), (500, 'stable-updates'), (500,
'stable-security'), (500, 'stable-debug'), (500, 'oldstable-updates'),
(500, 'oldstable-security'), (500, 'testing'), (500, 'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, armhf
Kernel: Linux 6.4.0-2-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=nl_BE.utf8, LC_CTYPE=nl_BE.utf8 (charmap=UTF-8),
LANGUAGE=nl_BE:nl
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages confy depends on:
ii dconf-gsettings-backend [gsettings-backend] 0.40.0-4
ii gir1.2-gtk-3.0 3.24.37-2
ii gir1.2-handy-1 1.8.1-1
ii gir1.2-notify-0.7 0.8.1-1
ii gnome-icon-theme 3.12.0-5
ii python3 3.11.2-1+b1
ii python3-gi 3.42.2-3+b1
ii python3-icalendar 4.0.3-5
confy recommends no packages.
confy suggests no packages.
-- no debconf information
More information about the Debian-on-mobile-maintainers
mailing list