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

Python cannot be opened because of a problem #51

Open
winksaville opened this issue Mar 15, 2021 · 9 comments
Open

Python cannot be opened because of a problem #51

winksaville opened this issue Mar 15, 2021 · 9 comments

Comments

@winksaville
Copy link

On my M1 Mac Mini I get the following Problem Report, what additional information is needed?

Process:               Python [2222]
Path:                  /Applications/YubiKey Manager.app/Contents/Frameworks/Python.framework/Versions/3.8/Resources/Python.app/Contents/MacOS/Python
Identifier:            Python
Version:               ???
Code Type:             X86-64 (Translated)
Parent Process:        mbfloagent [1185]
Responsible:           mbfloagent [1185]
User ID:               501

Date/Time:             2021-03-15 12:07:08.228 -0700
OS Version:            macOS 11.2.3 (20D91)
Report Version:        12
Anonymous UUID:        165D94D1-395F-7764-31E7-77DC6D520AF4


Time Awake Since Boot: 360 seconds

System Integrity Protection: enabled

Crashed Thread:        0

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Termination Reason:    DYLD, [0x1] Library missing

Application Specific Information:
dyld: launch, loading dependent libraries

Dyld Error Message:
  dyld: Using shared cache: 1C99695B-39A1-3CF1-BCD1-AB8BF015FD98
Library not loaded: /Library/Frameworks/Python.framework/Versions/3.8/Python
  Referenced from: /Applications/YubiKey Manager.app/Contents/Frameworks/Python.framework/Versions/3.8/Resources/Python.app/Contents/MacOS/Python
  Reason: image not found

Binary Images:
       0x1041d0000 -        0x1041d0fff + (0) <A89E016E-52A7-3CC7-A797-C913CA1EADB6> 
       0x2044b6000 -        0x204551fff  dyld (832.7.3) <0D4EA85F-7E30-338B-9215-314A5A5539B6> /usr/lib/dyld
    0x7ffdffda2000 -     0x7ffdffe15fff +runtime (203.30) <C98E75A6-BDC8-3D5C-B95B-6422005E96D8> /Library/Apple/*/runtime
    0x7fff203cd000 -     0x7fff20868fff  com.apple.CoreFoundation (6.9 - 1774.101) <46680730-F553-3297-B602-7A4372447F83> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation

Model: Macmini9,1, BootROM 6723.81.1, proc 8:4:4 processors, 8 GB, SMC 
Graphics: kHW_AppleM1Item, Apple M1, spdisplays_builtin
Memory Module: lp_ddr4
AirPort: spairport_wireless_card_type_airport_extreme, wl0: Dec 31 2020 21:39:03 version 18.20.222.20.7.8.104 FWID 01-1b2645bc
Bluetooth: Version 8.0.3d9, 3 services, 27 devices, 1 incoming serial ports
Network Service: Ethernet, Ethernet, en0
PCI Card: pci1b73,1100, sppci_usbxhci, Thunderbolt@6,0,0
PCI Card: pci1b73,1100, sppci_usbxhci, Thunderbolt@5,0,0
PCI Card: pci1b21,1242, sppci_usbxhci, Thunderbolt@4,0,0
PCI Card: ethernet, sppci_ethernet, Thunderbolt@3,0,0
USB Device: USB 3.1 Bus
USB Device: USB 3.1 Bus
USB Device: USB 3.0 Bus
USB Device: USB Receiver
USB Device: Keyboard Hub
USB Device: Apple Keyboard
USB Device: USB 3.0 Bus
USB Device: CalDigit Thunderbolt 3 Audio
USB Device: USB 3.0 Bus
USB Device: Card Reader
USB Device: USB 3.1 Bus
Thunderbolt Bus: Mac mini, Apple Inc.
Thunderbolt Bus: Mac mini, Apple Inc.
Thunderbolt Device: TS3 Plus, CalDigit, Inc., 1, 44.1
@p4654545
Copy link

p4654545 commented May 4, 2021

Same here alltough it mentions python 3.9:

Process: Python [1460]
Path: /Applications/YubiKey Manager.app/Contents/Frameworks/Python.framework/Versions/3.9/Resources/Python.app/Contents/MacOS/Python
Identifier: Python
Version: 3.9.2 (3.9.2)
Code Type: X86-64 (Native)
Parent Process: mbfloagent [651]
Responsible: mbfloagent [651]
User ID: 501

Date/Time: 2021-05-04 10:16:46.065 +0200
OS Version: macOS 11.3.1 (20E241)
Report Version: 12
Bridge OS Version: 5.3 (18P4556)
Anonymous UUID: FA10279F-382D-AB19-5071-9D0D9F44B006

Time Awake Since Boot: 310 seconds

System Integrity Protection: enabled

Crashed Thread: 0

Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY

Termination Reason: DYLD, [0x1] Library missing

Application Specific Information:
dyld: launch, loading dependent libraries

Dyld Error Message:
dyld: Using shared cache: 94BDF3EE-CD67-34B0-91E1-19D61487C096
Library not loaded: /Library/Frameworks/Python.framework/Versions/3.9/Python
Referenced from: /Applications/YubiKey Manager.app/Contents/Frameworks/Python.framework/Versions/3.9/Resources/Python.app/Contents/MacOS/Python
Reason: image not found

Binary Images:
0x101981000 - 0x101984fff +com.yubico.python (3.9.2 - 3.9.2) <44BCD2F5-7DAE-3729-80BE-9F5587ED0AB3> /Applications/YubiKey Manager.app/Contents/Frameworks/Python.framework/Versions/3.9/Resources/Python.app/Contents/MacOS/Python
0x107429000 - 0x1074c4fff dyld (851.27) <7EAA668B-F906-3BAA-A980-139BBE6E8766> /usr/lib/dyld
0x7fff2053c000 - 0x7fff209d9fff com.apple.CoreFoundation (6.9 - 1775.118.101) <895AFD1C-0307-32B3-81CB-BA33DA368DE1> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation

Model: MacBookPro16,1, BootROM 1554.100.64.0.0 (iBridge: 18.16.14556.0.0,0), 8 processors, 8-Core Intel Core i9, 2,3 GHz, 64 GB, SMC
Graphics: kHW_IntelUHDGraphics630Item, Intel UHD Graphics 630, spdisplays_builtin
Graphics: kHW_AMDRadeonPro5500MItem, AMD Radeon Pro 5500M, spdisplays_pcie_device, 8 GB
Memory Module: BANK 0/ChannelA-DIMM0, 32 GB, DDR4, 2667 MHz, Micron, -
Memory Module: BANK 2/ChannelB-DIMM0, 32 GB, DDR4, 2667 MHz, Micron, -
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x7BF), wl0: Feb 16 2021 03:05:58 version 9.30.444.10.32.5.67 FWID 01-3d719d60
Bluetooth: Version 8.0.4d18, 3 services, 27 devices, 1 incoming serial ports
Network Service: USB 10/100/1000 LAN, Ethernet, en7
Network Service: Wi-Fi, AirPort, en0
USB Device: USB3.0 Hub
USB Device: USB3.0 Card Reader
USB Device: 4-Port USB 3.0 Hub
USB Device: USB 10/100/1000 LAN
USB Device: USB 3.1 Bus
USB Device: USB2.0 Hub
USB Device: 4-Port USB 2.0 Hub
USB Device: USB 2.0 BILLBOARD
USB Device: Apple T2 Bus
USB Device: Composite Device
USB Device: Touch Bar Backlight
USB Device: Touch Bar Display
USB Device: Apple Internal Keyboard / Trackpad
USB Device: Headset
USB Device: Ambient Light Sensor
USB Device: FaceTime HD Camera (Built-in)
USB Device: Apple T2 Controller
Thunderbolt Bus: MacBook Pro, Apple Inc., 63.5
Thunderbolt Bus: MacBook Pro, Apple Inc., 63.5

@acevif
Copy link

acevif commented Jun 21, 2021

same here

Process:               Python [1152]
Path:                  /Applications/Yubico Authenticator.app/Contents/Frameworks/Python.framework/Versions/3.9/Resources/Python.app/Contents/MacOS/Python
Identifier:            Python
Version:               3.9.2 (3.9.2)
Code Type:             X86-64 (Native)
Parent Process:        mbfloagent [707]
Responsible:           mbfloagent [707]
User ID:               503

Date/Time:             2021-06-21 12:28:34.314 +0900
OS Version:            macOS 11.4 (20F71)
Report Version:        12
Bridge OS Version:     5.4 (18P4663)
Anonymous UUID:        9413D6FD-4DF0-9305-851A-487A5DDE5125


Time Awake Since Boot: 490 seconds

System Integrity Protection: enabled

Crashed Thread:        0

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Termination Reason:    DYLD, [0x1] Library missing

Application Specific Information:
dyld: launch, loading dependent libraries

Dyld Error Message:
  dyld: Using shared cache: 4A889CE9-8D7E-304E-A5F7-84D819B0BF9C
Library not loaded: /Library/Frameworks/Python.framework/Versions/3.9/Python
  Referenced from: /Applications/Yubico Authenticator.app/Contents/Frameworks/Python.framework/Versions/3.9/Resources/Python.app/Contents/MacOS/Python
  Reason: image not found

Binary Images:
       0x109419000 -        0x10941cfff +com.yubico.python (3.9.2 - 3.9.2) <44BCD2F5-7DAE-3729-80BE-9F5587ED0AB3> /Applications/Yubico Authenticator.app/Contents/Frameworks/Python.framework/Versions/3.9/Resources/Python.app/Contents/MacOS/Python
       0x112d07000 -        0x112da2fff  dyld (852) <1AC76561-4F9A-34B1-BA7C-4516CACEAED7> /usr/lib/dyld
    0x7fff20520000 -     0x7fff209bdfff  com.apple.CoreFoundation (6.9 - 1776.103) <01EFB7F8-BCE6-32DF-A0B8-02F9027F882C> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation

Model: MacBookPro16,2, BootROM 1554.120.19.0.0 (iBridge: 18.16.14663.0.0,0), 4 processors, Quad-Core Intel Core i7, 2.3 GHz, 32 GB, SMC 
Graphics: kHW_IntelIrisPlusGraphicsItem, Intel Iris Plus Graphics, spdisplays_builtin
Memory Module: BANK 0/ChannelA-DIMM0, 16 GB, LPDDR4X, 3733 MHz, SK Hynix, -
Memory Module: BANK 2/ChannelB-DIMM0, 16 GB, LPDDR4X, 3733 MHz, SK Hynix, -
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x7BF), wl0: Feb 16 2021 03:05:58 version 9.30.444.10.32.5.67 FWID 01-3d719d60
Bluetooth: Version 8.0.5d7, 3 services, 27 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
USB Device: USB 3.1 Bus
USB Device: USB 3.1 Bus
USB Device: Apple T2 Bus
USB Device: Touch Bar Backlight
USB Device: Touch Bar Display
USB Device: Apple Internal Keyboard / Trackpad
USB Device: Headset
USB Device: Ambient Light Sensor
USB Device: FaceTime HD Camera (Built-in)
USB Device: Apple T2 Controller
Thunderbolt Bus: MacBook Pro, Apple Inc., 85.0
Thunderbolt Bus: MacBook Pro, Apple Inc., 85.0

@beResonant
Copy link

beResonant commented Jul 22, 2021

Same here. M1, Big Sur

Process: Python [9961]
Path: /Applications/Yubico Authenticator.app/Contents/Frameworks/Python.framework/Versions/3.9/Resources/Python.app/Contents/MacOS/Python
Identifier: Python
Version: ???
Code Type: X86-64 (Translated)
Parent Process: mbfloagent [1417]
Responsible: mbfloagent [1417]
User ID: 502

Date/Time: 2021-07-22 08:55:42.886 -0700
OS Version: macOS 11.5 (20G71)
Report Version: 12
Anonymous UUID: 93C0B86C-5EEA-9125-B239-F49E267C7005

Time Awake Since Boot: 640 seconds

System Integrity Protection: enabled

Crashed Thread: 0

Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY

Termination Reason: DYLD, [0x1] Library missing

Application Specific Information:
dyld: launch, loading dependent libraries

Dyld Error Message:
dyld: Using shared cache: 4E2C3122-AEF2-356E-8FC5-8E7265D840B7
Library not loaded: /Library/Frameworks/Python.framework/Versions/3.9/Python
Referenced from: /Applications/Yubico Authenticator.app/Contents/Frameworks/Python.framework/Versions/3.9/Resources/Python.app/Contents/MacOS/Python
Reason: image not found

Binary Images:
0x102a43000 - 0x102a46fff + (0) <44BCD2F5-7DAE-3729-80BE-9F5587ED0AB3>
0x10aa65000 - 0x10aab4fff +libRosettaRuntime (203.58) /Library/Apple/*/libRosettaRuntime
0x202afa000 - 0x202b95fff dyld (852.2) <57DB2053-BFD5-3683-97C6-F1DB2A1F1D09> /usr/lib/dyld
0x7ffdffd44000 - 0x7ffdffd73fff runtime (203.58) <52A2E5D0-FAA3-34EF-8BB7-07F73718C034> /usr/libexec/rosetta/runtime
0x7fff203b2000 - 0x7fff2084ffff com.apple.CoreFoundation (6.9 - 1777.103) /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation

Model: Macmini9,1, BootROM 6723.140.2, proc 8:4:4 processors, 16 GB, SMC
Graphics: kHW_AppleM1Item, Apple M1, spdisplays_builtin
Memory Module: LPDDR4
AirPort: spairport_wireless_card_type_airport_extreme, wl0: Jul 7 2021 00:48:27 version 18.50.40.10.7.8.121 FWID 01-f5ad2691
Bluetooth: Version 8.0.5d7, 3 services, 27 devices, 1 incoming serial ports
Network Service: Ethernet, Ethernet, en0
Network Service: Wi-Fi, AirPort, en1
PCI Card: pci126f,2262, sppci_nvme, Thunderbolt@4,0,0
PCI Card: pci8086,15f0, sppci_usbxhci, Thunderbolt@3,0,0
PCI Card: pci144d,a808, sppci_nvme, Thunderbolt@4,0,0
PCI Card: pci8086,15f0, sppci_usbxhci, Thunderbolt@3,0,0
USB Device: USB 3.1 Bus
USB Device: USB 3.1 Bus
USB Device: USB 3.0 Bus
USB Device: USB3.0 Hub
USB Device: USB3.1 Hub
USB Device: USB2.0 Hub
USB Device: USB 2.0 Hub
USB Device: USB Optical Mouse
USB Device: USB2.1 Hub
USB Device: YubiKey OTP+FIDO+CCID
USB Device: USB 3.1 Bus
USB Device: USB 3.1 Bus
Thunderbolt Bus: Mac mini, Apple Inc.
Thunderbolt Bus: Mac mini, Apple Inc.

@beResonant
Copy link

And I don't think it happens every time. It might only be happening after a major update to MacOS.

@winksaville
Copy link
Author

winksaville commented Jul 22, 2021 via email

@zhangyoufu
Copy link

zhangyoufu commented Sep 15, 2021

Run into this issue after upgrading macOS Big Sur to 11.6.

Can be reproduced without system upgrade.

% /Applications/Yubico\ Authenticator.app/Contents/Frameworks/Python.framework/Versions/3.9/Resources/Python.app/Contents/MacOS/Python
dyld: Library not loaded: /Library/Frameworks/Python.framework/Versions/3.9/Python
  Referenced from: /Applications/Yubico Authenticator.app/Contents/Frameworks/Python.framework/Versions/3.9/Resources/Python.app/Contents/MacOS/Python
  Reason: image not found
zsh: abort

It looks strange to me that the shipped Python.app depends on /Library/Frameworks/Python.framework.

Yubico/yubikey-manager-qt#261 is related.

Error log:

Process:               Python [1160]
Path:                  /Applications/Yubico Authenticator.app/Contents/Frameworks/Python.framework/Versions/3.9/Resources/Python.app/Contents/MacOS/Python
Identifier:            Python
Version:               3.9.2 (3.9.2)
Code Type:             X86-64 (Native)
Parent Process:        mbfloagent [647]
Responsible:           mbfloagent [647]
User ID:               501

Date/Time:             2021-09-15 11:26:55.989 +0800
OS Version:            macOS 11.6 (20G165)
Report Version:        12
Bridge OS Version:     5.5 (18P4759a)
Anonymous UUID:        B79CF7BF-388E-4BA0-9071-A309488ECD08


Time Awake Since Boot: 520 seconds

System Integrity Protection: enabled

Crashed Thread:        0

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Termination Reason:    DYLD, [0x1] Library missing

Application Specific Information:
dyld: launch, loading dependent libraries

Dyld Error Message:
  dyld: Using shared cache: F0A21792-ED7E-33A3-A0DD-24B063378C1E
Library not loaded: /Library/Frameworks/Python.framework/Versions/3.9/Python
  Referenced from: /Applications/Yubico Authenticator.app/Contents/Frameworks/Python.framework/Versions/3.9/Resources/Python.app/Contents/MacOS/Python
  Reason: image not found

Binary Images:
       0x109dfd000 -        0x109e00fff +com.yubico.python (3.9.2 - 3.9.2) <44BCD2F5-7DAE-3729-80BE-9F5587ED0AB3> /Applications/Yubico Authenticator.app/Contents/Frameworks/Python.framework/Versions/3.9/Resources/Python.app/Contents/MacOS/Python
       0x10be40000 -        0x10bedbfff  dyld (852.2) <0CC19410-FD43-39AE-A32A-50273F8303A4> /usr/lib/dyld
    0x7fff204be000 -     0x7fff2095bfff  com.apple.CoreFoundation (6.9 - 1778.101) <8CF9D741-ADFF-3D5E-ACDE-DC342701EE0D> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation

@casperghst42
Copy link

Same here, just upgraded to BigSur and applied all patches.

It only happens during login (after reboot) after that the application starts without a problem.

@daniel-white
Copy link

This is happening frequently to me on restarts. I'm trying to track down why this would be loading at startup...

@esafern
Copy link

esafern commented Sep 20, 2022

I can reproduce at will.

% /Applications/Yubico\ Authenticator.app/Contents/Frameworks/Python.framework/Versions/3.9/Resources/Python.app/Contents/MacOS/Python

Results:

dyld[2103]: Library not loaded: '/Library/Frameworks/Python.framework/Versions/3.9/Python'
Referenced from: '/Applications/Yubico Authenticator.app/Contents/Frameworks/Python.framework/Versions/3.9/Resources/Python.app/Contents/MacOS/Python'
Reason: tried: '/Library/Frameworks/Python.framework/Versions/3.9/Python' (no such file), '/System/Library/Frameworks/Python.framework/Versions/3.9/Python' (no such file)
zsh: abort

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

8 participants