Can't run gaphor on Dapper

Bug #34107 reported by Steve Frécinaux
This bug report is a duplicate of:  Bug #30344: Gaphor doesn't start. Edit Remove
4
Affects Status Importance Assigned to Milestone
gaphor (Ubuntu)
Confirmed
Medium
MOTU

Bug Description

I can't get gaphor running on Dapper. Instead, I get this traceback:

** (gaphor:14147): WARNING **: couldn't make the type `CanvasGroup' ready
/usr/lib/python2.4/site-packages/diacanvas/__init__.py:13: RuntimeWarning: tp_compare didn't return -1 or -2 for exception
  from _canvas import *
TypeError: Cannot create a consistent method resolution
order (MRO) for bases GObject, CanvasGroupableIface, CanvasGroupable
/usr/lib/python2.4/site-packages/diacanvas/__init__.py:19: DeprecationWarning: Module gnome.canvas is deprecated; please import gnomecanvas instead
  from view import *
/usr/lib/python2.4/site-packages/gaphor/undomanager.py:195: RuntimeWarning: Interface type UndoManager has no python implementation support
  gobject.type_register(UndoManager)
Traceback (most recent call last):
  File "/usr/bin/gaphor", line 10, in ?
    gaphor.main(model)
  File "/usr/lib/python2.4/site-packages/gaphor/__init__.py", line 48, in main
    import diagram
  File "/usr/lib/python2.4/site-packages/gaphor/diagram/__init__.py", line 56, in ?
    from classifier import ClassifierItem
  File "/usr/lib/python2.4/site-packages/gaphor/diagram/classifier.py", line 18, in ?
    from nameditem import NamedItem
  File "/usr/lib/python2.4/site-packages/gaphor/diagram/nameditem.py", line 9, in ?
    from elementitem import ElementItem
  File "/usr/lib/python2.4/site-packages/gaphor/diagram/elementitem.py", line 74, in ?
    initialize_item(ElementItem)
  File "/usr/lib/python2.4/site-packages/gaphor/diagram/__init__.py", line 39, in initialize_item
    if (diacanvas.CanvasItem in bases) or \
AttributeError: 'module' object has no attribute 'CanvasGroup'

I also cannot try with newer source package because libdiacanvas is too old for 0.8

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

Change source package name (gopher -> gaphor) and confirm the bug with Gaphor 0.7.1-1

Changed in gopher:
assignee: nobody → motu
status: Unconfirmed → Confirmed
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.