Description of problem: Clicked on Variety icon & selected History. From the presented images in History , I deleted all the images one by one. Deleting the last image crashed Variety. Version-Release number of selected component: variety-0.8.10-1.fc38 Additional info: reporter: libreport-2.17.11 kernel: 6.4.10-200.fc38.x86_64 cgroup: 0::/user.slice/user-1000.slice/user/app.slice/app-variety uid: 1000 reason: ThumbsWindow.py:382:autoscroll_step:ZeroDivisionError: float division by zero executable: /usr/bin/variety type: Python3 package: variety-0.8.10-1.fc38 runlevel: N 5 exception_type: ZeroDivisionError crash_function: autoscroll_step interpreter: python3-3.11.4-1.fc38.x86_64 comment: Clicked on Variety icon & selected History. From the presented images in History , I deleted all the images one by one. Deleting the last image crashed Variety. cmdline: /usr/bin/python3 /usr/bin/variety --profile /home/user/.config/variety/ Truncated backtrace: ThumbsWindow.py:382:autoscroll_step:ZeroDivisionError: float division by zero Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/variety/Util.py", line 876, in cb args[0](*args[1:]) File "/usr/lib/python3.11/site-packages/variety/ThumbsWindow.py", line 407, in _go self.autoscroll_step( File "/usr/lib/python3.11/site-packages/variety/ThumbsWindow.py", line 382, in autoscroll_step speed = 30 * (current - right_limit) ** 3 / (total_size - right_limit) ** 3 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ZeroDivisionError: float division by zero Local variables in innermost frame: self: <ThumbsWindow.ThumbsWindow object at 0x7f57b8dea640 (variety+ThumbsWindow+ThumbsWindow at 0x555fb6119ba0)> adj: <Gtk.Adjustment object at 0x7f57b8e7c240 (GtkAdjustment at 0x555fb62e3690)> total_size: 0 current: 18.0 left_limit: 0.0 right_limit: 0.0
Created attachment 1983738 [details] File: os_info
Created attachment 1983739 [details] File: namespaces
Created attachment 1983740 [details] File: backtrace
Created attachment 1983741 [details] File: cpuinfo
Created attachment 1983742 [details] File: mountinfo
Created attachment 1983743 [details] File: open_fds
Created attachment 1983744 [details] File: environ
upstream ticket: https://github.com/varietywalls/variety/issues/639
FEDORA-2024-ec60ac3edc has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2024-ec60ac3edc
FEDORA-2024-0f46b7165e has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2024-0f46b7165e
FEDORA-2024-0f46b7165e has been pushed to the Fedora 39 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-0f46b7165e` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-0f46b7165e See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2024-ec60ac3edc has been pushed to the Fedora 38 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-ec60ac3edc` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-ec60ac3edc See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2024-ec60ac3edc (variety-0.8.12-1.fc38) has been pushed to the Fedora 38 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2024-0f46b7165e (variety-0.8.12-1.fc39) has been pushed to the Fedora 39 stable repository. If problem still persists, please make note of it in this bug report.