pyshapelib tests

Bram de Greve bram.degreve at gmail.com
Fri Mar 23 02:22:09 CET 2007


Bram de Greve wrote:
> I've tried to build Thuban on my windows box, but I almost gave up after 
> finding too much hurdles to take.  After adding tons of include and 
> library dirs, and setting PATHs, I've bumped into this nice traceback 
> after which I felt kind of tired =)
>
> D:\bram\thuban_work\WIP-pyshapelib-bramz>thuban.py
> Please update your PATH environment variable to include 
> D:\bram\thuban_work\WIP-
> pyshapelib-bramz\Thuban\..\gdal\bin
> Traceback (most recent call last):
>   File "D:\bram\thuban_work\WIP-pyshapelib-bramz\thuban.py", line 32, in ?
>     import Thuban.UI.main
>   File "D:\bram\thuban_work\WIP-pyshapelib-bramz\Thuban\UI\main.py", 
> line 18, in
>  ?
>     import application
>   File 
> "D:\bram\thuban_work\WIP-pyshapelib-bramz\Thuban\UI\application.py", line
>  27, in ?
>     from Thuban.Model.save import save_session
>   File "D:\bram\thuban_work\WIP-pyshapelib-bramz\Thuban\Model\save.py", 
> line 23,
>  in ?
>     from Thuban.Model.layer import Layer, RasterLayer
>   File "D:\bram\thuban_work\WIP-pyshapelib-bramz\Thuban\Model\layer.py", 
> line 15
> , in ?
>     from wxproj import point_in_polygon_shape, shape_centroid
> ImportError: DLL load failed: A dynamic link library (DLL) 
> initialization routin
> e failed.

I've also been able to track down this problem ... it appears having a 
proj.dll dependent on msvcr80.dll doesn't mix well with rest of Thuban 
stuff.  I've written a bit about it here: 
http://www.bramz.org/2007/03/22/things-learnt-while-coding-on-pyshapelib/

Bram



More information about the Thuban-devel mailing list