<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>2517</bug_id>
          
          <creation_ts>2003-04-11 22:27:22 +0400</creation_ts>
          <short_desc>exception occurs</short_desc>
          <delta_ts>2005-12-15 17:39:14 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>fetchmailconf</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="imz">vanyaz</reporter>
          <assigned_to name="Mikhail Zabaluev">mhz</assigned_to>
          <cc>azol</cc>
    
    <cc>inger</cc>
    
    <cc>legion</cc>
    
    <cc>mike</cc>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2291</commentid>
    <comment_count>0</comment_count>
    <who name="imz">vanyaz</who>
    <bug_when>2003-04-11 22:27:22 +0400</bug_when>
    <thetext>I start fetchmailconf, choose
\&amp;quot;Configure fetchmail\&amp;quot;, \&amp;quot;Novice configuration\&amp;quot;,
enter \&amp;quot;mail.lonet.ru\&amp;quot; in \&amp;quot;New Server\&amp;quot;, press Enter,
get an exception (and it doesn\&apos;t go ahead):

# fetchmailconf 
Exception in Tkinter callback
Traceback (most recent call last):
  File \&amp;quot;/usr/lib/python2.2/lib-tk/Tkinter.py\&amp;quot;, line 1299, in __call__
    args = apply(self.subst, args)
  File \&amp;quot;/usr/lib/python2.2/lib-tk/Tkinter.py\&amp;quot;, line 1032, in _substitute
    e.num = getint(b)
ValueError: invalid literal for int(): ??


---

---
# rpm -qa \&apos;fetchmail*\&apos;
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


</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>5845</commentid>
    <comment_count>1</comment_count>
    <who name="Mikhail Zabaluev">mhz</who>
    <bug_when>2003-08-29 03:39:50 +0400</bug_when>
    <thetext>Adding the Tkinter packager to CC because it might be Tkinter&apos;s fault.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>5849</commentid>
    <comment_count>2</comment_count>
    <who name="Mikhail Zabaluev">mhz</who>
    <bug_when>2003-08-29 14:20:28 +0400</bug_when>
    <thetext>Here&apos;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
&gt; /usr/lib/python2.2/lib-tk/Tkinter.py(1299)__call__()
-&gt; args = apply(self.subst, args)
(Pdb) w
  /usr/lib/python2.2/bdb.py(349)run()
-&gt; exec cmd in globals, locals
  &lt;string&gt;(1)?()
  /usr/bin/fetchmailconf(2080)?()
-&gt; root.mainloop()
  /usr/lib/python2.2/lib-tk/Tkinter.py(937)mainloop()
-&gt; self.tk.mainloop(n)
&gt; /usr/lib/python2.2/lib-tk/Tkinter.py(1299)__call__()
-&gt; args = apply(self.subst, args)
(Pdb) p args
(&apos;1591&apos;, &apos;??&apos;, &apos;??&apos;, &apos;??&apos;, &apos;36&apos;, &apos;16&apos;, &apos;7127449&apos;, &apos;??&apos;, &apos;32&apos;, &apos;3&apos;, &apos;\r&apos;, &apos;0&apos;,
&apos;Return&apos;, &apos;65293&apos;, &apos;.137279108.137348820.137464340.137472724.137477524&apos;, &apos;2&apos;,
&apos;133&apos;, &apos;847&apos;, &apos;36&apos;)

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.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>33889</commentid>
    <comment_count>3</comment_count>
    <who name="Mikhail Zabaluev">mhz</who>
    <bug_when>2005-12-15 17:39:13 +0300</bug_when>
    <thetext>В какой-то момент это было починено.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>