memaker crashed with GError in __init__()

Bug #423492 reported by Murat Gunes
104
This bug affects 18 people
Affects Status Importance Assigned to Milestone
MeMaker
Fix Committed
Medium
Joseph Walton-Rivers
memaker (Ubuntu)
Fix Released
Undecided
Andrew Starr-Bochicchio

Bug Description

Binary package hint: memaker

MeMaker crashes at startup in Karmic, without a brief display of the window seen in some other bugs.

ProblemType: Crash
Architecture: amd64
Date: Thu Sep 3 05:19:47 2009
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/bin/memaker
InterpreterPath: /usr/bin/python2.6
NonfreeKernelModules: nvidia
Package: memaker 1.5-0ubuntu2
PackageArchitecture: all
ProcCmdline: python /usr/bin/memaker
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-9.29-generic
PythonArgs: ['/usr/bin/memaker']
SourcePackage: memaker
Title: memaker crashed with GError in __init__()
Uname: Linux 2.6.31-9-generic x86_64
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Revision history for this message
Murat Gunes (mgunes) wrote :
tags: removed: need-duplicate-check
Murat Gunes (mgunes)
visibility: private → public
Revision history for this message
Joseph Walton-Rivers (webpigeon) wrote :

webpigeon@joseph-laptop:~$ memaker
Traceback (most recent call last):
  File "/usr/bin/memaker", line 39, in <module>
    app = MeMakerGui.MeMakerGui()
  File "/usr/lib/python2.6/dist-packages/MeMaker/MeMakerGui.py", line 84, in __init__
    self.meMakerWin.add_from_file(gtkbuilderfile)
glib.GError: Duplicate object id 'image1' on line 1785 (previously on line 375)

^ the following is the python error from my install, as I am unsure if it has already been posted.

Revision history for this message
Joseph Walton-Rivers (webpigeon) wrote :

Added another duplicate as it had the same debug information, changed to confirmed as there are three duplicates (+ myself)

Changed in memaker (Ubuntu):
status: New → Confirmed
Revision history for this message
Joseph Walton-Rivers (webpigeon) wrote :

I have tracked the issue to the memaker.ui file, the IDs of your GUI components are not unique within the file. This is causing GTK to though a tantrum. Renaming the IDs to something else (possibly more related to the job of the UI element (ie. image1 -> gtk-save-as-image) would probably fix this issue.

Revision history for this message
Joseph Walton-Rivers (webpigeon) wrote :

Diff Attached.

Changed in memaker:
assignee: nobody → Joseph Walton-Rivers (webpigeon)
Changed in memaker:
status: New → Fix Committed
importance: Undecided → Medium
Revision history for this message
Luis Pratas (luispratas) wrote :

I've tried this patch and it worked.

Revision history for this message
Andrew Starr-Bochicchio (andrewsomething) wrote :

Seems like something we should cherry pick for Karmic. Could you please provide a unified diff ('diff -Nru')? It makes it much easier to review and sponsor a change.

Changed in memaker (Ubuntu):
status: Confirmed → In Progress
assignee: nobody → Andrew Starr-Bochicchio (andrewsomething)
Revision history for this message
Joseph Walton-Rivers (webpigeon) wrote :

Hello,
Here is the Diff you requested.

Webpigeon.

Revision history for this message
Andrew Starr-Bochicchio (andrewsomething) wrote :

Thanks Joseph! I've applied the patch to the Ubuntu package.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package memaker - 1.5-0ubuntu3

---------------
memaker (1.5-0ubuntu3) karmic; urgency=low

  * debian/patches/lp423492.dpatch:
   - Make IDs of GUI components unique within data/memaker.ui
     Fixes crash on start up. (LP: #423492) Thanks to Joseph Walton-Rivers.
  * Add debian/README.source explaining dpatch.
  * debian/control: Bump Standards-Version to 3.8.3
  * debian/rules: Don't install empty dirs.

 -- Andrew Starr-Bochicchio <email address hidden> Mon, 05 Oct 2009 14:13:38 -0400

Changed in memaker (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
fberger (fberger-fbmd) wrote :

This bug is still present in the download from the memaker launchpad front page (http://launchpad.net/memaker/trunk/1.5/+download/memaker-1.5.tar.gz) released on 2009-08-26 and in the bzr checkout done with

$ bzr branch lp:memaker

Why did you fix that for Ubuntu only? Please reopen this bug until it is fixed in the download release + trunk.

Regards,
Florian

Revision history for this message
Joseph Walton-Rivers (webpigeon) wrote :

My patch doesn't work with trunk. I'll re-do the changes and generate a new patch.

Revision history for this message
Joseph Walton-Rivers (webpigeon) wrote :

Here is the patch for trunk

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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