hook /usr/share/apport/general-hooks/medibuntu.py crashed

Bug #1072040 reported by mdmcginn
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Medibuntu
Invalid
Undecided
Unassigned

Bug Description

me@here:/var/crash$ ubuntu-bug apport-hooks-medibuntu
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9: reading configurations from ~/.fonts.conf is deprecated.
ERROR: hook /usr/share/apport/general-hooks/medibuntu.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/general-hooks/medibuntu.py", line 17
    except ValueError, e:
                     ^
SyntaxError: invalid syntax

Happens each time I run ubuntu-bug.

Revision history for this message
Lionel Le Folgoc (mrpouit) wrote :

What's the Ubuntu release used? Which version of the apport hook is installed?

Revision history for this message
mdmcginn (mcweb) wrote :

ProblemType: Bug
DistroRelease: Ubuntu 12.10
ProcVersionSignature: Ubuntu 3.5.0-17.28-generic 3.5.5
Uname: Linux 3.5.0-17-generic i686
ApportVersion: 2.6.1-0ubuntu6
Architecture: i386
Date: Sat Oct 27 06:22:18 2012
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
UpgradeStatus: Upgraded to quantal on 2012-09-23 (33 days ago)

My version of medibuntu.py is copyright 2009.

Revision history for this message
mdmcginn (mcweb) wrote :

me@here:/usr/share/apport/general-hooks$ cat medibuntu.py
'''Send crashes to Medibuntu if the package comes from Medibuntu.

Copyright (C) 2009 Lionel Le Folgoc <email address hidden>
Author: Lionel Le Folgoc <email address hidden>

This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 2 of the License, or (at your
option) any later version. See http://www.gnu.org/copyleft/gpl.html for
the full text of the license.
'''

def add_info(report):
    try:
        if report['Package'].split()[1].find('medibuntu') != -1:
            report['CrashDB'] = 'medibuntu'
    except ValueError, e:
        return

Revision history for this message
Gauvain Pocentek (gpocentek) wrote :

This bug has been fixed a while ago. Please upgrade the apport-hooks-medibuntu package.

Changed in medibuntu:
status: New → Invalid
Revision history for this message
mdmcginn (mcweb) wrote :

The latest version available to me still has the bug:

me@here:~$ sudo apt-get install apport-hooks-medibuntu
[sudo] password for michael:
Reading package lists... Done
Building dependency tree
Reading state information... Done
apport-hooks-medibuntu is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
me@here:~$ ubuntu-bug nautilus
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9: reading configurations from ~/.fonts.conf is deprecated.
ERROR: hook /usr/share/apport/general-hooks/medibuntu.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/general-hooks/medibuntu.py", line 17
    except ValueError, e:
                     ^
SyntaxError: invalid syntax

Revision history for this message
Gauvain Pocentek (gpocentek) wrote :

Did you enable medibuntu again after the upgrade to 12.10? Ubuntu disables the third party repositories for the upgrade.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.