Opened 14 years ago

Closed 14 years ago

#1309 closed defect (fixed)

Error launching 6.5 wxgui

Reported by: epatton Owned by: martinl
Priority: normal Milestone: 6.5.0
Component: wxGUI Version: svn-develbranch6
Keywords: g.gui Cc: grass-dev@…
CPU: x86-32 Platform: Linux

Description

Hi,

During the launch of the wxpython instance of g.gui, I get the following error on the command line:

GRASS 6.5.svn (Beaufort):/usr/local/grass6_devel > g.gui gui=wxpython
Launching 'wxpython' GUI in the background, please wait ...
gui-gcpset.gif /usr/local/grass-6.5.svn/etc/gui/icons/grass/gui-gcpset.gif
gui-display.gif /usr/local/grass-6.5.svn/etc/gui/icons/grass/gui-display.gif
gui-rms.gif /usr/local/grass-6.5.svn/etc/gui/icons/grass/gui-rms.gif
gui-font.gif /usr/local/grass-6.5.svn/etc/gui/icons/grass/gui-font.gif
gui-pointer.gif /usr/local/grass-6.5.svn/etc/gui/icons/grass/gui-pointer.gif
split.line.gif /usr/local/grass-6.5.svn/etc/gui/icons/grass/edit/split.line.gif
gui-georect.gif /usr/local/grass-6.5.svn/etc/gui/icons/grass/gui-georect.gif
module-d.vect.thematic.gif /usr/local/grass-6.5.svn/etc/gui/icons/grass/module-d.vect.thematic.gif
rm.vertex.gif /usr/local/grass-6.5.svn/etc/gui/icons/grass/edit/rm.vertex.gif
file-new.gif /usr/local/grass-6.5.svn/etc/gui/icons/grass/file-new.gif
file-save.gif /usr/local/grass-6.5.svn/etc/gui/icons/grass/file-save.gif
move.line.gif /usr/local/grass-6.5.svn/etc/gui/icons/grass/edit/move.line.gif
module-d.labels.gif /usr/local/grass-6.5.svn/etc/gui/icons/grass/module-d.labels.gif
gui-redraw.gif /usr/local/grass-6.5.svn/etc/gui/icons/grass/gui-redraw.gif
edit-color.gif /usr/local/grass-6.5.svn/etc/gui/icons/grass/edit-color.gif
element-vector.gif /usr/local/grass-6.5.svn/etc/gui/icons/grass/element-vector.gif
gui-redraw.gif /usr/local/grass-6.5.svn/etc/gui/icons/grass/gui-redraw.gif
channel-his.gif /usr/local/grass-6.5.svn/etc/gui/icons/grass/channel-his.gif
gui-display.gif /usr/local/grass-6.5.svn/etc/gui/icons/grass/gui-display.gif
gui-profiledefine.gif /usr/local/grass-6.5.svn/etc/gui/icons/grass/gui-profiledefine.gif
copy.cats.gif /usr/local/grass-6.5.svn/etc/gui/icons/grass/edit/copy.cats.gif
gui-erase.gif /usr/local/grass-6.5.svn/etc/gui/icons/grass/gui-erase.gif
module-d.rast.arrow.gif /usr/local/grass-6.5.svn/etc/gui/icons/grass/module-d.rast.arrow.gif
move.vertex.gif /usr/local/grass-6.5.svn/etc/gui/icons/grass/edit/move.vertex.gif
gui-zoom_out.gif /usr/local/grass-6.5.svn/etc/gui/icons/grass/gui-zoom_out.gif
module-d.rast.num.gif /usr/local/grass-6.5.svn/etc/gui/icons/grass/module-d.rast.num.gif
gui-gcperase.gif /usr/local/grass-6.5.svn/etc/gui/icons/grass/gui-gcperase.gif
file-print.gif /usr/local/grass-6.5.svn/etc/gui/icons/grass/file-print.gif
gui-cmd.gif /usr/local/grass-6.5.svn/etc/gui/icons/grass/gui-cmd.gif
gui-overlay.gif /usr/local/grass-6.5.svn/etc/gui/icons/grass/gui-overlay.gif
gui-rastanalyze.gif /usr/local/grass-6.5.svn/etc/gui/icons/grass/gui-rastanalyze.gif
module-d.grid.gif /usr/local/grass-6.5.svn/etc/gui/icons/grass/module-d.grid.gif
module-d.text.gif /usr/local/grass-6.5.svn/etc/gui/icons/grass/module-d.text.gif
gui-zoom_in.gif /usr/local/grass-6.5.svn/etc/gui/icons/grass/gui-zoom_in.gif
display.cats.gif /usr/local/grass-6.5.svn/etc/gui/icons/grass/edit/display.cats.gif
gui-measure.gif /usr/local/grass-6.5.svn/etc/gui/icons/grass/gui-measure.gif
new.boundary.gif /usr/local/grass-6.5.svn/etc/gui/icons/grass/edit/new.boundary.gif
module-d.barscale.gif /usr/local/grass-6.5.svn/etc/gui/icons/grass/module-d.barscale.gif
edit-color.gif /usr/local/grass-6.5.svn/etc/gui/icons/grass/edit-color.gif
db-values.gif /usr/local/grass-6.5.svn/etc/gui/icons/grass/db-values.gif
file-open.gif /usr/local/grass-6.5.svn/etc/gui/icons/grass/file-open.gif
gui-exit.gif /usr/local/grass-6.5.svn/etc/gui/icons/grass/gui-exit.gif
gui-profileopt.gif /usr/local/grass-6.5.svn/etc/gui/icons/grass/gui-profileopt.gif
new.centroid.gif /usr/local/grass-6.5.svn/etc/gui/icons/grass/edit/new.centroid.gif
file-new.gif /usr/local/grass-6.5.svn/etc/gui/icons/grass/file-new.gif
file-new.gif /usr/local/grass-6.5.svn/etc/gui/icons/grass/file-new.gif
module-d.vect.chart.gif /usr/local/grass-6.5.svn/etc/gui/icons/grass/module-d.vect.chart.gif
gui-group.gif /usr/local/grass-6.5.svn/etc/gui/icons/grass/gui-group.gif
module-d.rgb.gif /usr/local/grass-6.5.svn/etc/gui/icons/grass/module-d.rgb.gif
file-save.gif /usr/local/grass-6.5.svn/etc/gui/icons/grass/file-save.gif
edit-cut.gif /usr/local/grass-6.5.svn/etc/gui/icons/grass/edit-cut.gif
add.vertex.gif /usr/local/grass-6.5.svn/etc/gui/icons/grass/edit/add.vertex.gif
element-cell.gif /usr/local/grass-6.5.svn/etc/gui/icons/grass/element-cell.gif
module-d.vect.thematic.gif /usr/local/grass-6.5.svn/etc/gui/icons/grass/module-d.vect.thematic.gif
gui-query.gif /usr/local/grass-6.5.svn/etc/gui/icons/grass/gui-query.gif
file-save.gif /usr/local/grass-6.5.svn/etc/gui/icons/grass/file-save.gif
gui-zoom_back.gif /usr/local/grass-6.5.svn/etc/gui/icons/grass/gui-zoom_back.gif
new.point.gif /usr/local/grass-6.5.svn/etc/gui/icons/grass/edit/new.point.gif
element-grid3.gif /usr/local/grass-6.5.svn/etc/gui/icons/grass/element-grid3.gif
module-d.legend.gif /usr/local/grass-6.5.svn/etc/gui/icons/grass/module-d.legend.gif
gui-mapzoom.gif /usr/local/grass-6.5.svn/etc/gui/icons/grass/gui-mapzoom.gif
gui-startmon.gif /usr/local/grass-6.5.svn/etc/gui/icons/grass/gui-startmon.gif
module-d.shadedmap.gif /usr/local/grass-6.5.svn/etc/gui/icons/grass/module-d.shadedmap.gif
module-d.grid.gif /usr/local/grass-6.5.svn/etc/gui/icons/grass/module-d.grid.gif
delete.line.gif /usr/local/grass-6.5.svn/etc/gui/icons/grass/edit/delete.line.gif
gui-pan.gif /usr/local/grass-6.5.svn/etc/gui/icons/grass/gui-pan.gif
display.attributes.gif /usr/local/grass-6.5.svn/etc/gui/icons/grass/edit/display.attributes.gif
new.line.gif /usr/local/grass-6.5.svn/etc/gui/icons/grass/edit/new.line.gif
module-d.histogram.gif /usr/local/grass-6.5.svn/etc/gui/icons/grass/module-d.histogram.gif
module-d.shadedmap.gif /usr/local/grass-6.5.svn/etc/gui/icons/grass/module-d.shadedmap.gif
edit.line.gif /usr/local/grass-6.5.svn/etc/gui/icons/grass/edit/edit.line.gif
Traceback (most recent call last):
  File "/usr/local/grass-6.5.svn/etc/wxpython/wxgui.py", line 70, in <module>
    import gui_modules.layertree as layertree
  File "/usr/local/grass-6.5.svn/etc/wxpython/gui_modules/layertree.py", line 40, in <module>
    import toolbars
  File "/usr/local/grass-6.5.svn/etc/wxpython/gui_modules/toolbars.py", line 45, in <module>
    from icon import Icons
  File "/usr/local/grass-6.5.svn/etc/wxpython/icons/icon.py", line 257, in <module>
    'addGeodesic': MetaIcon(img = iconSet['shortest-distance'],
KeyError: 'shortest-distance'

Thanks,

~ Eric.

Change History (5)

comment:1 by martinl, 14 years ago

Cc: grass-dev@… added
Milestone: 6.4.16.5.0
Owner: changed from grass-dev@… to martinl
Status: newassigned

Run

make distclean
configure
make

comment:2 by epatton, 14 years ago

Martin,

I tried your suggestion, but the error occurs again. There were no errors in configure or make.

To be more precise, when I type 'grass65 -gui', I get the location selector gui, but after selection of location and mapset, the same error I quoted occurs on the command line.

Any other suggestions?

comment:3 by epatton, 14 years ago

Hm, I get the same error when doing a fresh checkout of 6.5 from svn. Can anyone reproduce this?

comment:4 by martinl, 14 years ago

I see, you are using silk or grass icon set, hopefully fixed in r45794. Please note that these icon set are incomplete, only one completed and currently maintained icon set is grass2.

comment:5 by epatton, 14 years ago

Resolution: fixed
Status: assignedclosed

Thanks, that last fix worked. I've switched over to grass2. Closing bug.

Note: See TracTickets for help on using tickets.