This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author terry.reedy
Recipients Ivan.Pozdeev, serhiy.storchaka, terry.reedy
Date 2018-05-03.02:16:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1525313815.51.0.682650639539.issue33257@psf.upfronthosting.co.za>
In-reply-to
Content
Rerunning 2.7, I sometimes get the following almost immediately without clicking [launch].

Exception in thread Thread-1:
Traceback (most recent call last):
  File "C:\Programs\Python27\lib\threading.py", line 801, in __bootstrap_inner
    self.run()
  File "f:/python/a/tem.py", line 50, in run
    self.deliverToqueue((self.target, z, y))
  File "f:/python/a/tem.py", line 133, in arrival_122
    new_yz[1])
  File "C:\Programs\Python27\lib\lib-tk\Tkinter.py", line 2322, in create_line
    return self._create('line', args, kw)
  File "C:\Programs\Python27\lib\lib-tk\Tkinter.py", line 2310, in _create
    *(args + self._options(cnf, kw))))
TclError: bad option "97380032LrunLocal": must be addtag, bbox, bind, canvasx, canvasy, cget, configure, coords, create, dchars, delete, dtag, find, focus, gettags, icursor, index, insert, itemcget, itemconfigure, lower, move, postscript, raise, scale, scan, select, type, xview, or yview

An automated test would need to fail more consistently, without needing to click.  Running faster would also be good (and perhaps increase failure rate).  The the test would be that the file runs in subprocess without an error (perhaps multiple times).  There may be a test.support function for this.

The TkinterCrash files currently have way too many comments for a non-beginner audience.



The t
History
Date User Action Args
2018-05-03 02:16:55terry.reedysetrecipients: + terry.reedy, serhiy.storchaka, Ivan.Pozdeev
2018-05-03 02:16:55terry.reedysetmessageid: <1525313815.51.0.682650639539.issue33257@psf.upfronthosting.co.za>
2018-05-03 02:16:55terry.reedylinkissue33257 messages
2018-05-03 02:16:54terry.reedycreate