<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><DIV><DIV>Michael,</DIV><DIV>I didn't explain myself</DIV> </DIV><BLOCKQUOTE type="cite"><SPAN style=""><FONT class="Apple-style-span" face="Verdana">PYTHONBIN=/Library/Frameworks/Python.framework/Versions/2.4/bin</FONT></SPAN></BLOCKQUOTE>was the solution I found to direct python to ActiveState. I have tested it in another machine and it is working w/o problem besides the icon thing.<DIV>To me it seems that the icons are there, I have changed permissions with no luck.</DIV><DIV>My py_gm directory</DIV><DIV>/py_gm agus$ ls -l</DIV><DIV>total 240</DIV><DIV>-rw-r--r-- 1 agus agus 1237 Aug 4 06:55 README.txt</DIV><DIV>-rwxrwxr-x 1 agus agus 14325 Aug 4 06:40 gism.py</DIV><DIV>-rw-r--r-- 1 agus agus 14325 Aug 4 06:39 gism.py.bak</DIV><DIV>-rw-r--r-- 1 agus agus 12364 Aug 5 12:32 gism.pyc</DIV><DIV>-rw-rw-r-- 1 agus agus 4448 Jul 3 23:02 grass-interface.dtd</DIV><DIV>-rwxrwxr-x 1 agus agus 12950 Jul 3 23:21 grassgui.py</DIV><DIV>drwxr-xr-x 20 agus agus 680 Aug 4 20:39 icons</DIV><DIV>-rwxr-xr-x 1 agus agus 12022 Aug 4 06:15 map.py</DIV><DIV>-rw-r--r-- 1 agus agus 11048 Aug 5 12:32 map.pyc</DIV><DIV>-rwxrwxr-x 1 agus agus 8871 Aug 4 06:16 render.py</DIV><DIV>-rw-r--r-- 1 agus agus 6533 Aug 5 12:32 render.pyc</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>../py_gm agus$ cd icons</DIV><DIV><BR class="khtml-block-placeholder"><DIV>../py_gm/icons agus$ ls -l</DIV><DIV>total 88</DIV><DIV>-rwxrwxr-x 1 agus agus 0 Aug 4 20:39 Makefile</DIV><DIV>-rwxr-xr-x 1 agus agus 580 May 5 20:03 Makefile.1</DIV><DIV>-rwxrwxr-x 1 agus agus 0 Aug 4 20:39 README</DIV><DIV>-rwxr-xr-x 1 agus agus 1129 Mar 23 19:56 README.1</DIV><DIV>-rwxr-xr-x 1 agus agus 250 May 6 00:10 element-cell.1.gif</DIV><DIV>-rwxrwxr-x 1 agus agus 0 Aug 4 20:39 element-cell.gif</DIV><DIV>-rwxr-xr-x 1 agus agus 189 May 6 00:12 element-vector.1.gif</DIV><DIV>-rwxrwxr-x 1 agus agus 0 Aug 4 20:39 element-vector.gif</DIV><DIV>-rw-r--r-- 1 agus agus 258 May 5 22:02 gui-display.gif</DIV><DIV>-rwxr-xr-x 1 agus agus 180 May 5 22:47 gui-pan.1.gif</DIV><DIV>-rwxrwxr-x 1 agus agus 0 Aug 4 20:39 gui-pan.gif</DIV><DIV>-rwxr-xr-x 1 agus agus 137 May 5 22:55 gui-startmon.1.gif</DIV><DIV>-rwxrwxr-x 1 agus agus 0 Aug 4 20:39 gui-startmon.gif</DIV><DIV>-rwxr-xr-x 1 agus agus 191 May 5 21:54 gui-zoom_back.gif</DIV><DIV>-rwxr-xr-x 1 agus agus 184 May 5 21:51 gui-zoom_in.gif</DIV><DIV>-rwxr-xr-x 1 agus agus 180 May 5 21:58 gui-zoom_out.gif</DIV><DIV>-rwxr-xr-x 1 agus agus 176 Jun 11 14:58 pan.gif</DIV><DIV>../py_gm/icons agus$ chmod a+wx *</DIV><DIV><BR><DIV><DIV>On 05/08/2006, at 05:35 PM, Michael Barton wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"> <FONT face="Verdana, Helvetica, Arial"><SPAN style="font-size:12.0px">Hola Agustin,<BR> <BR> The first 2 errors (I think) are because it somehow can’t find the icon images in the icon folder that come with the package. It <B>should</B> find these if the icon folder is correctly located inside the py_gm folder and you cd to this folder to run gism.py. Could you check these?<BR> <BR> For the second error, I don’t have PYTHONBIN set on my Mac (at least not obviously). Nothing is returned with $PYTHONBIN and I don’t have a .bash_profile.<BR> <BR> That said, I’m sure that something is set to point toward the Python 2.4 installation. I installed ActiveState’s Python 2.4 binaries and this probably does some automatic environment setting. Also, there is Apple’s Python 2.3 installed in a slightly different location that may cause confusion. The message you got is probably a good idea to make sure that the proper Python installation is being referenced.<BR> <BR> Michael<BR> __________________________________________<BR> Michael Barton, Professor of Anthropology<BR> School of Human Evolution & Social Change <BR> Center for Social Dynamics & Complexity<BR> Arizona State University<BR> <BR> phone: 480-965-6213<BR> fax: 480-965-7671<BR> www: <A href="http://www.public.asu.edu/~cmbarton">http://www.public.asu.edu/~cmbarton</A> <BR> <BR> <BR> <BR> <HR align="CENTER" size="3" width="95%"><B>From: </B>Agustin Diez Castillo <<A href="mailto:adiez@uv.es">adiez@uv.es</A>><BR> <B>Date: </B>Sat, 5 Aug 2006 12:42:33 +0200<BR> <B>To: </B>Michael Barton <<A href="mailto:michael.barton@asu.edu">michael.barton@asu.edu</A>><BR> <B>Cc: </B>Grass Developers List <<A href="mailto:grass-dev@grass.itc.it">grass-dev@grass.itc.it</A>><BR> <B>Subject: </B>Re: [GRASS-dev] WxPython prototype GRASS GUI. Version 2<BR> <BR> On a Imac running PPC 10.4.7<BR> I got this error when launching<BR> 21:12:53: No handler found for image type.<BR> 21:12:53: no bitmap handler for type 50 defined.<BR> Other than that it works.<BR> I have a hard time figuring up the correct setting until I got this<BR> "You’ll want to add the following environment variables. Open or create the file .bash_profile in your home directory and add the following:<BR> PYTHONBIN=/Library/Frameworks/Python.framework/Versions/2.4/bin<BR> export PATH=/usr/local/bin:/usr/local/sbin:$PYTHONBIN:$PATH<BR> "<BR> Agustin<BR> <BR> *******************************************************<BR> Dr. Agustin Diez Castillo<BR> Departament de Prehistoria i Arqueologia<BR> Universitat de Valencia Phone: +34 963 86 42 42<BR> Avda. Blasco Iba–ez, 28 Fax: +34 963 98 38 87<BR> Valencia 46010<BR> *******************************************************<BR> <BR> <BR> <BR> On 04/08/2006, at 07:55 AM, Michael Barton wrote:<BR> <BR> </SPAN></FONT><BLOCKQUOTE type="cite"><FONT face="Verdana, Helvetica, Arial"><SPAN style="font-size:12.0px"><BR> </SPAN></FONT><FONT size="4"><FONT face="Helvetica, Verdana, Arial"><SPAN style="font-size:14.0px">d.rast elevation_dem, d.vect roads color=red<BR> </SPAN></FONT></FONT><FONT face="Verdana, Helvetica, Arial"><SPAN style="font-size:12.0px"> <BR> </SPAN></FONT></BLOCKQUOTE><FONT face="Verdana, Helvetica, Arial"><SPAN style="font-size:12.0px"><BR> <BR> </SPAN></FONT> </BLOCKQUOTE></DIV><BR></DIV></DIV></BODY></HTML>