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. Advertisements

  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. Advertisements

  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. Advertisements

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,505
    Martien Verbruggen
    Jun 27, 2003
  2. Hal Styli
    Replies:
    14
    Views:
    2,083
    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:
    510
    Grant Edwards
    Feb 14, 2005
  4. Terry Reedy
    Replies:
    0
    Views:
    3,022
    Terry Reedy
    Feb 15, 2005
  5. Replies:
    8
    Views:
    485
    Fredrik Lundh
    Dec 12, 2006
  6. arun
    Replies:
    8
    Views:
    735
    Dave Thompson
    Jul 31, 2006
  7. lee
    Replies:
    4
    Views:
    1,515
  8. blivori
    Replies:
    0
    Views:
    502
    blivori
    Aug 8, 2011
Loading...