Jump to content
Read the Funtoo Newsletter: Summer 2023 ×
  • 0

AttributeError: 'ElementTree' object has no attribute 'getiterator'



Asked this before but dont see any fix

equery u cronie
Traceback (most recent call last):
 File "/usr/lib/python-exec/python3.9/equery", line 38, in <module>
 File "/usr/lib/python3.9/site-packages/gentoolkit/equery/__init__.py", line 356, in main
 File "/usr/lib/python3.9/site-packages/gentoolkit/equery/uses.py", line 306, in main
   output = get_output_descriptions(pkg, global_usedesc)
 File "/usr/lib/python3.9/site-packages/gentoolkit/equery/uses.py", line 186, in get_output_descriptions
   local_usedesc = pkg.metadata.use()
 File "/usr/lib/python3.9/site-packages/gentoolkit/metadata.py", line 286, in use
   for node in self._xml_tree.getiterator('flag'):
AttributeError: 'ElementTree' object has no attribute 'getiterator'


The problem is that gentoolkit does not work with python 3.9

I cant downgrade to 3.7 as everything goes wrong

Surely someone else has this problem?


Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...