wx2.6 and Thuban for Etch Testrun

Bernhard Reiter bernhard at intevation.de
Mon Sep 11 14:46:08 CEST 2006


Hi All,
I did a testrun for Thuban on Debian Etch
with python2.4 and wxwidgets 2.6.

It seem to work, there are two issues:
a) the numeric bugs of proj, ogr and ogdal
b) the ogr bug with FIELDTYPE_INT

See my notes and the about dialog:

* Trying thuban-on-sid.
        First I have reported a bug in python-gdal.
                http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=385460
                (python-gdal: import gdal fails with python2.4)

        Trying to compensate by setting the path explicitely, this works:
         PYTHONPATH=/usr/share/pycentral/python-gdal/site-packages/ python -c 
"import gdal"

         Starting thuban, see about-sid-20060909.txt.
                I can see a legend, but not map. Console writes:
                (python:5198): Gtk-CRITICAL **: 
gtk_file_system_unix_get_folder: assertion `g_path_is_absolute (filename)' 
failed
        only once.

         Trying to open Data/iceland_sample.thuban: does not work.
        Opening Data/iceland_sample_class.thuban works!
        _raster does not work
                _size works
                _test works

        Can work when LC_NUMERIC is set to a "." decimal point value
        (known proj, gdal and ogr bug). E.g.:
         LC_ALL=en_US.UTF-8 LANGUAGE=en_US 
PYTHONPATH=/usr/share/pycentral/python-gdal/site-packages/ ./thuban.py

        Running the tests:
         PYTHONPATH=/usr/share/pycentral/python-gdal/site-packages/ python 
runtests.py         
reasonable:======================================================================FAIL: 
Extensions.ogr.test.test_OGRShapestore.TestOGRTable.test_Column----------------------------------------------------------------------Traceback 
(most recent call last):  File 
"/mobilehome/bernhard/hacking/thuban/root/trunk/thuban-on-sid/test/../Extensions/ogr/test/test_OGRShapestore.py", 
line 197, in test_Column    self.assertEquals(self.table.Column(0).type, 
FIELDTYPE_INT)AssertionError: 'double' != 
'int'======================================================================FAIL: 
Extensions.ogr.test.test_OGRShapestore.TestOGRTable.test_Columns----------------------------------------------------------------------Traceback 
(most recent call last):  File 
"/mobilehome/bernhard/hacking/thuban/root/trunk/thuban-on-sid/test/../Extensions/ogr/test/test_OGRShapestore.py", 
line 191, in test_Columns    self.assertEquals(self.table.Columns()[0].type, 
FIELDTYPE_INT)AssertionError: 'double' != 
'int'----------------------------------------------------------------------Ran 
576 tests in 79.414sFAILED (failures=2)skipped = 166XML validation attempts 
ignored because pyRXP is not available  


-- 
Managing Director - Owner, www.intevation.net       (Free Software Company)
Germany Coordinator, fsfeurope.org       (Non-Profit Org for Free Software)
www.kolab-konsortium.com   (Email/Groupware Solution, Professional Service)
-------------- next part --------------
Thuban 1.1 svn-20060831
ChangeLog 2006-08-31

Currently using:
	wxPython 2.6.3.2
	Python 2.4.4
	PySQLite 2.3.2
	SQLite 3.3.7
	GDAL 1.3.2.0
	psycopg - not available

	Internal encoding: utf-8

Compiled for:
	GTK 2.8.20
	proj 4.4.9

Extensions:
	SVG Export 1.0.0+cvs

Lead Developer:
	Bernhard Herzog

Developers:
	Jonathan Coles
	Frank Koormann
	Martin Müller
	Bernhard Reiter
	Jan-Oliver Wagner

Translators:
	French: Daniel Calvelo Aros
	German: Björn Broscheit
	Hungarian: Norbert Solymosi
	Italian: Maurizio Napolitano
	Portuguese (Brazilian): Eduardo Patto Kanegae
	Russian: Alex Shevlakov
	Spanish: Daniel Calvelo Aros

Other Contributors:
	Jonathan Byron
	Didrik Pinte
	Ole Rahn
	Silke Reimer

Questions and comments can be sent to the following addresses:
	General list (public):
		<thuban-list at intevation.de>
	Developers list (public):
		<thuban-devel at intevation.de>
	Thuban team at Intevation:
		<thuban at intevation.de>


Details on the registered extensions:

SVG Export 1.0.0+cvs:
Copyright 2004, 2005 Intevation GmbH
Authors:
	Markus Rechtien
	Bernhard Reiter
Export the current map and legend in Thuban-map-SVG format.
Status: Initialization not yet requested.


-------------- 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/20060911/115bf130/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)