Jump to content
  • 0

Layman python issue


eliptats
 Share

Question

This is what happens when I try to add an overlay

 

 * Adding overlay...
Traceback (most recent call last):
  File "/usr/lib64/python3.3/site-packages/layman/dbbase.py", line 157, in read
    document = ET.fromstring(text)
  File "/usr/lib64/python3.3/xml/etree/ElementTree.py", line 1357, in XML
    return parser.close()
xml.etree.ElementTree.ParseError: no element found: line 1, column 0

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.3/layman", line 45, in <module>
    main()
  File "/usr/lib64/python3.3/site-packages/layman/cli.py", line 197, in __call__
    result += getattr(self, action[1])()
  File "/usr/lib64/python3.3/site-packages/layman/cli.py", line 246, in Add
    result = self.api.add_repos(selection, update_news=True)
  File "/usr/lib64/python3.3/site-packages/layman/api.py", line 150, in add_repos
    if self.is_installed(ovl):
  File "/usr/lib64/python3.3/site-packages/layman/api.py", line 94, in is_installed
    return ovl in self.get_installed()
  File "/usr/lib64/python3.3/site-packages/layman/api.py", line 578, in get_installed
    self._installed_ids = self._get_installed_db(dbreload).list_ids()
  File "/usr/lib64/python3.3/site-packages/layman/api.py", line 585, in _get_installed_db
    self._installed_db = DB(self.config)
  File "/usr/lib64/python3.3/site-packages/layman/db.py", line 62, in __init__
    ignore=ignore,
  File "/usr/lib64/python3.3/site-packages/layman/dbbase.py", line 111, in __init__
    self.read_file(path)
  File "/usr/lib64/python3.3/site-packages/layman/dbbase.py", line 143, in read_file
    self.read(document, origin=path)
  File "/usr/lib64/python3.3/site-packages/layman/dbbase.py", line 158, in read
    except xml.parsers.expat.ExpatError as error:
AttributeError: 'module' object has no attribute 'parsers'
 

I'm using 2.2.0-r7, I also tried istalling 9999 but it didn't help.

 

 

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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
 Share

×
×
  • Create New...