[Thuban-list] installing Thuban locally fails

Tim Michelsen timmichelsen at gmx-topmail.de
Fri May 23 21:58:16 CEST 2008


Hi,
thanks for your response.

I checkout out from SVN trunk.
> thanks for trying and reporting here.
> It seem the README was not clear enough about a few things.
> I just improved it, here are some of the new lines:
> 
> Requirements for building and running Thuban.
> ------------
> Building and installing
> -----------------------
I installed these dependencies with

sudo apt-get build-dep thuban

now the program get's built with


python setup.py install_local

But when running

./thuban.py

I get the following warning:

################


$ ./thuban.py
/var/tmp/install/thuban/trunk/thuban/Thuban/UI/colordialog.py:25: 
DeprecationWarning: The wxPython compatibility package is no longer 
automatically generated or actively maintained.  Please switch to the wx 
package as soon as possible.
   from wxPython.lib.colourchooser import wxPyColourChooser

*******************************************************
  The following version errors were detected:
      Thuban was compiled with wx 2.6.3 but wxPython is 2.8.7.1
*******************************************************

###############

I run the tests:

#####
cd test
python ./runtests.py

#####


The message I get in the bash:

#############

======================================================================
FAIL: Extensions.ogr.test.test_OGRShapestore.TestOGRTable.test_Column
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"/var/tmp/install/thuban/trunk/thuban/test/../Extensions/ogr/test/test_OGRShapestore.py", 
line 200, 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 
"/var/tmp/install/thuban/trunk/thuban/test/../Extensions/ogr/test/test_OGRShapestore.py", 
line 194, in test_Columns
     self.assertEquals(self.table.Columns()[0].type, FIELDTYPE_INT)
AssertionError: 'double' != 'int'

----------------------------------------------------------------------
Ran 578 tests in 9.199s

FAILED (failures=2)
skipped = 171
XML validation attempts ignored because pyRXP is not available

############



Here is a list of wx packages on my system:

  dpkg -l|grep wx
ii  boa-constructor                            0.6.1-2 
                           RAD tool for Python and WxWindows applicatio
ii  libwxbase2.6-0                             2.6.3.2.2-2ubuntu4 
                           wxBase library (runtime) - non-GUI support c
ii  libwxbase2.6-dev                           2.6.3.2.2-2ubuntu4 
                           wxBase library (development) - non-GUI suppo
ii  libwxbase2.8-0                             2.8.7.1-0ubuntu3 
                           wxBase library (runtime) - non-GUI support c
rc  libwxgtk2.4-1                              2.4.5.1ubuntu2 
                           wxWindows Cross-platform C++ GUI toolkit (GT
ii  libwxgtk2.6-0                              2.6.3.2.2-2ubuntu4 
                           wxWidgets Cross-platform C++ GUI toolkit (GT
ii  libwxgtk2.6-dev                            2.6.3.2.2-2ubuntu4 
                           wxWidgets Cross-platform C++ GUI toolkit (GT
ii  libwxgtk2.8-0                              2.8.7.1-0ubuntu3 
                           wxWidgets Cross-platform C++ GUI toolkit (GT
ii  python-wxglade                             0.6.3-0.1ubuntu1 
                           GUI designer written in Python with wxPython
ii  python-wxgtk2.6                            2.6.3.2.2-2ubuntu4 
                           wxWidgets Cross-platform C++ GUI toolkit (wx
ii  python-wxgtk2.8                            2.8.7.1-0ubuntu3 
                           wxWidgets Cross-platform C++ GUI toolkit (wx
ii  python-wxtools                             2.8.7.1-0ubuntu3 
                           wxWidgets Cross-platform C++ GUI toolkit (wx
ii  python-wxversion                           2.8.7.1-0ubuntu3 
                           wxWidgets Cross-platform C++ GUI toolkit (wx
rc  pythoncard-tools                           0.8.1-8.1 
                           wxPython-based GUI construction framework (o
ii  wx2.6-headers                              2.6.3.2.2-2ubuntu4 
                           wxWidgets Cross-platform C++ GUI toolkit (he



May you please help me to get Thuban running?


Kind regards,
Timmie




More information about the Thuban-list mailing list

This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)