The original issue with welcome.py is fixed in 3.4.1, but I also noticed
an error was hit with the apport hook, so am redefining this bug report
to focus on that latter issue.
The apport hook passed its tests and runs fine for me locally, but
apparently it is slightly different when run under apport in an actual
install. I've repro'd the error and will work on a fix.
** Changed in: xdiagnose (Ubuntu)
Status: Confirmed => Triaged
** Changed in: xdiagnose (Ubuntu)
Importance: Undecided => Critical
** Changed in: xdiagnose (Ubuntu)
Assignee: (unassigned) => Bryce Harrington (bryce)
** Summary changed:
- package xdiagnose 3.4 failed to install/upgrade: installed post-installation
script alfolyamat 101 hibakóddal kilépett
+ package xdiagnose 3.4.1 failed to install/upgrade
** Summary changed:
- package xdiagnose 3.4.1 failed to install/upgrade
+ xdiagnose 3.4.1 apport hook errors about __file__ undefined
** Description changed:
- Some syntax error is in the welcome.py file, but I cannot provide the
- exact error message.
+ 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: Package
DistroRelease: Ubuntu 13.04
Package: xdiagnose 3.4
ProcVersionSignature: Ubuntu 3.8.0-1.5-generic 3.8.0-rc4
Uname: Linux 3.8.0-1-generic x86_64
ApportVersion: 2.8-0ubuntu2
Architecture: amd64
Date: Sat Jan 19 15:16:06 2013
ErrorMessage: installed post-installation script alfolyamat 101 hibakóddal
kilépett
InstallationDate: Installed on 2013-01-19 (0 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Alpha amd64 (20130118)
MarkForUpload: True
PackageArchitecture: all
SourcePackage: xdiagnose
Title: package xdiagnose 3.4 failed to install/upgrade: installed
post-installation script alfolyamat 101 hibakóddal kilépett
UpgradeStatus: No upgrade log present (probably fresh install)
--
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xdiagnose in Ubuntu.
https://bugs.launchpad.net/bugs/1101800
Title:
xdiagnose 3.4.1 apport hook errors about __file__ undefined
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xdiagnose/+bug/1101800/+subscriptions
_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : [email protected]
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help : https://help.launchpad.net/ListHelp