[Thuban-list] thuban installer : added gdal dll
Bernhard Reiter
bernhard at intevation.de
Wed Apr 12 10:47:24 CEST 2006
Am 12. Apr 2006 um 10:43:52 schrieb Bernhard Reiter:
> Am 11. Apr 2006 um 16:05:38 schrieb Didrik Pinte:
> > I've added the gdal1.3.1.dll to the Inno installer. It's in the 1.1.0-1
> > version :
> > http://wald.intevation.org/frs/download.php/190/Thuban-1.1.0-1.exe
>
> Very nice.
>
> > Can someone test the raster functionnality in a fresh environment ?
>
> I just gave it a spin.
> Short story:
> * Got a Thuban 1.1.0 window for the first time on Windows!
> Congratulations!
>
> * Installation was a bumpy ride.
> Additionally installed:
> Pre002
> python-2.4.3.msi
> Pre003
> wxPython2.6-win32-unicode-2.6.3.0-py24.exe
> Pre004
> pysqlite-2.2.0.win32-py2.4.exe
> Pre005
> Thuban-data-1.0.0.zip/data copied to C:\programme\thuban\
>
> and need to copy Copying msvcp71.dll into c:\\windows\system32
>
> * GDAL does not work, because gdalconst seems to be missing.
>
> More details on the development list.
Im am attaching my full testnotes.
This includes the rough beginning of a real set of manual tests,
that we could in the future ask people to try.
Bernhard
-------------- next part --------------
20060412 Bernhard Reiter
Testing Thuban-1.1.0-1.exe by Didrik.
General Setup, tested on Windows XP Sp2 German.
Pre001
Login as Administrator.
Pre002
python-2.4.3.msi
Pre003
wxPython2.6-win32-unicode-2.6.3.0-py24.exe
Pre004
pysqlite-2.2.0.win32-py2.4.exe
Pre005
Thuban-data-1.0.0.zip/data copied to C:\programme\thuban\
Pre006 Login as unpriviledged User.
GS001 Running Thuban-1.1.0-1.exe. All default values.
Expected behaviour: no errors. There is a Thuban start menu entry.
Login as user.
GS002 Starting Thuban, via Menu.
Expected behaviour: Thuban starts up
GS002 20060412-1 failed: No python installed.
-> Suggstion: Make a hint in the installer
and the release notes what is needed.
20060412-2: (with python and wxpython): failed, no windows,
no error message.
Running on the command line
c:\\Python24\python.exe ./thuban.pyw
revealed that _sqlite is missing.
20060412-3: error message, but application starts
The applicaion could not be started because
msvcp71.dll could not be found.
Thuban 1.1 cvs-20060405
Currently using:
wxPython 2.6.3.0
Python 2.4.2
PySQLite 2.2.0
SQLite 3.3.4
GDAL - not available
psycopg - not available
No GDAL support because module 'gdalwarp' cannot be imported. Python exception: 'DLL load failed: Das angegebene Modul wurde nicht gefunden.'
Compiled for:
GTK - not available
proj 4.4.6
Extensions:
None registered.
G003-language According to the language of your system,
if Thuban has the language, it should be localised.
Failed G003-language (de): Thuban was displayed in English.
Pre100 Load session iceland_sample.thuban
G010-session-loads
Expected result: after Pre100 iceland should be shown
with gray fill color, yellow spots and black lines.
G011-projection-simple-UTM
Map -> Projection change from unkown to UTM Zone 27.
Expected Results: iceland should jump.
G012-projection-simple-Belgian
Map -> Projection change from unkown to Belgian Datum.
Expected result: icland should jump.
Failed G012-projection-simple-belgian:
Traceback (most recent call last):
File "\.\Thuban\UI\projdialog.py", line 233, in OnApply
File "\.\Thuban\UI\projdialog.py", line 555, in __SetProjection
File "\.\Thuban\UI\projdialog.py", line 578, in __GetProjection
File "\.\Thuban\Model\proj.py", line 40, in __init__
File "\.\Lib\Projection.py", line 5, in __init__
self.this = apply(Projectionc.new_Projection,args)
TypeError: list must contain strings
Pre120 Load session iceland_sample_raster.thuban
G020-raster-display, (Pre120)
Expected result: iceland with raster background should be shown.
Failed G020-raster-display 20060412:
An unhandled exception occurred:
global name 'wx' is not defined
(please report to http://thuban.intevation.org/bugtracker.html)
Traceback (most recent call last):
File "\.\Thuban\UI\mainwindow.py", line 300, in invoke_command
File "\.\Thuban\UI\command.py", line 121, in Execute
File "\.\Thuban\UI\mainwindow.py", line 1074, in call_method
File "\.\Thuban\UI\mainwindow.py", line 474, in OpenSession
File "\.\Thuban\UI\application.py", line 257, in OpenSession
NameError: global name 'wx' is not defined
Analysis: probably the msvcp71.dll is the problem.
C:\Programme\Thuban\Lib>c:\python24\python.exe gdal.py
Traceback (most recent call last):
File "gdal.py", line 191, in ?
import _gdal
ImportError: DLL load failed: Das angegebene Modul wurde nicht gefunden.
Interesting:
C:\Programme\Thuban\Lib>c:\python24\python.exe
Python 2.4.2 (#67, Sep 28 2005, 12:41:11) [MSC v.1310 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import _gdal
>>> import gdal
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "gdal.py", line 192, in ?
from gdalconst import *
ImportError: No module named gdalconst
>>>
c:\\Python2.4 has those .dll, but this might not be enough, see
http://mail.python.org/pipermail/python-list/2005-February/263699.html
Diagnosis:
c:\\windows\system32
does have python24.dll, but not msvcp71.dll.
Attempt:
Copying msvcp71.dll into c:\\windows\system32.
Progress:
Now: the about dialog sys:
No GDAL support because module 'gdal' cannot be imported. Python exception: 'No module named gdalconst'
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.intevation.de/pipermail/thuban-devel/attachments/20060412/2da0b859/attachment.bin
More information about the Thuban-devel
mailing list
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)