Send grass-windows mailing list submissions to
        grass-windows@lists.osgeo.org

To subscribe or unsubscribe via the World Wide Web, visit
        http://lists.osgeo.org/mailman/listinfo/grass-windows
or, via email, send a message with subject or body 'help' to
        grass-windows-requ...@lists.osgeo.org

You can reach the person managing the list at
        grass-windows-ow...@lists.osgeo.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of grass-windows digest..."


Today's Topics:

   1. Re: GUI with python scripts (Ned Horning)
   2. Re: GUI with python scripts (Glynn Clements)


----------------------------------------------------------------------

Message: 1
Date: Fri, 29 Jan 2010 14:41:53 -0500
From: Ned Horning <horn...@amnh.org>
Subject: Re: [GRASS-windows] GUI with python scripts
Cc: grass-windows@lists.osgeo.org
Message-ID: <4b633a01.8000...@amnh.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hi -

I tried the most recent daily build for Window 
(WinGRASS-6.4.SVN-r-40722-1-Setup.exe) and it appears as if something 
has changed since I get a different error when running a Python script. 
I still can not get a GUI to appear but when I run my test script using 
the --ui flag I get the following error. Can anyone tell if this looks 
like another bug or a user problem.
--
GRASS 6.4> python 
F:\\AMNH\\WHRC_CarbonProject\\R_Project\\PercentCoverTutorial\\junk.py --ui
GRASS 6.4> Traceback (most recent call last):
   File "c:/Program 
Files/GRASS-64-SVN/etc/wxpython/gui_modules/menuform.py", line 1942, in 
<module>
     GrassGUIApp( grassTask( sys.argv[1] ) ).MainLoop()
   File "c:/Program 
Files/GRASS-64-SVN/etc/wxpython/gui_modules/menuform.py", line 334, in 
__init__
     xml.sax.parseString( getInterfaceDescription( grassModule ) , 
processTask( self ) )
   File "c:/Program 
Files/GRASS-64-SVN/etc/wxpython/gui_modules/menuform.py", line 1759, in 
getInterfaceDescription
     raise IOError, _("Unable to fetch interface description for command 
'%s'.") % cmd
IOError: Unable to fetch interface description for command 'junk.py'.
--

All the best,

Ned

On 1/22/2010 10:17 AM, Glynn Clements wrote:
> Ned Horning wrote:
>
>    
>> This is the output from g.gisenv:
>>      
>    
>>   >  menuform.py: can't open file 'c:/Program': [Errno 2] No such file or
>> directory
>>      
> You'll have to either wait for a newer version or install GRASS into
> e.g. C:\GRASS.
>
> Someone seems to have read my comments about having the next release
> candidate install into the %ProgramFiles% directory, and decided to go
> one better and start installing the 6.4.0-SVN snapshots there.
>
> This won't work until the recent changes to the G_spawn* functions
> have been back-ported. The current 6.4.0 code is known not to work
> with spaces in $GISBASE. 6.5 should work (although based upon recent
> comments, MSys might need to be installed in C:\msys).
>
>    



------------------------------

Message: 2
Date: Sat, 30 Jan 2010 00:25:57 +0000
From: Glynn Clements <gl...@gclements.plus.com>
Subject: Re: [GRASS-windows] GUI with python scripts
To: Ned Horning <horn...@amnh.org>
Cc: grass-windows@lists.osgeo.org
Message-ID: <19299.31893.21868.331...@cerise.gclements.plus.com>
Content-Type: text/plain; charset=us-ascii


Ned Horning wrote:

> I tried the most recent daily build for Window 
> (WinGRASS-6.4.SVN-r-40722-1-Setup.exe) and it appears as if something 
> has changed since I get a different error when running a Python script. 
> I still can not get a GUI to appear but when I run my test script using 
> the --ui flag I get the following error. Can anyone tell if this looks 
> like another bug or a user problem.

> IOError: Unable to fetch interface description for command 'junk.py'.

What do you get from:

        junk.py --interface-description
?

-- 
Glynn Clements <gl...@gclements.plus.com>


------------------------------

_______________________________________________
grass-windows mailing list
grass-windows@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-windows


End of grass-windows Digest, Vol 41, Issue 20
*********************************************

Reply via email to