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

See Also:


Attachments

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*\'
fetchmailconf-6.2.2-alt3
fetchmail-6.2.2-alt3
fetchmail-daemon-6.2.2-alt3


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


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
  /usr/lib/python2.2/bdb.py(349)run()
-> exec cmd in globals, locals
  <string>(1)?()
  /usr/bin/fetchmailconf(2080)?()
-> root.mainloop()
  /usr/lib/python2.2/lib-tk/Tkinter.py(937)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
В какой-то момент это было починено.