[Skencil-users] Skencil on 64-bit RHEL 4

Frank E. Paige paige at quark.phy.bnl.gov
Wed Feb 14 19:52:24 CET 2007


I have been happily using Skencil since it was called Sketch. I just
tried to compile and install it on a new Dell workstation running 64-bit
RedHat Enterprise Linux 4,

# uname -a
Linux qcd.phy.bnl.gov 2.6.9-5.ELsmp #1 SMP Wed Jan 5 19:29:47 EST 2005 x86_64 x86_64 x86_64 GNU/Linux

I had to edit setup.py and the Makefile.pre.in files to change /lib/ to
/lib64/ in various places and specify --python-setup to use /usr/lib64.
It then compiled and seems to work except that it repeatedly generates
an error message when trying to (re)draw the rulers. I added a debug
print statement in ruler.py,

            print 'DEBUG', pos, tw, y, text
            DrawString(pos - tw / 2, y, text)

Evidently y is the culprit:

shared memory images not supported
DEBUG -49 18 -34506866767691784 -600
--- Calling RedrawMethod failed---
Traceback (most recent call last):
  File "/usr/local/lib/skencil-0.6.17/Sketch/UI/ruler.py", line 249, in RedrawMethod
    self.draw_ruler_horizontal()
  File "/usr/local/lib/skencil-0.6.17/Sketch/UI/ruler.py", line 282, in draw_ruler_horizontal

If I comment out line 282 of ruler.py, everything except the rulers
seems to work, although I have done only limited tests.

Frank Paige
-- 
Frank E. Paige
Mail:  Physics Department - Bldg. 510A
       Brookhaven National Laboratory
       Upton, NY 11973
Phone: 631/344-3836
Email: paige at bnl.gov


More information about the Skencil-users mailing list