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
Adding the Tkinter packager to CC because it might be Tkinter's fault.
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.
В какой-то момент это было починено.