Skip to content

Instantly share code, notes, and snippets.

@JohnBat26
Created September 8, 2013 11:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JohnBat26/6483850 to your computer and use it in GitHub Desktop.
Save JohnBat26/6483850 to your computer and use it in GitHub Desktop.
johnbat26 # layman -l
Traceback (most recent call last):
File "/usr/bin/layman-python2.7", line 45, in <module>
main()
File "/usr/lib64/python2.7/site-packages/layman/cli.py", line 184, in __call__
result += getattr(self, action[1])()
File "/usr/lib64/python2.7/site-packages/layman/cli.py", line 319, in ListLocal
width=list_printer.width)
File "/usr/lib64/python2.7/site-packages/layman/api.py", line 286, in get_info_list
return self._get_installed_db().list(verbose=verbose, width=width)
File "/usr/lib64/python2.7/site-packages/layman/api.py", line 487, in _get_installed_db
self._installed_db = DB(self.config)
File "/usr/lib64/python2.7/site-packages/layman/db.py", line 68, in __init__
ignore=ignore,
File "/usr/lib64/python2.7/site-packages/layman/dbbase.py", line 101, in __init__
self.read_file(path)
File "/usr/lib64/python2.7/site-packages/layman/dbbase.py", line 133, in read_file
self.read(document, origin=path)
File "/usr/lib64/python2.7/site-packages/layman/dbbase.py", line 159, in read
except xml.parsers.expat.ExpatError, error:
AttributeError: 'module' object has no attribute 'expat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment