Public bug reported:

Got the following error when updating today.

$ sudo dpkg --configure -a
Setting up xdiagnose (3.4) ...
SyntaxError: ('invalid syntax', 
('/usr/lib/python2.7/dist-packages/xdiagnose/welcome.py', 219, 32, '            
     "--height=480")\n'))

dpkg: error processing xdiagnose (--configure):
 subprocess installed post-installation script returned error exit status 101
Errors were encountered while processing:
 xdiagnose

$ ubuntu-bug xdiagnose
ERROR: hook /usr/share/apport/package-hooks/source_xdiagnose.py crashed:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/apport/report.py", line 195, in _run_hook
    exec(compile(fd.read(), hook, 'exec'), symb)
  File "/usr/share/apport/package-hooks/source_xdiagnose.py", line 27, in 
<module>
    os.path.join(os.path.dirname(__file__), "..")))
NameError: name '__file__' is not defined

ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: xdiagnose 3.4
ProcVersionSignature: Ubuntu 3.8.0-0.4-generic 3.8.0-rc3
Uname: Linux 3.8.0-0-generic x86_64
ApportVersion: 2.8-0ubuntu2
Architecture: amd64
Date: Sat Jan 19 00:02:03 2013
InstallationDate: Installed on 2012-12-31 (19 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Alpha amd64 (20121230)
MarkForUpload: True
PackageArchitecture: all
SourcePackage: xdiagnose
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: xdiagnose (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug raring

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1101678

Title:
  SyntaxError when trying to update: 'invalid syntax' in
  /usr/lib/python2.7/dist-packages/xdiagnose/welcome.py'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xdiagnose/+bug/1101678/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to