[GRASS-dev] [GRASS GIS] #1535: winGRASS g.extension.py problems

#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)

}}}

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1535&gt;
GRASS GIS <http://grass.osgeo.org>

#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 |
-------------------------+--------------------------------------------------

Comment(by neteler):

Ops, I just wonder if the cool new Python g.extension is only available in
GRASS 6.5/7?

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1535#comment:1&gt;
GRASS GIS <http://grass.osgeo.org>

#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 |
-------------------------+--------------------------------------------------

Comment(by hamish):

{{{
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??

Hamish

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/1535#comment:2&gt;
GRASS GIS <http://grass.osgeo.org>

#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, wingrass | Platform: MSWindows XP
      Cpu: x86-32 |
-----------------------------------+----------------------------------------
Changes (by hamish):

  * keywords: g.extension => g.extension, wingrass

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/1535#comment:3&gt;
GRASS GIS <http://grass.osgeo.org>

#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, wingrass | Platform: MSWindows XP
      Cpu: x86-32 |
-----------------------------------+----------------------------------------

Comment(by martinl):

Replying to [comment:2 hamish]:

> 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.

strange I have tested latest 6.4svn and it works for me (stand-alone
installer).

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/1535#comment:4&gt;
GRASS GIS <http://grass.osgeo.org>

#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, wingrass | Platform: MSWindows XP
      Cpu: x86-32 |
-----------------------------------+----------------------------------------

Comment(by neteler):

I tried with the today's winGRASS6.4.svn:

{{{
g.extension.py extension=r.unpack svnurl=http://svn.osgeo.org/grass/grass-
addons/grass6
Extension <r.unpack> already installed. Re-installing...
Downloading precompiled GRASS Addons <r.unpack>...
ERROR: GRASS Addons <r.unpack> not found
(Tue Jan 24 23:53:57 2012) Comando terminato (3 sec)
}}}

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1535#comment:5&gt;
GRASS GIS <http://grass.osgeo.org>

#1535: winGRASS g.extension.py problems
-----------------------------------+----------------------------------------
Reporter: neteler | Owner: martinl
     Type: defect | Status: assigned
Priority: normal | Milestone: 6.4.2
Component: wxGUI | Version: 6.4.2 RCs
Keywords: g.extension, wingrass | Platform: MSWindows XP
      Cpu: x86-32 |
-----------------------------------+----------------------------------------
Changes (by martinl):

* cc: grass-dev@… (added)
  * owner: grass-dev@… => martinl
  * status: new => assigned

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1535#comment:6&gt;
GRASS GIS <http://grass.osgeo.org>

#1535: winGRASS g.extension.py problems
-----------------------------------+----------------------------------------
Reporter: neteler | Owner: martinl
     Type: defect | Status: assigned
Priority: normal | Milestone: 6.4.2
Component: wxGUI | Version: 6.4.2 RCs
Keywords: g.extension, wingrass | Platform: MSWindows XP
      Cpu: x86-32 |
-----------------------------------+----------------------------------------

Comment(by martinl):

Replying to [comment:5 neteler]:
> I tried with the today's winGRASS6.4.svn:
>
{{{
> g.extension.py extension=r.unpack svnurl=http://svn.osgeo.org/grass
/grass-addons/grass6
> Extension <r.unpack> already installed. Re-installing...
> Downloading precompiled GRASS Addons <r.unpack>...
> ERROR: GRASS Addons <r.unpack> not found
> (Tue Jan 24 23:53:57 2012) Comando terminato (3 sec)
}}}

Probably some problem with precompiled Addons binaries. Tested with the
last build (1), seems to work. Could you test it again?

(1)
http://wingrass.fsv.cvut.cz/grass64/WinGRASS-6.4.SVN-r50440-1-Setup.exe

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1535#comment:7&gt;
GRASS GIS <http://grass.osgeo.org>

#1535: winGRASS g.extension.py problems
-----------------------------------+----------------------------------------
Reporter: neteler | Owner: martinl
     Type: defect | Status: assigned
Priority: normal | Milestone: 6.4.2
Component: wxGUI | Version: 6.4.2 RCs
Keywords: g.extension, wingrass | Platform: MSWindows XP
      Cpu: x86-32 |
-----------------------------------+----------------------------------------

Comment(by hellik):

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

{{{
g.extension.py extension=r.pack svnurl=http://svn.osgeo.org/grass/grass-
addons/grass6
Downloading precompiled GRASS Addons <r.pack>...
Updating metadata file...
Installation of <r.pack> successfully finished
}}}

at least installing addons works here on a win7-64bit-box.

closing ticket?

Helmut

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1535#comment:8&gt;
GRASS GIS <http://grass.osgeo.org>

#1535: winGRASS g.extension.py problems
---------------------------+------------------------------------------------
  Reporter: neteler | Owner: martinl
      Type: defect | Status: closed
  Priority: normal | Milestone: 6.4.2
Component: wxGUI | Version: 6.4.2 RCs
Resolution: fixed | Keywords: g.extension, wingrass
  Platform: MSWindows XP | Cpu: x86-32
---------------------------+------------------------------------------------
Changes (by hellik):

  * status: assigned => closed
  * resolution: => fixed

Comment:

Replying to [comment:8 hellik]:
>
> closing ticket?

seems to work now. closing ticket, reopen if needed.

Helmut

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1535#comment:9&gt;
GRASS GIS <http://grass.osgeo.org>