I tried running apport-collect a few more times using a 14.04 daily image, but keep getting these errors:
ubuntu@ubuntu:~$ apport-collect -p xorg 1247624
cat: /var/log/lightdm/x-0-greeter.log: No such file or directory
cat: /var/log/lightdm/x-0-greeter.log.old: No such file or directory
ERROR: hook /usr/share/apport/package-hooks/source_xorg.py crashed:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/apport/report.py", line 197, in _run_hook
symb['add_info'](report, ui)
File "/usr/share/apport/package-hooks/source_xorg.py", line 683, in add_info
attach_3d_info(report, ui)
File "/usr/share/apport/package-hooks/source_xorg.py", line 406, in attach_3d_info
xorglog = xorglog.encode('utf-8')
UnicodeDecodeError: 'ascii' codec can't decode byte 0x8c in position 27066: ordinal not in range(128)
Traceback (most recent call last):
File "/usr/share/apport/apport-gtk", line 594, in <module>
app.run_argv()
File "/usr/lib/python2.7/dist-packages/apport/ui.py", line 674, in run_argv
return self.run_update_report()
File "/usr/lib/python2.7/dist-packages/apport/ui.py", line 594, in run_update_report
attachment_comment='apport information')
File "/usr/lib/python2.7/dist-packages/apport/crashdb_impl/launchpad.py", line 370, in update
report.write_mime(mime, skip_keys=skip_keys)
File "/usr/lib/python2.7/dist-packages/problem_report.py", line 507, in write_mime
attach_value = CompressedValue(v, k).gzipvalue
File "/usr/lib/python2.7/dist-packages/problem_report.py", line 44, in __init__
self.set_value(value)
File "/usr/lib/python2.7/dist-packages/problem_report.py", line 50, in set_value
gzip.GzipFile(self.name, mode='wb', fileobj=out).write(value)
File "/usr/lib/python2.7/gzip.py", line 136, in __init__
self._write_gzip_header()
File "/usr/lib/python2.7/gzip.py", line 181, in _write_gzip_header
self.fileobj.write(fname + '\000')
TypeError: 'unicode' does not have the buffer interface
Do you have a solution so I can generate and send the bug report?
NB I needed to do 'sudo apt-get update && sudo apt-get install python-apport' first.
I tried running apport-collect a few more times using a 14.04 daily image, but keep getting these errors:
ubuntu@ubuntu:~$ apport-collect -p xorg 1247624 lightdm/ x-0-greeter. log: No such file or directory lightdm/ x-0-greeter. log.old: No such file or directory apport/ package- hooks/source_ xorg.py crashed: python2. 7/dist- packages/ apport/ report. py", line 197, in _run_hook 'add_info' ](report, ui) apport/ package- hooks/source_ xorg.py" , line 683, in add_info 3d_info( report, ui) apport/ package- hooks/source_ xorg.py" , line 406, in attach_3d_info encode( 'utf-8' ) apport/ apport- gtk", line 594, in <module> python2. 7/dist- packages/ apport/ ui.py", line 674, in run_argv update_ report( ) python2. 7/dist- packages/ apport/ ui.py", line 594, in run_update_report comment= 'apport information') python2. 7/dist- packages/ apport/ crashdb_ impl/launchpad. py", line 370, in update write_mime( mime, skip_keys= skip_keys) python2. 7/dist- packages/ problem_ report. py", line 507, in write_mime python2. 7/dist- packages/ problem_ report. py", line 44, in __init__ set_value( value) python2. 7/dist- packages/ problem_ report. py", line 50, in set_value GzipFile( self.name, mode='wb', fileobj= out).write( value) python2. 7/gzip. py", line 136, in __init__ _write_ gzip_header( ) python2. 7/gzip. py", line 181, in _write_gzip_header fileobj. write(fname + '\000')
cat: /var/log/
cat: /var/log/
ERROR: hook /usr/share/
Traceback (most recent call last):
File "/usr/lib/
symb[
File "/usr/share/
attach_
File "/usr/share/
xorglog = xorglog.
UnicodeDecodeError: 'ascii' codec can't decode byte 0x8c in position 27066: ordinal not in range(128)
Traceback (most recent call last):
File "/usr/share/
app.run_argv()
File "/usr/lib/
return self.run_
File "/usr/lib/
attachment_
File "/usr/lib/
report.
File "/usr/lib/
attach_value = CompressedValue(v, k).gzipvalue
File "/usr/lib/
self.
File "/usr/lib/
gzip.
File "/usr/lib/
self.
File "/usr/lib/
self.
TypeError: 'unicode' does not have the buffer interface
Do you have a solution so I can generate and send the bug report?
NB I needed to do 'sudo apt-get update && sudo apt-get install python-apport' first.