On Wed, Mar 03, 2010 at 10:28:43PM +0100, Geir Ove Myhr wrote: > On Wed, Mar 3, 2010 at 6:54 PM, Bryce Harrington <[email protected]> wrote: > >> g...@storhaugen:~$ /usr/share/apport/apport-gpu-error-intel.py > >> Traceback (most recent call last): > >> ? File "/usr/share/apport/apport-gpu-error-intel.py", line 117, in <module> > >> ? ? sys.exit(main()) > >> ? File "/usr/share/apport/apport-gpu-error-intel.py", line 82, in main > >> ? ? if report.check_ignored(): > >> ? File "/usr/lib/python2.6/dist-packages/apport/report.py", line 736, > >> in check_ignored > >> ? ? assert self.has_key('ExecutablePath') > >> AssertionError > >> > >> This isn't supposed to happen, is it? Removing the two last lines > >> makes the program complete without AssertionError, but doesn't > >> generate a anything in /var/crash. > > > > The lines it's crashing on are: > > > > ? ?if report.check_ignored(): > > ? ? ? ?return 0 > > > > I have assumed that is just some apport call to check if apport is > > enabled for the given system or not, but have to admit I don't know for > > sure. > > I first thought that this was because I ran the script from the > command line and it was supposed to be invoked through some apport > magic. It turns out it's not only me. There are already 10 duplicates > of this bug report since yesterday(!): > https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/530650 > > > I don't know why the script would raise an error on those lines. > > Perhaps try commenting these two lines out (and nothing else) and see if > > it'll go. > > Didn't work.
Maybe it's the (relatively new) tags line. Try commenting out this line: # report['Tags'] += ' freeze' > g...@storhaugen:~$ ./apport-gpu-error-intel.py > Traceback (most recent call last): > File "./apport-gpu-error-intel.py", line 121, in <module> > sys.exit(main()) > File "./apport-gpu-error-intel.py", line 93, in main > report['PciDisplay'] = pci_devices(PCI_DISPLAY) > TypeError: 'list' object is not callable > > which I guess only means that pci_devices is not a function, but an > array or something, but then I don't really know Python. > > Geir Ove > > -- > Ubuntu-x mailing list > [email protected] > Modify settings or unsubscribe at: > https://lists.ubuntu.com/mailman/listinfo/ubuntu-x -- Ubuntu-x mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-x
