<!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>Re: [Thuban-list] Some bugs on Mac OS
X</title></head><body>
<div>Hi Bernhard</div>
<div><br></div>
<blockquote type="cite" cite>It is good news that you have made it
work!<br>
<br>
This obviously mean I can close your report<br>
RT#2616 "Shape files are not displayed", can't I?
;)<br>
https://intevation.de/rt/webrt?serial_num=2616&display=History</blockquote
>
<div><br></div>
<div>Yes it's fixed</div>
<blockquote type="cite" cite><br>
Can you give use some details about the various version numbers?<br>
Usually you would ust just copy and paste the about dialog
information,<br>
but as you report below, this does not seem to work for you. :(<br>
<br>
> - The bar (zoom in, zoom out, etc) is
missing (see the screenshot): I<br>
> can only select these features from Map Menu
(Mappa in Italian);<br>
<br>
Might be a wxWidgets problem, do you have similiar difficulties
with<br>
the demo applications from wxWidgets? If yes, then they probably
like<br>
a bug report about this. If not, we need to get into the
details.</blockquote>
<div><br></div>
<div>This is the problem in thuban but I have an idea.</div>
<div><br></div>
<div>I have seen the sample in WxPythonOSX and I check
samples/pySketch</div>
<div><br></div>
<div>In terminal I enter:</div>
<div>% pythonw pysketch.pyw</div>
<div><br></div>
<div>and the program works with all icons inside the window.</div>
<div><br></div>
<div>Thuban usually run in Linux (GTK) and Windows system with menu in
a floating window: in this window there are the icons (source
mainwindow.py, I think). OS X is different: the menu is up not in a
floating window and the icons are lost. These icons must to be in a
floating window like a LEGEND (see LEGENDA window at<font
face="Courier New" color="#000000"><b>
http://wwwamb.bologna.enea.it/forgrass/</b></font><font
face="Courier New"><b>files/<font
color="#000000">thuban_osx.jpg</font></b></font>). The source is in
legend.py: the normal layer icons are there. If I select Zoom In from
Map menu the icon is showed at the selected window but normally is
hide.</div>
<div><br></div>
<blockquote type="cite" cite>> - if I select Info
from Help menu (Aiuto in Italian) I have this error<br>
><br>
> Si è verificata una eccezione non
prevista:</blockquote>
<blockquote type="cite" cite>> encode() argument
1 must be string, not None</blockquote>
<blockquote type="cite" cite><br>
Somehow getlocale() does not return a locale.<br>
Bernhard Herzog changed that code to use getdefaultlocale() two days
ago.<br>
You can try this:<br>
<x-tab> </x-tab>replace getlocale with getdefaultlocale in<br>
<x-tab>
</x-tab><x-tab> </x-tab>the
import from locale line<br>
<x-tab>
</x-tab><x-tab> </x-tab>the
unicodeStr.encode line</blockquote>
<div><br></div>
<div>This bug is fixed.</div>
<div><br></div>
<div>Now works: this is the config</div>
<div><br></div>
<div><font face="Lucida Grande" size="-1" color="#000000">Thuban 1.1
cvs-20041219</font></div>
<div><font face="Lucida Grande" size="-1" color="#000000">Currently
using:<br>
<x-tab> </x-tab>wxPython
2.4.2.4<br>
<x-tab> </x-tab>Python
2.3.0<br>
<x-tab> </x-tab>PySQLite 0.5.1<br>
<x-tab> </x-tab>SQLite 2.8.15<br>
<x-tab> </x-tab>GDAL 1.2.5.0</font></div>
<div><font face="Lucida Grande" size="-1"
color="#000000"><x-tab>
</x-tab>psycopg 1.1.14<br>
Compiled for:<br>
<x-tab> </x-tab>GTK - not
available</font></div>
<div><font face="Lucida Grande" size="-1"
color="#000000"><x-tab>
</x-tab>proj 4.4.9</font></div>
<div><font face="Lucida Grande" size="-1"
color="#000000">Extensions:</font></div>
<div><font face="Lucida Grande" size="-1"
color="#000000"><x-tab>
</x-tab>None registered.</font><br>
<font face="Lucida Grande" size="-1" color="#000000"></font></div>
<blockquote type="cite" cite>> - ImportAPR - this
features is very good but I have many bugs in<br>
> different apr.<br>
<br>
Note that: importapr is still experimental because we need
feedback<br>
from users and then fix the bugs as you can see from Jan's reply.<br>
<br>
<br>
> Raster from GDAL<br>
><br>
> The external color for raster is black in OS X
and it's not good for<br>
> viewing or printing.<br>
<br>
Can you submit a report to the tracker about the wish<br>
to make the default raster color adjustable?</blockquote>
<div><br></div>
<div>OK<br>
</div>
<blockquote type="cite" cite><br>
> Printing from Thuban.<br>
><br>
> The printing quality or PDF quality in Mac OS X
is very poor. The<br>
> lines are big like a screenshot.<br>
><br>
> Is this a OS X problem or Thuban-Wx-Python
problem?<br>
<br>
This is a general Thuban issue dealing with the possibilities<br>
of wx's device context drawing possibilities.<br>
<br>
Actually we envision to build a printing pipeline for high quality
printing<br>
with Thuban and thus only have the direct print mechanism as a
kind<br>
of fallback as long as the printing queue is not ready or in
situations<br>
when it is not available.<br>
<br>
So for high quality printing try the route via the Thuban-Map-Svg
format.<br>
This weekend I released the svgexport extension as stable 1.0.0;<br>
it allows to to write out an svg file that you can use with any
decent<br>
vector drawing application to create a map for high quality
printing.<br>
<br>
Markus Rechtien did a prototype implementation during his Master
thesis<br>
about this printing pipeline which is based on my design concept<br>
of loosely couple components.<br>
<br>
Markus wrote a couple of script for Skencil to really make dealing<br>
with Thuban-Map-SVGs comfortable. Polishing and nicer publication<br>
within the Skencil project is pending.</blockquote>
<div><br></div>
<div>I have produced a Thuban SVG file: it's OK but the lines are very
big, more than 1 point. OK I can change them in my vector program but
perhaps it's possible to write a smaller size in SVG plugin.</div>
<div><br>
<br>
</div>
<blockquote type="cite" cite>> PRO for Thuban<br>
> ---------------<br>
> It's very very fast in OS X for raster and
vector formats.<br>
<br>
Cool!<br>
What did you compare it with?</blockquote>
<div><br></div>
<div>I have seen other Free and Commercials sw and Thuban is
faster.</div>
<div><br></div>
<blockquote type="cite" cite>> TIA<br>
> Great work<br>
<br>
Thanks for taking the time evaluating Thuban and writing<br>
down this helpful feedback.<br>
</blockquote>
<blockquote type="cite"
cite><x-tab>
</x-tab>Bernhard<br>
</blockquote>
<div><br></div>
<div>Thank for the product</div>
<div><br></div>
<x-sigsep><pre>--
</pre></x-sigsep>
<div><font face="Verdana" size="-4"
color="#000000"
>____________________________________________________________________<span
></span>____</font></div>
<div><font face="Courier New" size="-4"
color="#000000">|| Lorenzo
Moretti e-mail:
lorenzo.moretti@bologna.enea.it </font></div
>
<div><font face="Courier New" size="-4" color="#000000">||/|/|
ENEA prot/idr
Web:
http://wwwamb.bologna.enea.it/ </font></div>
<div><font face="Courier New" size="-4" color="#000000">||
| via Don Fiammelli, 2 FTP:
ftp://ftpamb.bologna.enea.it/ (ris.)</font></div>
<div><font face="Courier New" size="-4" color="#000000">~~~~~~
40128 BOLOGNA - ITALY Ph: +39-0516098086 Fax:
+39-0516098131</font></div>
<div><font face="Courier New" size="-4"
color="#000000"
>____________________________________________________________________<span
></span>____</font></div>
</body>
</html>