Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PythonLauncher app fails run scripts on Mac BigSur #89848

Closed
gnvirgutto1990 mannequin opened this issue Nov 1, 2021 · 2 comments
Closed

PythonLauncher app fails run scripts on Mac BigSur #89848

gnvirgutto1990 mannequin opened this issue Nov 1, 2021 · 2 comments
Labels
3.9 only security fixes 3.10 only security fixes 3.11 only security fixes OS-mac type-bug An unexpected behavior, bug, or error

Comments

@gnvirgutto1990
Copy link
Mannequin

gnvirgutto1990 mannequin commented Nov 1, 2021

BPO 45685
Nosy @ronaldoussoren, @ned-deily
Superseder
  • bpo-40477: Python Launcher app on macOS 10.15+ fails to run scripts
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2021-11-02.01:52:55.630>
    created_at = <Date 2021-11-01.23:09:34.125>
    labels = ['OS-mac', 'type-bug', '3.9', '3.10', '3.11']
    title = 'PythonLauncher app fails run scripts on Mac BigSur'
    updated_at = <Date 2021-11-02.01:52:55.629>
    user = 'https://bugs.python.org/gnvirgutto1990'

    bugs.python.org fields:

    activity = <Date 2021-11-02.01:52:55.629>
    actor = 'ned.deily'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-11-02.01:52:55.630>
    closer = 'ned.deily'
    components = ['macOS']
    creation = <Date 2021-11-01.23:09:34.125>
    creator = 'gnvirgutto1990'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 45685
    keywords = []
    message_count = 2.0
    messages = ['405475', '405477']
    nosy_count = 3.0
    nosy_names = ['ronaldoussoren', 'ned.deily', 'gnvirgutto1990']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'resolved'
    status = 'closed'
    superseder = '40477'
    type = 'behavior'
    url = 'https://bugs.python.org/issue45685'
    versions = ['Python 3.9', 'Python 3.10', 'Python 3.11']

    @gnvirgutto1990
    Copy link
    Mannequin Author

    gnvirgutto1990 mannequin commented Nov 1, 2021

    I can’t figure out how to use Python Launcher on BigSur. Or it is broken. Anyway: It does absolutely nothing. When I double click a script file, I see very shortly the preferences window of Launcher, and this is all. The script is not executed. I made a very simple script which writes a small text file. The script works flawlessly, when I call it in the terminal, but the Launcher seems not even to open it.

    Is this a bug with BigSur, or what is to be done?

    @gnvirgutto1990 gnvirgutto1990 mannequin added type-crash A hard crash of the interpreter, possibly with a core dump 3.10 only security fixes OS-mac labels Nov 1, 2021
    @gnvirgutto1990 gnvirgutto1990 mannequin changed the title PuthonLauncher app fails run scripts on Mac BigSur PythonLauncher app fails run scripts on Mac BigSur Nov 1, 2021
    @gnvirgutto1990 gnvirgutto1990 mannequin changed the title PuthonLauncher app fails run scripts on Mac BigSur PythonLauncher app fails run scripts on Mac BigSur Nov 1, 2021
    @ned-deily
    Copy link
    Member

    Thank you for the issue and the reminder. Unfortunately, you are running into a problem with the Python Launcher as documented in open bpo-40477, a problem that has slipped off my radar. Due to changes in macOS 10.15 Catalina and still present in 11 Big Sur, the Python Launcher is no longer able to successfully launch the Terminal app so the scripts are never executed. As described in msg368819 there, there is a simple workaround: just ensure that the Terminal app is already launched before trying to use the Python Launcher.

    @ned-deily ned-deily added 3.9 only security fixes 3.11 only security fixes labels Nov 2, 2021
    @ned-deily ned-deily added type-bug An unexpected behavior, bug, or error 3.9 only security fixes 3.11 only security fixes and removed type-crash A hard crash of the interpreter, possibly with a core dump labels Nov 2, 2021
    @ned-deily ned-deily added type-bug An unexpected behavior, bug, or error and removed type-crash A hard crash of the interpreter, possibly with a core dump labels Nov 2, 2021
    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    3.9 only security fixes 3.10 only security fixes 3.11 only security fixes OS-mac type-bug An unexpected behavior, bug, or error
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant