Opened 14 years ago

Closed 14 years ago

#1157 closed defect (fixed)

WinGrass-Installer should include a working gdal-version which is built against

Reported by: hellik Owned by: grass-dev@…
Priority: normal Milestone: 6.4.1
Component: Packaging Version: svn-releasebranch64
Keywords: wingrass Cc:
CPU: All Platform: MSWindows Vista

Description

from the user-ML http://lists.osgeo.org/pipermail/grass-user/2010-September/057851.html

>>Dear all,
>>I have just installed Wingrass7 from 
>>[http://josef.fsv.cvut.cz/wingrass/grass70/]
>>When it is started the locations which work well with Grass6.4 version, 
>>there is the error: Unable to get current geographic extent. Force 
>>quitting wxGUI. Please run manual g.region to fix 
>>problem....Importerror: No module named agw.customtreectrl
>>Or when I make new location by Location wizard there is the error: .. 
>>[Error 2] No such file or directory: 'C:\\Program Files\\ 
>>GRASS-70-SVN\\etc\\proj-parms.table'
>>Please help me what should I do?
>>Thank you
>>Thy
>
>I can confirm this.
>
>at the moment the nightly WinGrass7-builds are built against gdal17 from osgeo4w, 
>which is in a preliminary status at the moment.
>
>I build from time to time WinGrass7 for my own with gdal16 from osgeo4w and there are
>no such error messages.
>
>best regards
>Helmut

it seems to be a mixing of different gdal-versions.

WinGrass70 is built against gdal17. but in WinGrass7 (installed by the installer) there is
only gdal15 in the path and available in the WinGrass7-command-line, but no gdal17.

AFAIK there are some important changes from gdal15 to gdal17. so a WinGrass7 built against gdal17
isn't working with gdal15 in the path?

so maybe the WinGrass7-installer built against gdal17 should be adapted in that way to adopt gdal17 as the regular version 
of gdal?

best regards
Helmut

related to the nightly WinGrass-builds, all branches and the recommended way of compiling wingrass in the wiki (both inside the osgeo4w-stack).

at the moment WinGrass64 and WinGrass65 are built against gdal16, WinGrass70 against gdal17. but in the WinGrassXX-installer only gdal15 is available in the path, but no gdal16/gdal17 and all dependecies (GDAL_DATA, GDAL_DRIVER_PATH, PYTHONPATH=%OSGEO4W_ROOT%\apps\gdal-16\pymod, PATH=%OSGEO4W_ROOT%\apps\gdal-16\bin; the same for gdal17; see gdal16.bat or gdal17.bat in C:\OSGeo4W\bin) living in C:\OSGeo4W\apps\gdal-16 or C:\OSGeo4W\apps\gdal-17 are included.

the wingrass-installer should include a working gdal-version which the WinGrass-version is installed against.

best regards Helmut

Change History (3)

in reply to:  description ; comment:1 by hellik, 14 years ago

Replying to hellik:

ok, I see also in the error message above:

[...]
[Error 2] No such file or directory: 'C:\\Program Files\\GRASS-70-SVN\\etc\\proj-parms.table'
[...]

in C:\Program Files\GRASS-64\etc there are following files:

proj-desc.table projections proj-parms.table proj-units.table

but in C:\Program Files\GRASS-70-SVN\etc there is only

projections

and the other files are missing.

so maybe there is additional to the gdal-version issue also an issue with the files mentioned above?

Helmut

in reply to:  1 comment:2 by hellik, 14 years ago

Replying to hellik:

Replying to hellik:

ok, I see also in the error message above:

[...]
[Error 2] No such file or directory: 'C:\\Program Files\\GRASS-70-SVN\\etc\\proj-parms.table'
[...]

in C:\Program Files\GRASS-64\etc there are following files:

proj-desc.table projections proj-parms.table proj-units.table

but in C:\Program Files\GRASS-70-SVN\etc there is only

projections

and the other files are missing.

so maybe there is additional to the gdal-version issue also an issue with the files mentioned above?

Helmut

a comparison

 Verzeichnis von C:\Program Files\GRASS-64\etc

04.09.2010  00:30    <DIR>          .
04.09.2010  00:30    <DIR>          ..
03.09.2010  22:39            38.828 bmif_to_cell.exe
03.09.2010  23:18               629 bmif_to_cell.exe.manifest
03.09.2010  22:13            44.671 clean_temp.exe
03.09.2010  23:18               625 clean_temp.exe.manifest
04.09.2010  00:28    <DIR>          colors
03.09.2010  22:08             1.697 colors.desc
03.09.2010  23:03            17.792 current_time_s_ms.exe
03.09.2010  23:18               639 current_time_s_ms.exe.manifest
04.09.2010  00:28    <DIR>          d.polar
03.09.2010  22:55            13.806 d.rast.edit.tcl
03.09.2010  22:08             5.050 datum.table
03.09.2010  22:08             6.882 datumtransform.table
04.09.2010  00:28    <DIR>          db.test
04.09.2010  00:28    <DIR>          dm
03.09.2010  22:14            28.045 echo.exe
03.09.2010  23:18               613 echo.exe.manifest
03.09.2010  22:08               980 element_list
03.09.2010  22:08             6.117 ellipse.table
03.09.2010  22:14            18.524 epsg_option.tcl
03.09.2010  22:14             9.631 file_option.tcl
03.09.2010  22:08           123.801 FIPS.code
04.09.2010  00:30            41.590 fontcap
03.09.2010  23:35            41.302 fontcap.tmpl
04.09.2010  00:28    <DIR>          form
03.09.2010  22:17            36.245 frame.create
03.09.2010  22:17            34.522 frame.dumper
03.09.2010  22:17            37.615 frame.list
03.09.2010  22:17            37.425 frame.select
03.09.2010  22:23             2.441 g.mapsets.tcl
04.09.2010  00:28    <DIR>          gem
03.09.2010  22:14            30.370 gis_set.tcl
04.09.2010  00:28    <DIR>          gm
03.09.2010  22:29             5.143 grass-interface.dtd
03.09.2010  22:14               459 grass-run.bat
03.09.2010  22:14               999 grass-run.sh
03.09.2010  22:14               535 grass-xterm-wrapper
03.09.2010  22:14               414 grass_intro
03.09.2010  23:02               832 grass_write_ascii.style
03.09.2010  22:10            21.408 grocat.exe
03.09.2010  23:18               617 grocat.exe.manifest
04.09.2010  00:28    <DIR>          gtcltk
04.09.2010  00:28    <DIR>          gui
03.09.2010  22:08            24.658 gui.tcl
03.09.2010  22:31            64.495 i.ask.exe
03.09.2010  23:18               615 i.ask.exe.manifest
03.09.2010  22:31            44.674 i.find.exe
03.09.2010  23:18               617 i.find.exe.manifest
04.09.2010  00:28    <DIR>          i.oif
03.09.2010  22:14             5.641 Init.bat
03.09.2010  22:13            27.498 Init.sh
03.09.2010  22:14               550 license
04.09.2010  00:28    <DIR>          lister
03.09.2010  22:13            34.223 lock.exe
03.09.2010  23:18               613 lock.exe.manifest
03.09.2010  22:46            37.742 modcats.exe
03.09.2010  23:18               619 modcats.exe.manifest
03.09.2010  22:46            35.174 modcolr.exe
03.09.2010  23:18               619 modcolr.exe.manifest
03.09.2010  22:46            69.225 modhead.exe
03.09.2010  23:18               619 modhead.exe.manifest
03.09.2010  22:46            35.552 modhist.exe
03.09.2010  23:18               619 modhist.exe.manifest
03.09.2010  22:19            23.640 mon.list
03.09.2010  22:19            35.657 mon.release
03.09.2010  22:19            38.187 mon.select
03.09.2010  22:19            36.092 mon.start
03.09.2010  22:19            33.176 mon.status
03.09.2010  22:19            35.223 mon.stop
03.09.2010  22:19            31.626 mon.which
03.09.2010  23:34                 0 monitorcap
04.09.2010  00:28    <DIR>          msgs
04.09.2010  00:28    <DIR>          nad
04.09.2010  00:28    <DIR>          nviz2.2
04.09.2010  00:28    <DIR>          ogr_csv
04.09.2010  00:28    <DIR>          paint
03.09.2010  22:39            38.948 poly_to_bmif.exe
03.09.2010  23:18               629 poly_to_bmif.exe.manifest
03.09.2010  22:26             1.505 proj-desc.table
03.09.2010  22:26             8.040 proj-parms.table
03.09.2010  22:26               480 proj-units.table
03.09.2010  22:08             2.916 projections
03.09.2010  22:13               368 prompt.sh
03.09.2010  22:09             3.150 psdriver.ps
04.09.2010  00:28    <DIR>          python
04.09.2010  00:28    <DIR>          r.in.wms
03.09.2010  22:49           138.484 r.watershed.ram.exe
03.09.2010  23:18               635 r.watershed.ram.exe.manifest
03.09.2010  22:49           168.031 r.watershed.seg.exe
03.09.2010  23:18               635 r.watershed.seg.exe.manifest
03.09.2010  22:13            23.033 run.exe
03.09.2010  23:18               611 run.exe.manifest
04.09.2010  00:29               721 run_gmkfontcap.bat
04.09.2010  00:29               652 run_gmkfontcap.bat.manifest
03.09.2010  22:13            75.811 set_data.exe
03.09.2010  23:18               621 set_data.exe.manifest
03.09.2010  22:08            25.112 state27
03.09.2010  22:08            20.617 state83
04.09.2010  00:28    <DIR>          symbol
04.09.2010  00:28    <DIR>          v.digit
03.09.2010  22:14                 6 VERSIONNUMBER
03.09.2010  22:14                31 welcome
03.09.2010  22:14           398.346 winlocale.exe
03.09.2010  23:18               623 winlocale.exe.manifest
04.09.2010  00:28    <DIR>          wxpython

and

 Verzeichnis von C:\Program Files\GRASS-70-SVN\etc

13.09.2010  23:54    <DIR>          .
13.09.2010  23:54    <DIR>          ..
13.09.2010  04:17            61.113 clean_temp.exe
13.09.2010  23:52    <DIR>          colors
13.09.2010  04:15             1.621 colors.desc
13.09.2010  04:14            44.464 current_time_s_ms.exe
13.09.2010  23:52    <DIR>          d.polar
13.09.2010  04:15             5.050 datum.table
13.09.2010  04:15             6.882 datumtransform.table
13.09.2010  23:52    <DIR>          db.test
13.09.2010  04:17            44.447 echo.exe
13.09.2010  04:15               980 element_list
13.09.2010  04:15             6.117 ellipse.table
13.09.2010  04:15           123.801 FIPS.code
13.09.2010  23:54            41.662 fontcap
13.09.2010  04:25            34.940 fontcap.tmpl
13.09.2010  23:52    <DIR>          form
13.09.2010  04:24             5.143 grass-interface.dtd
13.09.2010  04:17               416 grass_intro
13.09.2010  04:16            45.344 grocat.exe
13.09.2010  23:52    <DIR>          gtcltk
13.09.2010  23:52    <DIR>          gui
13.09.2010  04:22            60.709 i.find.exe
13.09.2010  04:17               552 license
13.09.2010  04:17            50.665 lock.exe
13.09.2010  04:15             2.950 projections
13.09.2010  04:15             3.010 psdriver.ps
13.09.2010  23:52    <DIR>          python
13.09.2010  23:52    <DIR>          r.in.wms
13.09.2010  04:17            43.019 run.exe
13.09.2010  23:53               765 run_gmkfontcap.bat
13.09.2010  23:53               652 run_gmkfontcap.bat.manifest
13.09.2010  04:15            25.112 state27
13.09.2010  04:15            20.617 state83
13.09.2010  23:52    <DIR>          symbol
13.09.2010  04:17                 8 VERSIONNUMBER
13.09.2010  04:17                33 welcome
13.09.2010  04:17           418.332 winlocale.exe
13.09.2010  04:23             4.438 wxpyimgview_gui.py

this comparison is based on the official WinGrass6.4.0-installer (built by me) and the nightly WinGrass7.0-build (from http://josef.fsv.cvut.cz/wingrass/grass70/).

as to note, by a self compiled WinGrass70, the above error doesn't occur.

so maybe this ticket should be separeted into following two:

  • packaging error for nightly WinGrass70-builds
  • original task mentioned in the subject:

WinGrass-Installer should include a working gdal-version which is built against

best regards Helmut

comment:3 by hellik, 14 years ago

Keywords: wingrass added
Platform: UnspecifiedMSWindows Vista
Resolution: fixed
Status: newclosed
Version: unspecifiedsvn-releasebranch64

fixed by commits of #1271

Note: See TracTickets for help on using tickets.