| Summary: | app-portage/layman-2.0.0-r3 fails to add any overlays, seems to be an xml-parsing error. | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | cthulhu <lordkamotho> |
| Component: | [OLD] Unspecified | Assignee: | Layman Overlay Manager project <layman> |
| Status: | RESOLVED NEEDINFO | ||
| Severity: | major | ||
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | AMD64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
`emerge layman` output
`layman -a elementary` output |
||
|
Description
cthulhu
2016-04-08 06:38:52 UTC
2.0.0 is pretty old at this point. Any chance you can see if it works with 2.3? Might be that the master lists are using a newer format that breaks compat with the older version. This error looks like it is failing to load the installed overlays db it keeps. Is this the first overlay to be installed? or did you downgrade layman, with an existing installed db? I'll have to do some conversion from a newer format and version to be able to test this out more. If this is a new install and no installed overlays, you will likely have to manually delete the elementary repo before you re-try. Created attachment 430776 [details]
`emerge layman` output
Created attachment 430778 [details]
`layman -a elementary` output
No overlays installed successfully thus far, so yes, this is the first. `layman-updater -R` ouput:
Creating layman's repos.conf file
Traceback (most recent call last):
File "/usr/lib64/python3.4/site-packages/layman/dbbase.py", line 157, in read
document = ET.fromstring(text)
File "/usr/lib64/python3.4/xml/etree/ElementTree.py", line 1326, 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.4/layman-updater", line 30, in <module>
main()
File "/usr/lib64/python3.4/site-packages/layman/updater.py", line 90, in __call__
elif not self.check_is_new(self.args.rebuild):
File "/usr/lib64/python3.4/site-packages/layman/updater.py", line 102, in check_is_new
getattr(self, 'create_%(conf)s' % {'conf': conf})()
File "/usr/lib64/python3.4/site-packages/layman/updater.py", line 187, in create_repos_conf
for ovl in layman_inst.get_installed():
File "/usr/lib64/python3.4/site-packages/layman/api.py", line 578, in get_installed
self._installed_ids = self._get_installed_db(dbreload).list_ids()
File "/usr/lib64/python3.4/site-packages/layman/api.py", line 585, in _get_installed_db
self._installed_db = DB(self.config)
File "/usr/lib64/python3.4/site-packages/layman/db.py", line 63, in __init__
allow_missing=True,
File "/usr/lib64/python3.4/site-packages/layman/dbbase.py", line 111, in __init__
self.read_file(path)
File "/usr/lib64/python3.4/site-packages/layman/dbbase.py", line 143, in read_file
self.read(document, origin=path)
File "/usr/lib64/python3.4/site-packages/layman/dbbase.py", line 158, in read
except xml.parsers.expat.ExpatError as error:
AttributeError: 'module' object has no attribute 'parsers'
Are you still experiencing this issue? |