#1535: winGRASS g.extension.py problems
-------------------------+--------------------------------------------------
Reporter: neteler | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 6.4.2
Component: wxGUI | Version: 6.4.2 RCs
Keywords: g.extension | Platform: MSWindows XP
Cpu: x86-32 |
-------------------------+--------------------------------------------------
The new Python based g.extension in winGRASS 6.4.2RC3 is creating
some (packaging?) problems:
* the "find" button is not linked to python.exe, it asks which
application to open for g.extension.py (see screenshot)
* wget is not found (executing g.extension directly):
{{{
(Mon Jan 16 10:32:57 2012)
g.extension extension=database
which: wget: unknown command
GRASS_ADDON_PATH is not defined, installing to ~/.grass6/addons/
The GRASS program path: [C:/Programmi/GRASS 6.4.SVN] contains a space. The
build which follows will likely fail.
The specified install path: [/c/Documents and
Settings/netelerm.INTRA/.grass6/addons] contains a space. The build which
follows will likely fail.
The path to your GIS data: [C:\Documents and
Settings\netelerm.INTRA\Documenti\grassdata] may contain a space. The
build which follows will likely fail.
Fetching <database> from GRASS-Addons SVN (be patient)...
svn: URL 'http://svn.osgeo.org/grass/grass-
addons/grass6/database/database' doesn't exist
ERROR: GRASS Add-on database not found in repository or no network
connection or another problem
(Mon Jan 16 10:33:08 2012) Comando terminato (10 sec)
{{{
The GRASS program path: [C:/Programmi/GRASS 6.4.SVN] contains a space. The
build which follows will likely fail.
The specified install path: [/c/Documents and
Settings/netelerm.INTRA/.grass6/addons] contains a space. The build which
follows will likely fail.
The path to your GIS data: [C:\Documents and
Settings\netelerm.INTRA\Documenti\grassdata] may contain a space. The
build which follows will likely fail.
}}}
afaik those warning messages only come from the shell script version(??).
I did not want to make running it with paths containing spaces fatal in
case somebody wanted to work on improving the make+spaces situation, but
maybe we should to avoid lots of bug reports. I expect windows users to
mostly spend their time in the wxgui so unless they are used to the unix
version first they'd usually be steered to Martin's pre-built download
modules. shrug.
wrt wget, is it not packaged?? I thought it was. or maybe curl is shipped
instead? if wget is shipped maybe there's a path problem?
the python g.extension.py is in 6.4svn (it is what is shown in your
screenshot). sorry I can't be much help with the .py file association
errors.
`g.extension ext=database` ? is that to download and build all db addon
modules??
Replying to [comment:7 martinl]:
>
> Probably some problem with precompiled Addons binaries. Tested with the
last build (1), seems to work. Could you test it again?
>
tested here with standalone wingrass6.4.3svn r52715