Issue 45641: Error In opening a file through tkinter on macOS Monterey
Issue45641
Created on 2021-10-28 06:38 by devesh.dk373, last changed 2022-04-11 14:59 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| Screen Shot 2021-10-28 at 1.39.08 PM.png | devesh.dk373, 2021-10-28 08:09 | |||
| Screen Shot 2021-10-28 at 1.41.31 PM.png | devesh.dk373, 2021-10-28 08:11 | |||
| Screen Shot 2021-10-28 at 1.40.04 PM.png | devesh.dk373, 2021-10-28 08:14 | |||
| open-error.png | ronaldoussoren, 2021-10-28 09:05 | |||
| Screen Shot 2021-11-02 at 10.37.23 AM.png | devesh.dk373, 2021-11-02 05:08 | |||
| Messages (17) | |||
|---|---|---|---|
| msg405149 - (view) | Author: Dev Kumar (devesh.dk373) | Date: 2021-10-28 06:38 | |
there is an error that is occurring in opening a file or program & after that python is started hanging & not even quitting. And also the file which is open by python is not even saving or executing. |
|||
| msg405152 - (view) | Author: Steven D'Aprano (steven.daprano) * ![]() |
Date: 2021-10-28 07:27 | |
You need to give us some steps to reproduce this error, or we cannot even begin to try to fix it. What are the minimum steps needed to reproduce the error? |
|||
| msg405153 - (view) | Author: Steven D'Aprano (steven.daprano) * ![]() |
Date: 2021-10-28 07:28 | |
Please read: https://stackoverflow.com/help/minimal-reproducible-example http://www.sscce.org/ |
|||
| msg405155 - (view) | Author: Dev Kumar (devesh.dk373) | Date: 2021-10-28 08:08 | |
For that, First, open IDlE Then click file & then click on Open After that it's showing the error THE OPEN FILE OPERATION FAILED. Note: I didn't open any file |
|||
| msg405158 - (view) | Author: Dev Kumar (devesh.dk373) | Date: 2021-10-28 08:14 | |
This is the File which is opening every time and not even saving it. |
|||
| msg405165 - (view) | Author: Ronald Oussoren (ronaldoussoren) * ![]() |
Date: 2021-10-28 09:05 | |
Are you using macOS 12 (Monterey)? I get an error as well using that version of the OS (see open-error). The error happens within a second or two after opening the open dialog, without interacting with the dialog in any way. This is on an M1 laptop running macOS 12.0.1. This is likely the same issue as described in #44828. In particular, I get the same error message when I run the reproducer script in that issue. I'm adding the Tkinter component as well because this is likely a problem |
|||
| msg405167 - (view) | Author: Dev Kumar (devesh.dk373) | Date: 2021-10-28 09:19 | |
Yes, I also have a MacBook Air M1 & I recently updated it to macOS 12.0.1. How to get rid of this error ?? |
|||
| msg405169 - (view) | Author: Steven D'Aprano (steven.daprano) * ![]() |
Date: 2021-10-28 09:47 | |
See issue #45642 |
|||
| msg405171 - (view) | Author: Dev Kumar (devesh.dk373) | Date: 2021-10-28 09:55 | |
Ya, I saw it, same thing is happening with me. But now what? what is the solution? |
|||
| msg405175 - (view) | Author: Craig Dowkes (craig.dowkes) | Date: 2021-10-28 10:40 | |
Same issue for me on Mac OS 12.0.1 hoping for a quick solution to this |
|||
| msg405178 - (view) | Author: E. Paine (epaine) * | Date: 2021-10-28 11:48 | |
> This is likely the same issue as described in #44828 I agree; Ned and Marc are working on it. I doubt the patch will be ready for 3.9.8, but it'll probably be in 3.9.9 and 3.10.1. |
|||
| msg405392 - (view) | Author: Dev Kumar (devesh.dk373) | Date: 2021-10-31 04:32 | |
What happened? when is the new version is coming for tackling this problem? |
|||
| msg405441 - (view) | Author: E. Paine (epaine) * | Date: 2021-11-01 14:03 | |
> when is the new version is coming for tackling this problem? The patch was merged in #44828 and backported to 3.8, 3.9 and 3.10 (i.e. it will be in 3.9.8). |
|||
| msg405489 - (view) | Author: Ned Deily (ned.deily) * ![]() |
Date: 2021-11-02 04:35 | |
See msg405488: an updated macOS installer for 3.10.0 is now available as the default download from python.org. |
|||
| msg405490 - (view) | Author: Dev Kumar (devesh.dk373) | Date: 2021-11-02 05:08 | |
Ya, it's resolved but, The saving prompt is not closing after saving the file. |
|||
| msg405491 - (view) | Author: Ned Deily (ned.deily) * ![]() |
Date: 2021-11-02 05:46 | |
Thanks for the report. We'll look into it on Issue44828. |
|||
| msg405579 - (view) | Author: Ned Deily (ned.deily) * ![]() |
Date: 2021-11-03 03:06 | |
An update: we believe that the problem with the Save dialog window not closing has been fixed in a revised updated macOS installer for 3.10.0 which is now available as the default download from python.org. See Issue44828 for more details. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022-04-11 14:59:51 | admin | set | github: 89804 |
| 2022-02-21 20:57:22 | terry.reedy | set | pull_requests: - pull_request29607 |
| 2022-02-21 19:38:34 | corona10 | set | pull_requests: + pull_request29607 |
| 2022-02-21 17:22:12 | ned.deily | set | pull_requests: - pull_request29603 |
| 2022-02-21 15:42:55 | corona10 | set | nosy:
+ corona10 pull_requests: + pull_request29603 |
| 2021-11-03 03:06:25 | ned.deily | set | messages: + msg405579 |
| 2021-11-02 08:03:35 | terry.reedy | set | status: open -> closed assignee: terry.reedy -> components: + macOS, Tkinter, - IDLE |
| 2021-11-02 05:46:21 | ned.deily | set | resolution: wont fix -> duplicate messages: + msg405491 |
| 2021-11-02 05:08:53 | devesh.dk373 | set | status: closed -> open files: + Screen Shot 2021-11-02 at 10.37.23 AM.png type: crash -> behavior components:
- macOS, Tkinter |
| 2021-11-02 04:35:10 | ned.deily | set | messages: + msg405489 |
| 2021-11-01 14:03:20 | epaine | set | messages: + msg405441 |
| 2021-10-31 04:32:10 | devesh.dk373 | set | messages: + msg405392 |
| 2021-10-28 16:00:57 | terry.reedy | set | status: open -> closed title: Error In opening a file through Idle -> Error In opening a file through tkinter on macOS Monterey resolution: duplicate assignee: terry.reedy -> (no value) superseder: tkinter.filedialog linked with Tk 8.6.11 crashes on macOS 12 Monterey, breaking IDLE saves stage: resolved |
| 2021-10-28 11:48:39 | epaine | set | nosy:
+ epaine messages: + msg405178 |
| 2021-10-28 10:40:14 | craig.dowkes | set | nosy:
+ craig.dowkes messages: + msg405175 |
| 2021-10-28 09:55:33 | devesh.dk373 | set | messages: + msg405171 |
| 2021-10-28 09:47:23 | steven.daprano | set | messages: + msg405169 |
| 2021-10-28 09:19:25 | devesh.dk373 | set | messages: + msg405167 |
| 2021-10-28 09:05:39 | ronaldoussoren | set | files:
+ open-error.png messages:
+ msg405165 |
| 2021-10-28 08:14:20 | devesh.dk373 | set | files:
+ Screen Shot 2021-10-28 at 1.40.04 PM.png messages: + msg405158 |
| 2021-10-28 08:11:51 | devesh.dk373 | set | files: + Screen Shot 2021-10-28 at 1.41.31 PM.png |
| 2021-10-28 08:09:23 | devesh.dk373 | set | files: + Screen Shot 2021-10-28 at 1.39.08 PM.png |
| 2021-10-28 08:08:18 | devesh.dk373 | set | messages: + msg405155 |
| 2021-10-28 07:28:19 | steven.daprano | set | messages: + msg405153 |
| 2021-10-28 07:27:22 | steven.daprano | set | nosy:
+ steven.daprano messages: + msg405152 |
| 2021-10-28 06:38:12 | devesh.dk373 | create | |
