[GRASS-dev] WxPython prototype GRASS GUI. Version 2

Agustin Diez Castillo adiez at uv.es
Sat Aug 5 12:24:12 EDT 2006


Michael,
I didn't explain myself
> PYTHONBIN=/Library/Frameworks/Python.framework/Versions/2.4/bin
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.
To me it seems that the icons are there, I have changed permissions  
with no luck.
My py_gm directory
/py_gm agus$ ls -l
total 240
-rw-r--r--    1 agus  agus   1237 Aug  4 06:55 README.txt
-rwxrwxr-x    1 agus  agus  14325 Aug  4 06:40 gism.py
-rw-r--r--    1 agus  agus  14325 Aug  4 06:39 gism.py.bak
-rw-r--r--    1 agus  agus  12364 Aug  5 12:32 gism.pyc
-rw-rw-r--    1 agus  agus   4448 Jul  3 23:02 grass-interface.dtd
-rwxrwxr-x    1 agus  agus  12950 Jul  3 23:21 grassgui.py
drwxr-xr-x   20 agus  agus    680 Aug  4 20:39 icons
-rwxr-xr-x    1 agus  agus  12022 Aug  4 06:15 map.py
-rw-r--r--    1 agus  agus  11048 Aug  5 12:32 map.pyc
-rwxrwxr-x    1 agus  agus   8871 Aug  4 06:16 render.py
-rw-r--r--    1 agus  agus   6533 Aug  5 12:32 render.pyc

../py_gm agus$ cd icons

../py_gm/icons agus$ ls -l
total 88
-rwxrwxr-x   1 agus  agus     0 Aug  4 20:39 Makefile
-rwxr-xr-x   1 agus  agus   580 May  5 20:03 Makefile.1
-rwxrwxr-x   1 agus  agus     0 Aug  4 20:39 README
-rwxr-xr-x   1 agus  agus  1129 Mar 23 19:56 README.1
-rwxr-xr-x   1 agus  agus   250 May  6 00:10 element-cell.1.gif
-rwxrwxr-x   1 agus  agus     0 Aug  4 20:39 element-cell.gif
-rwxr-xr-x   1 agus  agus   189 May  6 00:12 element-vector.1.gif
-rwxrwxr-x   1 agus  agus     0 Aug  4 20:39 element-vector.gif
-rw-r--r--   1 agus  agus   258 May  5 22:02 gui-display.gif
-rwxr-xr-x   1 agus  agus   180 May  5 22:47 gui-pan.1.gif
-rwxrwxr-x   1 agus  agus     0 Aug  4 20:39 gui-pan.gif
-rwxr-xr-x   1 agus  agus   137 May  5 22:55 gui-startmon.1.gif
-rwxrwxr-x   1 agus  agus     0 Aug  4 20:39 gui-startmon.gif
-rwxr-xr-x   1 agus  agus   191 May  5 21:54 gui-zoom_back.gif
-rwxr-xr-x   1 agus  agus   184 May  5 21:51 gui-zoom_in.gif
-rwxr-xr-x   1 agus  agus   180 May  5 21:58 gui-zoom_out.gif
-rwxr-xr-x   1 agus  agus   176 Jun 11 14:58 pan.gif
../py_gm/icons agus$ chmod a+wx *

On 05/08/2006, at 05:35 PM, Michael Barton wrote:

> Hola Agustin,
>
> 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  
> should 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?
>
> 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.
>
> 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.
>
> Michael
> __________________________________________
> Michael Barton, Professor of Anthropology
> School of Human Evolution & Social Change
> Center for Social Dynamics & Complexity
> Arizona State University
>
> phone: 480-965-6213
> fax: 480-965-7671
> www: http://www.public.asu.edu/~cmbarton
>
>
>
> From: Agustin Diez Castillo <adiez at uv.es>
> Date: Sat, 5 Aug 2006 12:42:33 +0200
> To: Michael Barton <michael.barton at asu.edu>
> Cc: Grass Developers List <grass-dev at grass.itc.it>
> Subject: Re: [GRASS-dev] WxPython prototype GRASS GUI. Version 2
>
> On a Imac running PPC 10.4.7
> I got this error when launching
> 21:12:53: No handler found for image type.
> 21:12:53: no bitmap handler for type 50 defined.
> Other than that it works.
> I have a hard time figuring up the correct setting until I got this
> "You’ll want to add the following environment variables. Open or  
> create the file .bash_profile in your home directory and add the  
> following:
> PYTHONBIN=/Library/Frameworks/Python.framework/Versions/2.4/bin
> export PATH=/usr/local/bin:/usr/local/sbin:$PYTHONBIN:$PATH
> "
> Agustin
>
> *******************************************************
> Dr. Agustin Diez Castillo
> Departament de Prehistoria i Arqueologia
> Universitat de Valencia         Phone: +34 963 86 42 42
> Avda. Blasco Iba–ez, 28         Fax:   +34 963 98 38 87
> Valencia 46010
> *******************************************************
>
>
>
> On 04/08/2006, at 07:55 AM, Michael Barton wrote:
>
>>
>> d.rast elevation_dem, d.vect roads color=red
>>
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-dev/attachments/20060805/329274bb/attachment.html


More information about the grass-dev mailing list