Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • meld meld
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 199
    • Issues 199
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 4
    • Merge requests 4
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOMEGNOME
  • meldmeld
  • Issues
  • #556
Closed (duplicated) (duplicated)
Open
Issue created Feb 08, 2021 by Christopher J. Madsen@madsen

"AttributeError: 'xml.etree.ElementTree.Element' object has no attribute 'getchildren'" on Subversion working copy

I'm getting an error every time I run meld . in a Subversion working copy.

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 (t for t in target.getchildren() if t.tag == "entry"):
AttributeError: 'xml.etree.ElementTree.Element' object has no attribute 'getchildren'

The Meld window shows only the directory name, no files are listed, even though svn status -q shows there are files that should be listed.

This only happens with Subversion; running meld . in a Git repository works fine.

This used to work, although I don't remember exactly when it stopped working. I don't think it was after a Meld upgrade; I probably upgraded something else and it broke Meld. This is on Arch Linux with all packages up-to-date as of today.

I have Meld 3.20.2, svn version 1.14.0 (r1876290) compiled Nov 12 2020, 14:38:24 on x86_64-pc-linux-gnu, and Python 3.9.1.

Edited Feb 09, 2021 by Andre Klapper
Assignee
Assign to
Time tracking