Ubuntu

memaker crashed with GError in __init__()

Reported by Murat Gunes on 2009-09-03
104
This bug affects 18 people
Affects Status Importance Assigned to Milestone
MeMaker
Medium
Joseph Walton-Rivers
memaker (Ubuntu)
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

Murat Gunes (mgunes) wrote :
tags: removed: need-duplicate-check
Murat Gunes (mgunes) on 2009-09-11
visibility: private → public

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.

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

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.

Diff Attached.

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

I've tried this patch and it worked.

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)

Hello,
Here is the Diff you requested.

Webpigeon.

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

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
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

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

Here is the patch for trunk

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

Duplicates of this bug

Other bug subscribers