[Tkinter-discuss] Fwd: FW: Tkinter script crashes

joshua varghese joey.varghese at gmail.com
Thu Sep 25 09:04:43 CEST 2008


I am using Python 2.5.2 and the tkinter module that was shipped with it. I
have made an application that has two Text widgets. These widgets are
populated using 'insert' method. There is a scrollbar attached to these
widgets which scrolls to the very end when there is any input.( using the

The script crashes with the following log.

  File "c:\Program Files\Python2.5\lib\lib-tk\Tkinter.py", line 1403, in


    return self.func(*args)

  File "D:\CODE\Backup_codes\Python_code\script.py", line 70, in set

    Scrollbar.set(self, *args)

  File "c:\Program Files\Python2.5\lib\lib-tk\Tkinter.py", line 2799, in set

    self.tk.call((self._w, 'set') + args)

TclError: bad option "1": must be activate, cget, configure, delta,
fraction, ge

t, identify, or set

I would appreciate any inputs you could give to debug/solve this issue.

Thank you,

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tkinter-discuss/attachments/20080925/58013c47/attachment.htm>

More information about the Tkinter-discuss mailing list