[issue41236] "about" button in MacOS caused an error

2020-07-11 Thread Terry J. Reedy


Terry J. Reedy  added the comment:

You're right.  "python3.9 -m tkinter" runs the tkinter widget demo.  And python 
>= About python brings up 'about tkinter' window.  I just deleted 3.7 so I 
cannot easily test.  3.8 works also.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41236] "about" button in MacOS caused an error

2020-07-10 Thread Ned Deily


Ned Deily  added the comment:

Terry, based on the error message provided, i.e. "About Widget Demo", I assumed 
that the poster was not using IDLE here. But we can't tell without more input.

"when I run 3.9 test.pythoninfo, I am asked to install gcc tools and maybe 
xcode.  Is this expected?"

When doing Python development on macOS, you will need to have the 
Apple-supplied development tools installed and ones appropriate for the macOS 
release. As the Developer's Guide explains 
(https://devguide.python.org/setup/#macos-and-os-x), the necessary tools are 
available if you install the full Xcode development environment from the Mac 
App Store but that's a big download and most of it is not necessary for just 
cpython work. If you haven't already downloaded Xcode, then the first time you 
(or, in this case test.pythoninfo) try to use one of the development tools from 
the terminal shell command line, macOS offers to download and install a 
lightweight subset of what's available in Xcode, called the Command Line Tools. 
 You can also force the installation of the CLT by using "xcode-select 
--install". Once the CLT are installed, they are normally automatically updated 
as needed by the macOS Software Update process.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41236] "about" button in MacOS caused an error

2020-07-10 Thread Terry J. Reedy


Terry J. Reedy  added the comment:

Messages like this are an occasional nuisance when shutting down a tkinter app 
started in a terminal/console window.  I have gone to a lot of effort to 
suppress than in IDLE GUI tests so that other developers do not suffer the 
noise or puzzlement of thinking that there maybe was a test failure.

I can get them now *occasionally* if I start IDLE from a Windows console, open 
multiple windows, and close by right clicking the toolbar icon and selecting 
"Close all Windows" instead of closing properly by closing each window or 
selecting File => Exit.  I consider trying to fix this shutdown buglet to be 
low priority.  

When starting IDLE from an IDLE icon, any such messages go to /dev/NULL. 

After experimenting, I believe Baozhen started IDLE from Terminal with 'python3 
-m idlelib'.  The top menu then has second entry "Python" instead of "IDLE" 
with first item "About Python" instead of "About IDLE".  But it brings up the 
"About IDLE" tk dialog box.  I also suspect  there was some shutdown action, so 
we must know every user action needed to reproduce the issue, and then see if 
it occurs in 3.8 or later. 

Ned, when I run 3.9 test.pythoninfo, I am asked to install gcc tools and maybe 
xcode.  Is this expected?

--
nosy: +terry.reedy

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41236] "about" button in MacOS caused an error

2020-07-08 Thread Ned Deily


Ned Deily  added the comment:

Please say exactly how you reproduced this behavior.  Please paste the results 
of running the following command from a terminal window:

python3.7 -m test.pythoninfo

replacing python3.7 with whatever you use to start the python that fails.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41236] "about" button in MacOS caused an error

2020-07-07 Thread Baozhen Chen


New submission from Baozhen Chen :

when clicking the MacOS menubar-File-About Python, it appears

>>> can't invoke "tk_messageBox" command: application has been destroyed
while executing
"tk_messageBox -icon info -type ok -title [mc "About Widget Demo"]  -message 
[mc "Tk widget demonstration application"] -detail  "[mc "Copyright \u00a9..."
(procedure "tkAboutDialog" line 2)
invoked from within
"tkAboutDialog"

--
components: macOS
messages: 373278
nosy: Baozhen Chen, ned.deily, ronaldoussoren
priority: normal
severity: normal
status: open
title: "about" button in MacOS caused an error
type: behavior
versions: Python 3.7

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com