-
Notifications
You must be signed in to change notification settings - Fork 98
Description
Describe the bug
A clear and concise description of what the bug is.
The package on Fedora 42 crashes with:
pympress thales_element_gain.pdf
Traceback (most recent call last):
File "/usr/lib/python3.13/site-packages/pympress/app.py", line 234, in do_open
self.do_activate(timestamp=GLib.get_current_time())
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.13/site-packages/pympress/app.py", line 164, in do_activate
self.gui = ui.UI(self, self.config)
~~~~~^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.13/site-packages/pympress/ui.py", line 212, in init
self.load_ui('presenter')
~~~~~~~~~~~~^^^^^^^^^^^^^
File "/usr/lib/python3.13/site-packages/pympress/builder.py", line 186, in load_ui
self.__translate_widget_strings(obj)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^
File "/usr/lib/python3.13/site-packages/pympress/builder.py", line 79, in __translate_widget_strings
for str_prop in (prop.name for prop in a_widget.props if prop.value_type == GObject.TYPE_STRING):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.13/site-packages/pympress/builder.py", line 79, in
for str_prop in (prop.name for prop in a_widget.props if prop.value_type == GObject.TYPE_STRING):
^^^^^^^^^^^^^^
TypeError: 'gi._gi.GPropsIter' object is not iterable
This is a known problem fixed upstream. Can we get an update?
This is Source : python3-pympress-1.8.6-1.fc42.src.rpm
From repository : copr:copr.fedorainfracloud.org:cimbali:pympress
To Reproduce
Steps to reproduce the behavior:
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
- OS: [e.g. Ubuntu]
- Python version: [e.g. 3.9]
- Pympress version: [e.g. 1.5.0]
- Installation method: [e.g. source, pip, binary installer, chocolatey, copr, other package manager]
Debug information (see below for file locations)
- What is reported in pympress.log?
- Does the problem still happen if you remove your config file?
(You can just move the config file to a different location to be able to restore it after testing)
Additional context
Add any other context about the problem here.