Message99238
| Author |
Plazma |
| Recipients |
Plazma |
| Date |
2010年02月11日.21:20:17 |
| SpamBayes Score |
4.0301762e-11 |
| Marked as misclassified |
No |
| Message-id |
<1265923220.98.0.512228541049.issue7914@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
I tried to run the attached code and it seems IntVar() dies in the Tkinter module. After discussion with several other coworkers they seem to agree this may be a bug in Tkinter. If you need more info feel free to let me know and I can help with further testing.
OS: Windows XP 32-bit SP2
Python: Python 3.1.1
Error:
Traceback (most recent call last):
File "H:/code/python/hfprog_sounds/intvar-POC.py", line 3, in <module>
num_good = IntVar()
File "C:\Python31\lib\tkinter\__init__.py", line 265, in __init__
Variable.__init__(self, master, value, name)
File "C:\Python31\lib\tkinter\__init__.py", line 174, in __init__
self._tk = master.tk
AttributeError: 'NoneType' object has no attribute 'tk' |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2010年02月11日 21:20:21 | Plazma | set | recipients:
+ Plazma |
| 2010年02月11日 21:20:20 | Plazma | set | messageid: <1265923220.98.0.512228541049.issue7914@psf.upfronthosting.co.za> |
| 2010年02月11日 21:20:19 | Plazma | link | issue7914 messages |
| 2010年02月11日 21:20:18 | Plazma | create |
|