Bug 2517 - exception occurs
Summary: exception occurs
Alias: None
Product: Sisyphus
Classification: Development
Component: fetchmailconf (show other bugs)
Version: unstable
Hardware: all Linux
: P5 major
Assignee: Mikhail Zabaluev
QA Contact:
Depends on:
Reported: 2003-04-11 22:27 MSD by imz
Modified: 2005-12-15 17:39 MSK (History)
4 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description imz 2003-04-11 22:27:22 MSD
I start fetchmailconf, choose
\"Configure fetchmail\", \"Novice configuration\",
enter \"mail.lonet.ru\" in \"New Server\", press Enter,
get an exception (and it doesn\'t go ahead):

# fetchmailconf 
Exception in Tkinter callback
Traceback (most recent call last):
  File \"/usr/lib/python2.2/lib-tk/Tkinter.py\", line 1299, in __call__
    args = apply(self.subst, args)
  File \"/usr/lib/python2.2/lib-tk/Tkinter.py\", line 1032, in _substitute
    e.num = getint(b)
ValueError: invalid literal for int(): ??


# rpm -qa \'fetchmail*\'

# rpm -qf /usr/lib/python2.2/lib-tk/Tkinter.py

Comment 1 Mikhail Zabaluev 2003-08-29 03:39:50 MSD
Adding the Tkinter packager to CC because it might be Tkinter's fault.
Comment 2 Mikhail Zabaluev 2003-08-29 14:20:28 MSD
Here's my debugging session for this case:

(Pdb) b /usr/lib/python2.2/lib-tk/Tkinter.py:1299
Breakpoint 1 at /usr/lib/python2.2/lib-tk/Tkinter.py:1299
(Pdb) c
> /usr/lib/python2.2/lib-tk/Tkinter.py(1299)__call__()
-> args = apply(self.subst, args)
(Pdb) w
-> exec cmd in globals, locals
-> root.mainloop()
-> self.tk.mainloop(n)
> /usr/lib/python2.2/lib-tk/Tkinter.py(1299)__call__()
-> args = apply(self.subst, args)
(Pdb) p args
('1591', '??', '??', '??', '36', '16', '7127449', '??', '32', '3', '\r', '0',
'Return', '65293', '.137279108.137348820.137464340.137472724.137477524', '2',
'133', '847', '36')

On the Return key event (as, I think, on other events as well), the second
argument received from a Tk mainloop is expected to be an integer literal.
Instead, it contains two question marks. Should it be resubmitted as a Tkinter
bug or even a Tk bug? Comments from Tk/Tkinter gurus are welcome.
Comment 3 Mikhail Zabaluev 2005-12-15 17:39:13 MSK
В какой-то момент это было починено.