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

  1. emiliano@maq033:~/programas/lib/bwidget/demo$ wish8.5 demo.tcl
  2. Error in startup script: unknown option "-background"
  3. while executing
  4. "$path cget $realopt"
  5. (procedure "Widget::cget" line 21)
  6. invoked from within
  7. "Widget::cget $path $option"
  8. (procedure "Widget::getoption" line 6)
  9. invoked from within
  10. "Widget::getoption $path -background"
  11. (procedure "MainFrame::addtoolbar" line 8)
  12. invoked from within
  13. "MainFrame::addtoolbar .mainframe"
  14. ("eval" body line 1)
  15. invoked from within
  16. "eval [linsert $args 0 MainFrame::$cmd .mainframe]"
  17. (procedure ".mainframe" line 1)
  18. invoked from within
  19. "$mainframe addtoolbar"
  20. (procedure "Demo::create" line 41)
  21. invoked from within
  22. "Demo::create"
  23. (procedure "Demo::main" line 12)
  24. invoked from within
  25. "Demo::main"
  26. (file "demo.tcl" line 211)
  27. X Error of failed request: RenderBadPicture (invalid Picture parameter)
  28. Major opcode of failed request: 155 (RENDER)
  29. Minor opcode of failed request: 7 (RenderFreePicture)
  30. Picture id in failed request: 0x2600065
  31. Serial number of failed request: 503
  32. Current serial number in output stream: 520
  33. 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)