Apport in quantal and running runs as python3.
First the approt hook fails with dirspec import error, as python3-dirspec is not installed.
In python3, dirspec returns bytes and os.path.join doesn't allow mixing bytes and strings in path components.
$ python3 -c "import os; os.path.join(b'somebytes', 'somestring')"
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/python3.3/posixpath.py", line 92, in join
"components.") from None
TypeError: Can't mix strings and bytes in path components.
This is to fix apport hook, cause currently apport hook fails in Quantal & Raring. Thus no bug reports filed from quantal/raring have any data that is meant to be collected by this hook.
Apport in quantal and running runs as python3.
First the approt hook fails with dirspec import error, as python3-dirspec is not installed.
In python3, dirspec returns bytes and os.path.join doesn't allow mixing bytes and strings in path components.
$ python3 -c "import os; os.path. join(b' somebytes' , 'somestring')" python3. 3/posixpath. py", line 92, in join
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/
"components.") from None
TypeError: Can't mix strings and bytes in path components.
This is to fix apport hook, cause currently apport hook fails in Quantal & Raring. Thus no bug reports filed from quantal/raring have any data that is meant to be collected by this hook.