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.

classification
Title: Tkinter messagebox cx_freeze Python 3.4
Type: behavior Stage: resolved
Components: Tkinter Versions: Python 3.4
process
Status: closed Resolution: not a bug
Dependencies: Superseder:
Assigned To: Nosy List: ParvizKarimli, terry.reedy
Priority: normal Keywords:

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:40adminsetgithub: 73015
2016-12-03 07:19:00ParvizKarimlisetmessages: + msg282274
2016-12-03 01:35:30terry.reedysetstatus: open -> closed

nosy: + terry.reedy
messages: + msg282261

resolution: not a bug
stage: resolved
2016-11-29 07:59:38ParvizKarimlicreate