bug in Tkinter? invalid literal for int() line 1035

Discussion in 'Python' started by Ton K., Jul 4, 2003.

  1. Ton K.

    Ton K. Guest

    Folks,

    I get subject when binding <Button-1> to a listbox.
    The value for h is '??' which triggers the error.
    I'm running Python 2.2.2 from SuSE.
    Please help
    TK
     
    Ton K., Jul 4, 2003
    #1
    1. Advertising

  2. Ton K. wrote:

    > I get subject when binding <Button-1> to a listbox.
    > The value for h is '??' which triggers the error.
    > I'm running Python 2.2.2 from SuSE.


    you're using a version of Tk that's newer than your Tkinter; that "??"
    you're seeing how really recent versions of Tk represent an "undefined
    integer value"...

    this has been fixed in Python 2.3, so you can either upgrade Python
    or link against an older Tk.

    (or modify Tkinter.py slightly, adding try/except clauses around the
    problem spots in Tkinter.py)

    </F>
     
    Fredrik Lundh, Jul 4, 2003
    #2
    1. Advertising

  3. "Fredrik Lundh" <> wrote in message
    news:...
    > Ton K. wrote:
    >
    > > I get subject when binding <Button-1> to a listbox.
    > > The value for h is '??' which triggers the error.
    > > I'm running Python 2.2.2 from SuSE.

    >
    > you're using a version of Tk that's newer than your Tkinter; that "??"
    > you're seeing how really recent versions of Tk represent an "undefined
    > integer value"...
    >
    > this has been fixed in Python 2.3, so you can either upgrade Python
    > or link against an older Tk.
    >
    > (or modify Tkinter.py slightly, adding try/except clauses around the
    > problem spots in Tkinter.py)
    >
    > </F>
    >
    >


    If you are running SuSE 8.2 there is a fix on
    http://www.suse.de/en/private/download/updates/82_i386.html for this
    problem.

    Look for the python-tk 2.2.2 link, dated 18 April 2003.

    RT
     
    Richard Townsend, Jul 4, 2003
    #3
  4. Ton K.

    Ton K. Guest

    Richard Townsend wrote:
    > "Fredrik Lundh" <> wrote in message
    > news:...
    >
    >>Ton K. wrote:
    >>
    >>
    >>>I get subject when binding <Button-1> to a listbox.
    >>>The value for h is '??' which triggers the error.
    >>>I'm running Python 2.2.2 from SuSE.

    >>
    >>you're using a version of Tk that's newer than your Tkinter; that "??"
    >>you're seeing how really recent versions of Tk represent an "undefined
    >>integer value"...
    >>
    >>this has been fixed in Python 2.3, so you can either upgrade Python
    >>or link against an older Tk.
    >>
    >>(or modify Tkinter.py slightly, adding try/except clauses around the
    >>problem spots in Tkinter.py)
    >>
    >></F>
    >>
    >>

    >
    > If you are running SuSE 8.2 there is a fix on
    > http://www.suse.de/en/private/download/updates/82_i386.html for this
    > problem.
    >
    > Look for the python-tk 2.2.2 link, dated 18 April 2003.


    Update installed. Problem's gone.
    Many thanks.
    TK
     
    Ton K., Jul 7, 2003
    #4
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Schnoffos
    Replies:
    2
    Views:
    1,223
    Martien Verbruggen
    Jun 27, 2003
  2. Hal Styli
    Replies:
    14
    Views:
    1,650
    Old Wolf
    Jan 20, 2004
  3. =?ISO-8859-2?Q?Martin_MOKREJ=A9?=

    ValueError: invalid literal for int(): 1.0000000000e+00

    =?ISO-8859-2?Q?Martin_MOKREJ=A9?=, Feb 14, 2005, in forum: Python
    Replies:
    1
    Views:
    381
    Grant Edwards
    Feb 14, 2005
  4. Terry Reedy
    Replies:
    0
    Views:
    2,791
    Terry Reedy
    Feb 15, 2005
  5. Replies:
    8
    Views:
    395
    Fredrik Lundh
    Dec 12, 2006
Loading...

Share This Page