Hi Lothar,<br><br>It seems pointer operations in paxmodule.so are potential problem cause on x64 platform.<br>I think similar bugs can be found not only in rulers.<br><br>If you have Python skills you can try fixing the problem using
tkruler.py from sK1 project as<br>a ruler.py substitution. This widget is based on Tk Canvas and may works better on <br>64bit platform.<br><br>Best regards,<br><br>Igor Novikov<br>sK1 Team<br><a href="http://sk1.sf.net">
http://sk1.sf.net</a><br><br><br><div><span class="gmail_quote">On 2/8/07, <b class="gmail_sendername">Lothar Birk</b> <<a href="mailto:lbirk@uno.edu">lbirk@uno.edu</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Dear Bernhard,<br><br>thanks for the reply and --one cannot say it often enough--<br>thanks for this wonderful program (all contributors included).<br><br>The Python version in 2.4.4 and tcl/tk 8.4<br>is installed. I used to compile skencil from source but somehow tried to
<br>reduce the workload and switched to rpms.<br><br>The problem persists if I install skencil from source (I tried again).<br><br>I guess it has something to do with compiling and running it on a 64bit<br>architecture. My hope was other people have already encountered and
<br>solved the problem before. May be I have time in a couple of weeks to<br>dive into this.<br><br>Best regards,<br>Lothar<br><br>On Thu, 2007-02-08 at 10:56 +0100, Bernhard Reiter wrote:<br>> Hi Lothar,<br>><br>> On Wednesday 07 February 2007 16:57, Lothar Birk wrote:
<br>> > I am running Skencil on a Fedora 6 x86_64 system.<br>> > Installation is from the skencil-0.6.17-8.fc6.x86_64.rpm.<br>> > During startup of the program I get the error messages below. Rulers do<br>
> > not show up and you cannot pull new guide lines into the drawing.<br>> > Otherwise the program is running fine.<br>> ><br>> > --- Calling RedrawMethod failed---<br>> > Traceback (most recent call last):
<br>> > File "/usr/lib64/skencil-0.6.17/Sketch/UI/ruler.py", line 249, in<br>> > RedrawMethod<br>> > self.draw_ruler_horizontal()<br>> > File "/usr/lib64/skencil-0.6.17/Sketch/UI/ruler.py", line 281, in
<br>> > draw_ruler_horizontal<br>> > DrawString(pos - tw / 2, y, text)<br>> > OverflowError: signed integer is less than minimum<br>> > ---<br>> > --- Calling RedrawMethod failed---<br>> > Traceback (most recent call last):
<br>> > File "/usr/lib64/skencil-0.6.17/Sketch/UI/ruler.py", line 251, in<br>> > RedrawMethod<br>> > self.draw_ruler_vertical()<br>> > File "/usr/lib64/skencil-0.6.17/Sketch/UI/ruler.py", line 333, in
<br>> > draw_ruler_vertical<br>> > DrawString(dx - TextWidth(text), pos, text)<br>> > OverflowError: signed integer is greater than maximum<br>> > ---<br>> ><br>> > The error also occurs with the newer
skencil-0.6.17-10.fc6.x86_64.rpm<br>> > Does anyone have an idea how to fix this. Last fall someone filed a<br>> > bug on a Debian mailing list which was later closed because a new<br>> > edition of the rpm apparently made the error go away.
<br>><br>> what version of python is used?<br>> Also which version of tcl/tk. (Check the about dialog.)<br>> I suggest you file a problem report, including this information.<br>><br>> One idea could be to try out a different python version
<br>> or a manual build. Both if you happen to know how to do this<br>> and are willing to invest the time. The chance to get new insights<br>> is low.<br>><br>> Regards,<br>> Bernhard R.<br>><br>> _______________________________________________
<br>> Skencil-users mailing list<br>> <a href="mailto:Skencil-users@wald.intevation.org">Skencil-users@wald.intevation.org</a><br>> <a href="http://lists.wald.intevation.org/mailman/listinfo/skencil-users">http://lists.wald.intevation.org/mailman/listinfo/skencil-users
</a><br>--<br>-- Lothar Birk --------------------------------------------------------<br>School of Naval Architecture and Marine Engineering<br>University of New Orleans, 2000 Lakeshore Drive, New Orleans, LA 70148<br>Phone +1 504 280 6183, Fax +1 504 280 5542
<br>--<br>-- Lothar Birk --------------------------------------------------------<br>School of Naval Architecture and Marine Engineering<br>University of New Orleans, 2000 Lakeshore Drive, New Orleans, LA 70148<br>Phone +1 504 280 6183, Fax +1 504 280 5542
<br><br>_______________________________________________<br>Skencil-users mailing list<br><a href="mailto:Skencil-users@wald.intevation.org">Skencil-users@wald.intevation.org</a><br><a href="http://lists.wald.intevation.org/mailman/listinfo/skencil-users">
http://lists.wald.intevation.org/mailman/listinfo/skencil-users</a><br></blockquote></div><br>