[GRASS-dev] [GRASS GIS] #580: WinGRASS: $GISBASE/etc/gui/scripts/ require something like $(EXE) to run

GRASS GIS trac at osgeo.org
Wed Aug 22 03:26:00 PDT 2012


#580: WinGRASS: $GISBASE/etc/gui/scripts/ require something like $(EXE) to run
---------------------------+------------------------------------------------
  Reporter:  hamish        |       Owner:  grass-dev@…              
      Type:  defect        |      Status:  reopened                 
  Priority:  blocker       |   Milestone:  7.0.0                    
 Component:  wxGUI         |     Version:  svn-trunk                
Resolution:                |    Keywords:  wingrass                 
  Platform:  MSWindows XP  |         Cpu:  Unspecified              
---------------------------+------------------------------------------------

Comment(by hellik):

 Replying to [comment:47 mmetz]:
 > I was rather interested about how many different python versions are in
 the list of installed software as known by the system. The list .py* file
 extensions does not give the full path to the python.exe being used, i.e.
 which one of the 6 python.exe's on your system will be used.

 it's not so easy to find out this in the strange windows world ;o), but
 here we go (it's in the registry):

 {{{
 Windows Registry Editor Version 5.00

 [HKEY_CLASSES_ROOT\py_auto_file]
 @=""

 [HKEY_CLASSES_ROOT\py_auto_file\shell]

 [HKEY_CLASSES_ROOT\py_auto_file\shell\open]

 [HKEY_CLASSES_ROOT\py_auto_file\shell\open\command]
 @="\"C:\\Program Files (x86)\\GRASS 6.5.SVN\\extrabin\\python.exe\"
 \"%1\""
 }}}


 {{{
 Windows Registry Editor Version 5.00

 [HKEY_CLASSES_ROOT\Python.CompiledFile]
 @="Compiled Python File"

 [HKEY_CLASSES_ROOT\Python.CompiledFile\DefaultIcon]
 @="C:\\Python26\\ArcGIS10.0\\DLLs\\pyc.ico"

 [HKEY_CLASSES_ROOT\Python.CompiledFile\shell]

 [HKEY_CLASSES_ROOT\Python.CompiledFile\shell\open]

 [HKEY_CLASSES_ROOT\Python.CompiledFile\shell\open\command]
 @="\"C:\\Python26\\ArcGIS10.0\\python.exe\" \"%1\" %*"

 [HKEY_CLASSES_ROOT\Python.CompiledFile\shellex]

 [HKEY_CLASSES_ROOT\Python.CompiledFile\shellex\DropHandler]
 @="{60254CA5-953B-11CF-8C96-00AA00B8708C}"
 }}}


 {{{
 Windows Registry Editor Version 5.00

 [HKEY_CLASSES_ROOT\Python.File]
 @="Python File"

 [HKEY_CLASSES_ROOT\Python.File\DefaultIcon]
 @="C:\\Python26\\ArcGIS10.0\\DLLs\\py.ico"

 [HKEY_CLASSES_ROOT\Python.File\shell]

 [HKEY_CLASSES_ROOT\Python.File\shell\Edit with IDLE]

 [HKEY_CLASSES_ROOT\Python.File\shell\Edit with IDLE\command]
 @="\"C:\\Python26\\ArcGIS10.0\\pythonw.exe\"
 \"C:\\Python26\\ArcGIS10.0\\Lib\\idlelib\\idle.pyw\" -n -e \"%1\""

 [HKEY_CLASSES_ROOT\Python.File\shell\open]

 [HKEY_CLASSES_ROOT\Python.File\shell\open\command]
 @="\"C:\\Python26\\ArcGIS10.0\\python.exe\" \"%1\" %*"

 [HKEY_CLASSES_ROOT\Python.File\shellex]

 [HKEY_CLASSES_ROOT\Python.File\shellex\DropHandler]
 @="{60254CA5-953B-11CF-8C96-00AA00B8708C}"
 }}}


 {{{
 Windows Registry Editor Version 5.00

 [HKEY_CLASSES_ROOT\Python.NoConFile]
 @="Python File (no console)"

 [HKEY_CLASSES_ROOT\Python.NoConFile\DefaultIcon]
 @="C:\\Python26\\ArcGIS10.0\\DLLs\\py.ico"

 [HKEY_CLASSES_ROOT\Python.NoConFile\shell]

 [HKEY_CLASSES_ROOT\Python.NoConFile\shell\Edit with IDLE]

 [HKEY_CLASSES_ROOT\Python.NoConFile\shell\Edit with IDLE\command]
 @="\"C:\\Python26\\ArcGIS10.0\\pythonw.exe\"
 \"C:\\Python26\\ArcGIS10.0\\Lib\\idlelib\\idle.pyw\" -n -e \"%1\""

 [HKEY_CLASSES_ROOT\Python.NoConFile\shell\open]

 [HKEY_CLASSES_ROOT\Python.NoConFile\shell\open\command]
 @="\"C:\\Python26\\ArcGIS10.0\\pythonw.exe\" \"%1\" %*"

 [HKEY_CLASSES_ROOT\Python.NoConFile\shellex]

 [HKEY_CLASSES_ROOT\Python.NoConFile\shellex\DropHandler]
 @="{60254CA5-953B-11CF-8C96-00AA00B8708C}"
 }}}

 Helmut

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/580#comment:48>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list