[Thuban-list] thuban installer : added gdal dll

Bernhard Reiter bernhard at intevation.de
Wed Apr 12 13:04:23 CEST 2006


Am 12. Apr 2006 um 12:37:30 schrieb Didrik Pinte:
> Le mercredi 12 avril 2006 à 11:24 +0200, Bernhard Reiter a écrit :
> > > 
> > > 	No GDAL support because module 'gdalwarp' cannot be imported. Python exception: 'DLL load failed: Das angegebene Modul wurde nicht gefunden.'
> 
> --> i've uploaded a new version with the gdalconst.py file added. It
> works on my computer.

Thanks, it is better, but I still have problems displaying a raster file.
Testlog attached.

In addition I suggest to always bumb the version number when giving out
a new version. E.g. using Thuban-1.1.0-2 now.
Later this is much easier to recognise in testlogs.
-------------- next part --------------
20060412 Bernhard Reiter

	Testing Thuban-1.1.0-1.new.exe by Didrik.

	General Setup: Windows XP Sp2 German, old Thuban-1.1.0-1 installation.

	(already fulfilled: Pre002 Pre003 Pre004 Pre005).

	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\

	GS001 Pre001 Running Thuban-1.1.0-1.exe. All default values.
	      Expected behaviour: no errors. There is a Thuban start menu entry.
ok.

	Pre006 Login as unpriviledged User.

	GS002 Starting Thuban, via Menu.
	      Expected behaviour: Thuban starts up
ok.


	G003-language  According to the language of your system, 
		       if Thuban has the language, it should be localised.

failed, still English.


	G004-about-dialog-sane  Select Help -> About
		Expected result: Get a nice about dialog.
ok.

	G005-about-showing-gdal
ok.   
	Thuban 1.1 cvs-20060405
	Currently using:
		wxPython 2.6.3.0
		Python 2.4.3
		PySQLite 2.2.0
		SQLite 3.3.4
		GDAL 1.3.1.0
		psycopg - not available
	Compiled for:
		GTK - not available
		proj 4.4.6
	Extensions:
		None registered.

		
	Pre120 Load session iceland_sample_raster.thuban

	G020-raster-display, (Pre120)
		Expected result: iceland with raster background should be shown.

Failed: No Image shown.

Attempt: Trying to  select a projection for the image 
	(should not be necessary.)
	Tried selecting UTM 27.

	Error on command line:
	
C:\Programme\Thuban>c:\\python24\python.exe thuban.pyw
No thubanstart module available
ViewPort.set_view_transform: ZeroDivisionError, scale = 0.0
ERROR 1: Unable to compute a transformation between pixel/line
and georeferenced coordinates for C:\Programme\Thuban\Data\iceland\island.tif.
There is no affine transformation and no GCPs.
Traceback (most recent call last):
  File "C:\Programme\Thuban\Thuban\UI\renderer.py", line 139, in projected_raste
r_layer
    options)
IOError: Error creating destination image for projecting C:\Programme\Thuban\Dat
a\iceland\island.tif
0 0 <wx._gdi.MemoryDC; proxy of C++ wxMemoryDC instance at _a841af00_p_wxMemoryD
C> <class 'wx._gdi.MemoryDC'> <C ShapeFile instance at _ae8858_p_ShapeFile> 1.0
-1.0
0 0 <wx._gdi.MemoryDC; proxy of C++ wxMemoryDC instance at _a841af00_p_wxMemoryD
C> <class 'wx._gdi.MemoryDC'> <C ShapeFile instance at _aeda38_p_ShapeFile> 1.0
-1.0
ViewPort.set_view_transform: ZeroDivisionError, scale = 0.0
ERROR 1: Unable to compute a transformation between pixel/line
and georeferenced coordinates for C:\Programme\Thuban\Data\iceland\island.tif.
There is no affine transformation and no GCPs.

Traceback (most recent call last):
  File "C:\Programme\Thuban\Thuban\UI\renderer.py", line 139, in projected_raste
r_layer
    options)
IOError: Error creating destination image for projecting C:\Programme\Thuban\Dat
a\iceland\island.tif
0 0 <wx._gdi.MemoryDC; proxy of C++ wxMemoryDC instance at _a841af00_p_wxMemoryD
C> <class 'wx._gdi.MemoryDC'> <C ShapeFile instance at _aeda38_p_ShapeFile> 1.0
-1.0
ERROR 1: Unable to compute a transformation between pixel/line
and georeferenced coordinates for C:\Programme\Thuban\Data\iceland\island.tif.
There is no affine transformation and no GCPs.
Traceback (most recent call last):
  File "C:\Programme\Thuban\Thuban\UI\renderer.py", line 139, in projected_raste
r_layer
    options)
IOError: Error creating destination image for projecting C:\Programme\Thuban\Dat
a\iceland\island.tif
0 0 <wx._gdi.MemoryDC; proxy of C++ wxMemoryDC instance at _a841af00_p_wxMemoryD
C> <class 'wx._gdi.MemoryDC'> <C ShapeFile instance at _ae8858_p_ShapeFile> 1.0
-1.0
0 0 <wx._gdi.MemoryDC; proxy of C++ wxMemoryDC instance at _a841af00_p_wxMemoryD
C> <class 'wx._gdi.MemoryDC'> <C ShapeFile instance at _aeda38_p_ShapeFile> 1.0
-1.0
Could not read "C:\Dokumente und Einstellungen\Tolltec User3\Anwendungsdaten\thu
ban\user.proj": [Errno 2] No such file or directory: u'C:\\Dokumente und Einstel
lungen\\Tolltec User3\\Anwendungsdaten\\thuban\\user.proj'

Could me using python 2.4.3 play a role here?
Note: user.proj should not be necessary. At least it is not on GNU/Linux.
-------------- 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/90272d15/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)