<!doctype html public "-//W3C//DTD W3 HTML//EN">
<html><head><style type="text/css"><!--
blockquote, dl, ul, ol, li { padding-top: 0 ; padding-bottom: 0 }
--></style><title>Errors and notes about OSX
version</title></head><body>
<div>Notes about Thuban-OSX-1.0.1-3</div>
<div><br></div>
<div>Problems with raster reprojected (resolved with a tip for version
1.0.1-3)</div>
<div>There is a strange link inside GDAL library (I have sent a note
to gdal mailing list) and GDAL always see libproj.so installed in
/usr/local/lib. This is an error because proj can be installed in
other directory.</div>
<div>There is a tip (not very beatiful for an application) but it
works in Mac OSX binary: create a symbolic link to libproj.0.dylib
inside Thuban application. If you have Thuban 1.0.1 app inside Thuban
1.0.1 folder inside Applications folder you enter this command in
terminal:</div>
<blockquote>% sudo ln -s /Applications/Thuban\ 1.0.1/Thuban\
1.0.1.app/Contents/Frameworks/libproj.0.dylib
/usr/local/lib/libproj.so</blockquote>
<blockquote> ... enter your password and
return</blockquote>
<div>Now rasters layers can be reprojected.</div>
<div><br></div>
<div><br></div>
<div>Problem with wms</div>
<div>Until the end of January it was possible to see wms demo link
inside Thuban for OS X (<font face="Lucida Grande" size="-1"
color="#000000">http://frida.intevation.org/cgi-bin/frida_wms?</font>)
with all layers. Now Thuban is connected to that link but nothing is
diplayed: all layers are selected, the scale bar is OK but nothing is
diplayed. Is it changed the remote link? The Thuban version is the
same.</div>
<div>This is the error:</div>
<div>Traceback (most recent call last):</div>
<div> File "/Applications/Thuban 1.0.1/Thuban
1.0.1.app/Contents/Resources/Python/site-packages/Thuban/UI/view.py<span
></span>", line 209, in _do_redraw</div>
<div> File "/Applications/Thuban 1.0.1/Thuban
1.0.1.app/Contents/Resources/Python/site-packages/Thuban/UI/view.py<span
></span>", line 258, in _render_iterator</div>
<div> File "/Applications/Thuban 1.0.1/Thuban
1.0.1.app/Contents/Resources/Python/site-packages/Thuban/UI/baserende<span
></span>rer.py", line 203, in render_map_incrementally</div>
<div> File "/Applications/Thuban
1.0.1.app/Contents/Resources/Python/site-packages/Extensions/wms/wms.<span
></span>py", line 57, in render_wms_layer</div>
<div>TypeError: draw_raster_data() takes at least 4 arguments (3
given)</div>
<div><br>
<br>
</div>
<div>Problems with PostGis connections</div>
<div>My Postgis works with Grass and Qgis but in Thuban I have some
problems. I can enter the parameters for db and this is OK. From Add
Layers from I can select a layer from db with ID column and Geometry
Column (wkb_geometry). Only the first time I see the layers but if I
choose a projection layer Thuban goes to error:</div>
<div><font face="Lucida Grande" size="-1" color="#000000">SELECT
extent("wkb_geometry") FROM
"provincia_ro";</font></div>
<div><font face="Lucida Grande" size="-1" color="#000000">(per piacere
segnala l'errore a http://thuban.intevation.org/bugtracker.html)<br>
<br>
Traceback (most recent call last):</font></div>
<div><font face="Lucida Grande" size="-1" color="#000000"> File
"/Applications/Thuban 1.0.1/Thuban
1.0.1.app/Contents/Resources/Python/site-packages/Thuban/UI/mainwindo<span
></span>w.py", line 294, in invoke_command</font></div>
<div><font face="Lucida Grande" size="-1" color="#000000"> File
"/Applications/Thuban
1.0.1.app/Contents/Resources/Python/site-packages/Thuban/UI/command.p<span
></span>y", line 121, in Execute</font></div>
<div><font face="Lucida Grande" size="-1" color="#000000"> File
"/Applications/Thuban 1.0.1/Thuban
1.0.1.app/Contents/Resources/Python/site-packages/Thuban/UI/mainwindo<span
></span>w.py", line 1068, in call_method</font></div>
<div><font face="Lucida Grande" size="-1" color="#000000"> File
"/Applications/Thuban 1.0.1/Thuban
1.0.1.app/Contents/Resources/Python/site-packages/Thuban/UI/mainwindo<span
></span>w.py", line 973, in FullExtent</font></div>
<div><font face="Lucida Grande" size="-1" color="#000000"> File
"/Applications/Thuban 1.0.1/Thuban
1.0.1.app/Contents/Resources/Python/site-packages/Thuban/UI/viewport.<span
></span>py", line 483, in FitMapToWindow</font></div>
<div><font face="Lucida Grande" size="-1" color="#000000"> File
"/Applications/Thuban
1.0.1.app/Contents/Resources/Python/site-packages/Thuban/Model/map.py<span
></span>", line 209, in ProjectedBoundingBox</font></div>
<div><font face="Lucida Grande" size="-1" color="#000000"> File
"/Applications/Thuban
1.0.1.app/Contents/Resources/Python/site-packages/Thuban/Model/map.py<span
></span>", line 188, in BoundingBox</font></div>
<div><font face="Lucida Grande" size="-1" color="#000000"> File
"/Applications/Thuban
1.0.1.app/Contents/Resources/Python/site-packages/Thuban/Model/layer.<span
></span>py", line 169, in LatLongBoundingBox</font></div>
<div><font face="Lucida Grande" size="-1" color="#000000"> File
"/Applications/Thuban
1.0.1.app/Contents/Resources/Python/site-packages/Thuban/Model/layer.<span
></span>py", line 162, in BoundingBox</font></div>
<div><font face="Lucida Grande" size="-1" color="#000000"> File
"/Applications/Thuban
1.0.1.app/Contents/Resources/Python/site-packages/Thuban/Model/postgi<span
></span>sdb.py", line 639, in BoundingBox</font></div>
<div><font face="Lucida Grande" size="-1"
color="#000000">ProgrammingError: ERROR: current transaction is
aborted, commands ignored until end of transaction block<br>
<br>
SELECT extent("wkb_geometry") FROM
"provincia_ro";</font><br>
<font face="Lucida Grande" size="-1" color="#000000"></font></div>
<div>Why?</div>
<div><br></div>
<div><br></div>
<div>------------------------------------</div>
<div>Notes about last Thuban-cvs-05-02-11</div>
<div><br></div>
<div>Raster</div>
<div>Background Raster Layer are returned black and more than 1 raster
on Thuban now clean the raster layer below. In 1.0.1-3 more raster
layers can be displayed without cleaning.</div>
<div><br></div>
<div><br></div>
<div>All properties windows</div>
<div>Now there is a strange format text in the box inside any layer
Properties window. In the box called Title, the name of layer is
missing to the left of box. I see only the last letter of name and I
have to move the cursor to the left for viewing the whole name. This
is OK in previous 1.0.1-3</div>
<div><br></div>
<div><br></div>
<div>Open layer via OGR (Map menu)</div>
<div>Under this menu there are 3 menu. The first: Open an ogr-file is
OK. The second: Select file format open a window for Choosing file
format but If I select on the left column one format (ex: ESRI
Shapefile) and I press OK I have this error:</div>
<div><font face="Lucida Grande" size="-1" color="#000000">An unhandled
exception occurred:<br>
ChooseFileFormat instance has no attribute 'lb_driver'<br>
(please report to http://thuban.intevation.org/bugtracker.html)<br>
<br>
Traceback (most recent call last):</font></div>
<div><font face="Lucida Grande" size="-1" color="#000000"> File
"/Applications/Thuban 1.0.1/Thuban 1.0.1
cvs.app/Contents/Resources/Python/site-packages/Extensions/ogr/ogrdia<span
></span>log.py", line 131, in OnRetrieve</font></div>
<div><font face="Lucida Grande" size="-1"
color="#000000">AttributeError: ChooseFileFormat instance has no
attribute 'lb_driver'</font><br>
<font face="Lucida Grande" size="-1" color="#000000"></font></div>
<div><br></div>
<div>NOT resolved</div>
<div>- Toolbar is missing</div>
<div>- Sometimes Legend is window locked and resizer window doesn't
work (this is linked to the Toolbar absence)</div>
<div><br></div>
<div><br></div>
<div>Bye</div>
<x-sigsep><pre>--
</pre></x-sigsep>
<div
>____________________________________________________________________<span
></span>____<br>
|| Lorenzo
Moretti e-mail:
lorenzo.moretti@bologna.enea.it <br>
||/|/| ENEA
prot/idr Web:
http://wwwamb.bologna.enea.it/ <br>
|| | via Don Fiammelli, 2 FTP:
ftp://ftpamb.bologna.enea.it/ (ris.)<br>
~~~~~~ 40128 BOLOGNA - ITALY Ph: +39-0516098086 Fax:
+39-0516098131</div>
<div
>____________________________________________________________________<span
></span>____</div>
</body>
</html>