FS#59651 - [meld] treehelper is incompatible with python 3.7

Attached to Project: Arch Linux
Opened by loqs (loqs) - Monday, 13 August 2018, 20:23 GMT
Last edited by Evangelos Foutras (foutrelis) - Monday, 13 August 2018, 21:07 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
meld's treehelper explicitly raises StopIteration which is incompatible with python 3.7

Additional info:
* meld 3.19.0-2
* upstream fix https://gitlab.gnome.org/GNOME/meld/commit/bdf159110a99012f549039636209ec0c99a4715c

Steps to reproduce:
run meld from the console on two source trees containing sub directories with differing contents output below such as example below
meld hplip-3.18.6 hplip-3.18.7
/usr/bin/meld:206: PyGIDeprecationWarning: GObject.glib_version is deprecated; use GLib.glib_version instead
assert GObject.glib_version >= glib_requirement
Traceback (most recent call last):
File "/usr/lib/python3.7/site-packages/meld/treehelpers.py", line 111, in inorder_search_up
raise StopIteration()
StopIteration

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/usr/lib/python3.7/site-packages/meld/dirdiff.py", line 1090, in on_treeview_cursor_changed
prev, next = self.model._find_next_prev_diff(cursor_path)
File "/usr/lib/python3.7/site-packages/meld/tree.py", line 173, in _find_next_prev_diff
return self.get_previous_next_paths(start_path, match_func)
File "/usr/lib/python3.7/site-packages/meld/treehelpers.py", line 122, in get_previous_next_paths
for it in self.inorder_search_up(start_iter):
RuntimeError: generator raised StopIteration
Traceback (most recent call last):
File "/usr/lib/python3.7/site-packages/meld/treehelpers.py", line 111, in inorder_search_up
raise StopIteration()
StopIteration

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/usr/lib/python3.7/site-packages/meld/dirdiff.py", line 1090, in on_treeview_cursor_changed
prev, next = self.model._find_next_prev_diff(cursor_path)
File "/usr/lib/python3.7/site-packages/meld/tree.py", line 173, in _find_next_prev_diff
return self.get_previous_next_paths(start_path, match_func)
File "/usr/lib/python3.7/site-packages/meld/treehelpers.py", line 122, in get_previous_next_paths
for it in self.inorder_search_up(start_iter):
RuntimeError: generator raised StopIteration
This task depends upon

Closed by  Evangelos Foutras (foutrelis)
Monday, 13 August 2018, 21:07 GMT
Reason for closing:  Fixed
Additional comments about closing:  meld 3.19.0-3

Loading...