Comment 2 for bug 682845

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Thanks for your report.

The relevant error from dpkg log is
---
Setting up mago (0.3-0ubuntu1) ...

Compiling /usr/lib/python2.6/dist-packages/mago/application/update_manager.py ...

SyntaxError: ('invalid syntax', ('/usr/lib/python2.6/dist-packages/mago/application/update_manager.py', 33, 10, ' WINDOW = _("frmUpdateManager"\n'))

pycentral: pycentral pkginstall: error byte-compiling files (39)

pycentral pkginstall: error byte-compiling files (39)

dpkg: error processing mago (--configure):

 subprocess installed post-installation script returned error exit status 1
---

The file update-manager.py is somewhat broken in this version
    MNU_ITEM = _("mnuUpdateManager"
    WINDOW = _("frmUpdateManager"
    LAUNCHER = "update-manager"
    BTN_CLOSE = _("btnClose"
    BTN_CHECK = _("btnCheck"
    BTN_INSTALL = _("btnInstallUpdates"
    TBL_UPDATES = _("updates"
    BAN_LIST = _(" updates"
    TAB_CHANGES = _("Changes"
    TXT_DESCRIPTION = _("Description"
    LBL_WAIT = _("lblKeepyoursystemup-to-date"
    LBL_UPTODATE = _("lblYoursystemisup-to-date"
    LBL_N_UPDATES = r_('lblYoucaninstall(\d+)updates?')
    LBL_DOWNLOADSIZE = r_(r'lblDownloadsize((\d+)((\.)(\d+))?)(.*)')

I've fixed the update-manager test in the current trunk. We need to package a new version of mago in Natty.