Opened 14 years ago

Closed 14 years ago

#1112 closed defect (fixed)

grass7 wxGUI fails to start as can't find embeddedimage

Reported by: hamish Owned by: grass-dev@…
Priority: normal Milestone: 7.0.0
Component: wxGUI Version: svn-trunk
Keywords: Cc:
CPU: x86-64 Platform: Linux

Description

the grass 7 wxGUI dies on startup for me with:

 Traceback (most recent call last):
  File "/home/hamish/dev/grass/svn/trunk/dist.x86_64-unknown-linux-gnu/etc/gui/wxpython/wxgui.py", line 74, in <module>
    import gui_modules.gcpmanager as gcpmanager
  File "/home/hamish/dev/grass/svn/trunk/dist.x86_64-unknown-linux-gnu/etc/gui/wxpython/gui_modules/gcpmanager.py", line 37, in <module>
    from wx.lib.embeddedimage import PyEmbeddedImage
ImportError: No module named embeddedimage

debian/stable on amd64: python 2.5.2, wx 2.8.7

thanks, Hamish

Change History (3)

in reply to:  description ; comment:1 by mmetz, 14 years ago

Replying to hamish:

the grass 7 wxGUI dies on startup for me with:

    from wx.lib.embeddedimage import PyEmbeddedImage
ImportError: No module named embeddedimage

debian/stable on amd64: python 2.5.2, wx 2.8.7

It seems that embeddedimage is only available from wx 2.8.9 onwards. I'll make a plan.

Markus M

in reply to:  1 ; comment:2 by mmetz, 14 years ago

Replying to mmetz:

It seems that embeddedimage is only available from wx 2.8.9 onwards. I'll make a plan.

Fixed in r42852, using now a method similar to what the wxGUI uses to get icons.

Markus M

PS: IMHO, wx version numbering and incompatibilities between 2.8.7 through to 2.8.11 are a major PITA

in reply to:  2 comment:3 by hamish, 14 years ago

Resolution: fixed
Status: newclosed

Replying to mmetz:

Fixed in r42852, using now a method similar to what the wxGUI uses to get icons.

thanks, gui starts again now.

PS: IMHO, wx version numbering and incompatibilities between 2.8.7 through to 2.8.11 are a major PITA

... just wait until wx for python 3.0 comes out, then the real fun begins. :-) hopefully all these projects have a chance to mature as mo/lesstif and tcltk have before they self-implode or get replaced by other young stuff. anyway it makes me feel a little better about grass being uber conservative with such things.

regards, Hamish

Note: See TracTickets for help on using tickets.