[Skencil-users] Problems running witch tcl/tk 8.5.1
Gérard Milmeister
gemi at bluewin.ch
Sat Jun 14 23:22:48 CEST 2008
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 <module>
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.
More information about the Skencil-users
mailing list