AssertionError and TypeError message spam in terminal while comparing files

Bug #1981149 reported by Juozas Pocius
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
meld (Ubuntu)
New
Undecided
Unassigned

Bug Description

Running meld from command line triggers a bunch of AssertionError and TypeError message spam while running in terminal. The errors shown below are repeating indefinitely while merging files.

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/meld/filediff.py", line 855, in after_text_delete_range
    self._after_text_modified(buf, starting_at, -self.lines_removed)
  File "/usr/lib/python3/dist-packages/meld/filediff.py", line 808, in _after_text_modified
    self.linediffer.change_sequence(pane, startline, sizechange,
  File "/usr/lib/python3/dist-packages/meld/matchers/diffutil.py", line 202, in change_sequence
    self._change_sequence(0, sequence, startidx, sizechange, texts)
  File "/usr/lib/python3/dist-packages/meld/matchers/diffutil.py", line 331, in _change_sequence
    assert rangex[0] <= rangex[1] and range1[0] <= range1[1]
AssertionError
<repeats a few times>
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/meld/filediff.py", line 848, in after_text_insert_text
    starting_at = buf.get_iter_at_mark(start_mark).get_line()
TypeError: Argument 2 does not allow None as a value
<repeats indefinitely>

Python version 3.10.4

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: meld 3.20.4-2
ProcVersionSignature: Ubuntu 5.15.0-40.43-generic 5.15.35
Uname: Linux 5.15.0-40-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: XFCE
Date: Sun Jul 10 18:07:14 2022
PackageArchitecture: all
SourcePackage: meld
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Juozas Pocius (juozaspo) wrote :
description: updated
Revision history for this message
lotuspsychje (lotuspsychje) wrote :

i tested this on an installed Ubuntu 22.04 (desktop)

and it seems to run both GUI and CLI withour the errors as described above

maybe something XFCE related?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.