how to solve error processing /usr/lib/python2.7/dist-packages/pygst.pth:?
- by ChitKo
Error processing line 1 of /usr/lib/python2.7/dist-packages/pygst.pth:
Traceback (most recent call last):
File "/usr/lib/python2.7/site.py", line 161, in addpackage
if not dircase in known_paths and os.path.exists(dir):
File "/usr/lib/python2.7/genericpath.py", line 18, in exists
os.stat(path)
TypeError: must be encoded string without NULL bytes, not str
Remainder of file ignored
Error processing line 1 of /usr/lib/python2.7/dist-packages/pygtk.pth:
Traceback (most recent call last):
File "/usr/lib/python2.7/site.py", line 161, in addpackage
if not dircase in known_paths and os.path.exists(dir):
File "/usr/lib/python2.7/genericpath.py", line 18, in exists
os.stat(path)
TypeError: must be encoded string without NULL bytes, not str
Remainder of file ignored
Traceback (most recent call last):
File "/usr/share/apport/apport-gtk", line 16, in <module>
from gi.repository import GObject
File "/usr/lib/python2.7/dist-packages/gi/importer.py", line 76, in load_module
dynamic_module._load()
File "/usr/lib/python2.7/dist-packages/gi/module.py", line 222, in _load
version)
File "/usr/lib/python2.7/dist-packages/gi/module.py", line 90, in __init__
repository.require(namespace, version)
gi.RepositoryError: Failed to load typelib file '/usr/lib/girepository-1.0/GLib-2.0.typelib' for namespace 'GLib': Invalid magic header