From gemi at bluewin.ch Sat Jun 14 23:22:48 2008 From: gemi at bluewin.ch (=?ISO-8859-1?Q?G=E9rard?= Milmeister) Date: Sat, 14 Jun 2008 23:22:48 +0200 Subject: [Skencil-users] Problems running witch tcl/tk 8.5.1 Message-ID: <1213478568.10922.5.camel@localhost.localdomain> I maintain the skencil package for Fedora. Although it builds fine (svn revision 695), it does not start up: Could not load font '-misc-fixed-medium-*-*-*-11-*-*-*-*-*-iso8859-1' for ruler. using defaults. Traceback (most recent call last): File "/usr/bin/skencil", line 34, in Sketch.main.main() File "/usr/lib/skencil-0.6.17/Sketch/Base/main.py", line 148, in main run_script = options.run_script) File "/usr/lib/skencil-0.6.17/Sketch/UI/skapp.py", line 183, in __init__ self.build_window() File "/usr/lib/skencil-0.6.17/Sketch/UI/skapp.py", line 223, in build_window self.run_script) File "/usr/lib/skencil-0.6.17/Sketch/UI/mainwindow.py", line 97, in __init__ self.build_window() File "/usr/lib/skencil-0.6.17/Sketch/UI/mainwindow.py", line 592, in build_window hrule = ruler.Ruler(root, orient = ruler.HORIZONTAL) File "/usr/lib/skencil-0.6.17/Sketch/UI/ruler.py", line 68, in __init__ font = self.tkwin.LoadQueryFont('fixed') AttributeError: Ruler instance has no attribute 'tkwin' One problem that I identified is in line 367 of paxmodule.c: if ((configSpecs[CFGIDX_OBJECT].specFlags & TK_CONFIG_OPTION_SPECIFIED) != 0) where the expression returns 0. Thus the attribute tkwin is not initialized. If I make the condition return true, skencil starts up and shows the user interface, but many operations, though not all, segfault.