Bug #9787
closedPython 2.7 is no longer available in macOS 12.3. CHIRP needs to update Python to 3.0 or macOS will not work.
0%
Description
This release is coming very soon and CHIRP needs to update Python support to 3.0 or it will stop working. I logged a developer bug to Apple and they stated exactly that. Below is the crash logs from current beta being released any day.
Library not loaded, tried: '/System/Library/Frameworks/Python.framework/Versions/2.7/Python' (no such file), '/Library/Frameworks/Python.framework/Versions/2.7/Python' (no such file): Python.framework needed by CHIRP.app
Process: CHIRP [1473]
Path: /Applications/CHIRP.app/Contents/MacOS/chirp
Identifier: CHIRP
Version: ???
Code Type: X86-64 (Native)
Parent Process: launchd [1]
User ID: 501
Date/Time: 2022-03-10 12:17:27.9960 +0000
OS Version:
Report Version: 12
Anonymous UUID: 117BDE15-9A18-CE96-5FFC-AF8F0082BC9E
Time Awake Since Boot: 3400 seconds
System Integrity Protection: enabled
Crashed Thread: 0
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Reason: Namespace DYLD, Code 1 Library missing
Library not loaded: /System/Library/Frameworks/Python.framework/Versions/2.7/Python
Referenced from: /Applications/CHIRP.app/Contents/CHIRP
Reason: tried: '/System/Library/Frameworks/Python.framework/Versions/2.7/Python' (no such file), '/Library/Frameworks/Python.framework/Versions/2.7/Python' (no such file)
(terminated at launch; ignore backtrace)
Application Specific Information:
dyld: Library not loaded: /System/Library/Frameworks/Python.framework/Versions/2.7/Python
Referenced from: /Applications/CHIRP.app/Contents/CHIRP
Reason: tried: '/System/Library/Frameworks/Python.framework/Versions/2.7/Python' (no such file), '/Library/Frameworks/Python.framework/Versions/2.7/Python' (no such file)
Thread 0 Crashed ↩::
0 dyld 0x1107e00de __abort_with_payload + 10
1 dyld 0x1107f6212 abort_with_payload_wrapper_internal + 80 (/AppleInternal/Library/BuildRoots/8d3bda53-8d9c-11ec-abd7-fa6a1964e34e/Library/Caches/com.apple.xbs/Sources/Libsyscall/libsyscall/wrappers/terminate_with_reason.c:102)
2 dyld 0x1107f6244 abort_with_payload + 8 (/AppleInternal/Library/BuildRoots/8d3bda53-8d9c-11ec-abd7-fa6a1964e34e/Library/Caches/com.apple.xbs/Sources/Libsyscall/libsyscall/wrappers/terminate_with_reason.c:124)
3 dyld 0x1107a476e dyld4::halt(char const*) + 374 (/AppleInternal/Library/BuildRoots/8d3bda53-8d9c-11ec-abd7-fa6a1964e34e/Library/Caches/com.apple.xbs/Sources/dyld/dyld/DyldProcessConfig.cpp:2067)
4 dyld 0x1107a05a4 dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*) + 3994 (/AppleInternal/Library/BuildRoots/8d3bda53-8d9c-11ec-abd7-fa6a1964e34e/Library/Caches/com.apple.xbs/Sources/dyld/dyld/dyldMain.cpp:0)
5 dyld 0x11079f4d4 start + 388 (/AppleInternal/Library/BuildRoots/8d3bda53-8d9c-11ec-abd7-fa6a1964e34e/Library/Caches/com.apple.xbs/Sources/dyld/dyld/dyldMain.cpp:864)
Thread State
cpu : 0x0000000000000000 cr2 : 0x00000001107a6e74 err : 0x02000209
r10 : 0x000000000000007b r11 : 0x0000000000000246 r12 : 0x000000000000007b
r13 : 0x00007ff7b4f22900 r14 : 0x0000000000000001 r15 : 0x0000000000000006
r8 : 0x00007ff7b4f22500 r9 : 0x0000000000000000 rax : 0x0000000002000209
rbp : 0x00007ff7b4f224e0 rbx : 0x0000000000000000 rcx : 0x00007ff7b4f22498
rdi : 0x0000000000000006 rdx : 0x00007ff7b4f22900 rflags: 0x0000000000000246
rip : 0x00000001107e00de rsi : 0x0000000000000001 rsp : 0x00007ff7b4f22498
trap : 0x0000000000000085
Binary Images: ↩
0x11079a000 - 0x110806000 dyld
External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by all processes on this machine:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
VM Region Summary:
ReadOnly portion of Libraries: Total=648K resident=0K(0%) swapped_out_or_unallocated=648K(100%)
Writable regions: Total=9220K written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=9220K(100%)
VIRTUAL REGION
REGION TYPE SIZE COUNT (non-coalesced)
=========== ======= =======
STACK GUARD 56.0M 1
Stack 8192K 1
VM_ALLOCATE 12K 3
__DATA 20K 2
__DATA_CONST 80K 1
__LINKEDIT 220K 3
__TEXT 440K 2
dyld private memory 1024K 1
=========== ======= =======
TOTAL 65.8M 14
Updated by Michael Zablocky over 2 years ago
I downloaded and installed the old version and CHIRP opens and seems to be running fine. Hope this helps.
Updated by Michael Zablocky over 2 years ago
Frederik Bonde wrote:
Thanks. Are you also running 12.3?
Yes I am.
Updated by Frederik Bonde over 2 years ago
That's weird. I uninstalled and installed it again. got the same error that phyton 2.7 not working. I really hope that they update it to work with 3.0.
Updated by Tony Fuller over 2 years ago
Hi All,
I think our wiki instructions may be out of date for macOS.
Would someone be able to try the following:
- Install the official python 2.7 version from
https://www.python.org/downloads/release/python-2718/
- Install the future and suds packages from a terminal window using
pip install future suds
- Sign the app each time you download a new version, also in a terminal window.
xattr -c /Applications/CHIRP.app xattr -c /Applications/CHIRP.app/Contents codesign --force --deep --sign - /Applications/CHIRP.app
From what I can tell, using the official python 2.7 installer should resolve the problem with missing library at /System/Library/Frameworks/Python.framework/Versions/2.7/Python and step 2 will fix issues with not seeing all of the drivers and the last step will resolve another problem related to "signing"
Thanks,
Tony
Updated by Alan Blumer over 2 years ago
Tony Fuller wrote:
Hi All,
I think our wiki instructions may be out of date for macOS.
Would someone be able to try the following:
- Install the official python 2.7 version from [...]
- Install the future and suds packages from a terminal window using [...]
- Sign the app each time you download a new version, also in a terminal window. [...]
From what I can tell, using the official python 2.7 installer should resolve the problem with missing library at /System/Library/Frameworks/Python.framework/Versions/2.7/Python and step 2 will fix issues with not seeing all of the drivers and the last step will resolve another problem related to "signing"
Thanks,
Tony
Tony,
These instructions did enable me to run the daily-20220402 build on an M1 Pro CPU. However, Apple has stopped including any version of Python in the base operating system. See
which recommends bundling the required scripting language runtime with the application.
Alan
Updated by Dan Smith almost 2 years ago
- Status changed from New to Closed
- Target version changed from chirp-py3 to chirp-legacy