Ticket #1112 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

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:
Platform: Linux CPU: x86-64

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

in reply to: ↑ description ; follow-up: ↓ 2   Changed 4 years ago by mmetz

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 ; follow-up: ↓ 3   Changed 4 years ago by mmetz

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   Changed 4 years ago by hamish

  • status changed from new to closed
  • resolution set to fixed

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.