Ticket #1535 (closed defect: fixed)

Opened 16 months ago

Last modified 9 months ago

winGRASS g.extension.py problems

Reported by: neteler Owned by: martinl
Priority: normal Milestone: 6.4.2
Component: wxGUI Version: 6.4.2 RCs
Keywords: g.extension, wingrass Cc: grass-dev@…
Platform: MSWindows XP CPU: x86-32

Description

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)                           
    
    

Attachments

wingrass_gextensionpy_bug.png Download (23.9 KB) - added by neteler 16 months ago.
.py not associated to python.exe (or the latter not found?)

Change History

Changed 16 months ago by neteler

.py not associated to python.exe (or the latter not found?)

  Changed 16 months ago by neteler

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

follow-up: ↓ 4   Changed 16 months ago 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

  Changed 16 months ago by hamish

  • keywords g.extension, wingrass added; g.extension removed

in reply to: ↑ 2   Changed 16 months ago by martinl

Replying to 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).

follow-up: ↓ 7   Changed 16 months ago 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)   

  Changed 16 months ago by martinl

  • cc grass-dev@… added
  • owner changed from grass-dev@… to martinl
  • status changed from new to assigned

in reply to: ↑ 5 ; follow-up: ↓ 8   Changed 16 months ago by martinl

Replying to 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

in reply to: ↑ 7 ; follow-up: ↓ 9   Changed 9 months ago by hellik

Replying to 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

in reply to: ↑ 8   Changed 9 months ago by hellik

  • status changed from assigned to closed
  • resolution set to fixed

Replying to hellik:

closing ticket?

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

Helmut

Note: See TracTickets for help on using tickets.