Posted to tcl by Emiliano at Mon Sep 03 20:17:36 GMT 2007view pretty

emiliano@maq033:~/programas/lib/bwidget/demo$ wish8.5 demo.tcl 
Error in startup script: unknown option "-background"
    while executing
"$path cget $realopt"
    (procedure "Widget::cget" line 21)
    invoked from within
"Widget::cget $path $option"
    (procedure "Widget::getoption" line 6)
    invoked from within
"Widget::getoption $path -background"
    (procedure "MainFrame::addtoolbar" line 8)
    invoked from within
"MainFrame::addtoolbar .mainframe"
    ("eval" body line 1)
    invoked from within
"eval [linsert $args 0 MainFrame::$cmd .mainframe]"
    (procedure ".mainframe" line 1)
    invoked from within
"$mainframe addtoolbar"
    (procedure "Demo::create" line 41)
    invoked from within
"Demo::create"
    (procedure "Demo::main" line 12)
    invoked from within
"Demo::main"
    (file "demo.tcl" line 211)
X Error of failed request:  RenderBadPicture (invalid Picture parameter)
  Major opcode of failed request:  155 (RENDER)
  Minor opcode of failed request:  7 (RenderFreePicture)
  Picture id in failed request: 0x2600065
  Serial number of failed request:  503
  Current serial number in output stream:  520
emiliano@maq033:~/programas/lib/bwidget/demo$

Comments

Posted by Emiliano at Mon Sep 03 20:22:38 GMT 2007 [text] [code]

The demo.tcl file is from bwidget's demo, with a line added after the [package require BWidget]: Widget::theme 1 This line causes the script to break with both the XFT enabled build and with the one build with --disable-xft. However the message XError of failed request: RenderBadPicture (invalid Picture parameter) appears only with the XFT enabled build (the default on 8.5a7)