Issue 28829: Tkinter messagebox cx_freeze Python 3.4 (original) (raw)

Issue28829

Created on 2016-11-29 07:59 by ParvizKarimli, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
messagebox cx_freeze python 3.4.py ParvizKarimli,2016-11-29 07:59 Tkinter messagebox program. Press the button to pop up the messagebox.
Messages (3)
msg281961 - (view) Author: Parviz Karimli (ParvizKarimli) Date: 2016-11-29 07:59
Tkinter messagebox doesn't work when trying to make an exectuable by cx_freeze in Python 3.4. It works fine with Python 3.4 alone. But after I create an exe of this file, the messagebox does not pop up.
msg282261 - (view) Author: Terry J. Reedy (terry.reedy) * (Python committer) Date: 2016-12-03 01:35
You code is buggy and will not run in Python because it does import messagebox. Add from tkinter import messagebox If you only tested with IDLE before freezing, you might have missed the bug in your program because of a bug in IDLE, now fixed in 2.7 and 3.5+.
msg282274 - (view) Author: Parviz Karimli (ParvizKarimli) Date: 2016-12-03 07:18
Thanks, mr. Reedy for your response! I have already solved the issue. Actually I had encountered this before and figured out the problem, but unfortunately forgot when I encountered it again. I should have deleted this issue from Python Bug community, but I thought it was not online since I needed to complete some kind of form before it published on the site... My bad! On Sat, Dec 3, 2016 at 5:35 AM, Terry J. Reedy <report@bugs.python.org> wrote: > > Terry J. Reedy added the comment: > > You code is buggy and will not run in Python because it does import > messagebox. Add > > from tkinter import messagebox > > If you only tested with IDLE before freezing, you might have missed the > bug in your program because of a bug in IDLE, now fixed in 2.7 and 3.5+. > > ---------- > nosy: +terry.reedy > resolution: -> not a bug > stage: -> resolved > status: open -> closed > > _______________________________________ > Python tracker <report@bugs.python.org> > <http://bugs.python.org/issue28829> > _______________________________________ >
History
Date User Action Args
2022-04-11 14:58:40 admin set github: 73015
2016-12-03 07:19:00 ParvizKarimli set messages: +
2016-12-03 01:35:30 terry.reedy set status: open -> closednosy: + terry.reedymessages: + resolution: not a bugstage: resolved
2016-11-29 07:59:38 ParvizKarimli create