Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1908453 - meld: svn broken due to python API changes. Patch attached.
Summary: meld: svn broken due to python API changes. Patch attached.
Keywords:
Status: ASSIGNED
Alias: None
Product: Fedora
Classification: Fedora
Component: meld
Version: 33
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Dominic Hopf
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-12-16 17:57 UTC by Gilboa Davara
Modified: 2021-05-04 16:13 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)
meld SVN fix. (905 bytes, patch)
2020-12-16 17:57 UTC, Gilboa Davara
no flags Details | Diff

Description Gilboa Davara 2020-12-16 17:57:00 UTC
Created attachment 1739728 [details]
meld SVN fix.

Description of problem:
Post upgrade to Fedora 33, meld/svn combo no longer works due to Python API deprecation.
See: https://gitlab.gnome.org/GNOME/meld/-/issues/526
For some odd reason I couldn't clean patch meld using the supplied fix so I simply manually created a new patch.
As far as I can see, it works cleanly.


Version-Release number of selected component (if applicable):
meld-3.21.0-5.fc33.noarch


How reproducible:
Always


Steps to Reproduce:
Run meld in SVN root directory.


Actual results:
Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/meld/task.py", line 110, in iteration
    ret = task()
  File "/usr/lib/python3.9/site-packages/meld/vc/_vc.py", line 277, in refresh_vc_state
    self._update_tree_state_cache(path)
  File "/usr/lib/python3.9/site-packages/meld/vc/svn.py", line 188, in _update_tree_state_cache
    for entry in target.iter(tag="entry"):
AttributeError: 'xml.etree.ElementTree.Element' object has no attribute 'getchildren'


Note You need to log in before you can comment on or make changes to this bug.