Sublime Forum

[RESOLVED] Sublime Text 2 | /System/Library/Frameworks/Python.framework/Versions/2.6/Python' (no such file)

#1

Hello,

Sublime Text 2 application crashes immediately when started on MAC OS.

System details:

OS Version: macOS 12.3 (21E230)
Sublime Text Version 2.0.2, Build 2221 (2221)

Below is the crash output:

Translated Report (Full Report Below)
-------------------------------------

Process:               Sublime Text 2 [1705]
Path:                  /Applications/Sublime Text 2.app/Contents/MacOS/Sublime Text 2
Identifier:            com.sublimetext.2
Version:               Version 2.0.2, Build 2221 (2221)
Code Type:             X86-64 (Native)
Parent Process:        launchd [1]
User ID:               501

Date/Time:             2022-03-24 15:01:45.7629 -0400
OS Version:            macOS 12.3 (21E230)
Report Version:        12
Bridge OS Version:     6.4 (19P4242)
Anonymous UUID:        


Time Awake Since Boot: 77 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.6/Python
Referenced from: /Applications/Sublime Text 2.app/Contents/MacOS/Sublime Text 2
Reason: tried: '/System/Library/Frameworks/Python.framework/Versions/2.6/Python' (no such file), '/Library/Frameworks/Python.framework/Versions/2.6/Python' (no such file)
(terminated at launch; ignore backtrace)

Application Specific Information:
Library not loaded: /System/Library/Frameworks/Python.framework/Versions/2.6/Python
Referenced from: /Applications/Sublime Text 2.app/Contents/MacOS/Sublime Text 2
Reason: tried: '/System/Library/Frameworks/Python.framework/Versions/2.6/Python' (no such file), '/Library/Frameworks/Python.framework/Versions/2.6/Python' (no such file)


Thread 0 Crashed:
0   dyld                          	       0x10fe2e0de __abort_with_payload + 10
1   dyld                          	       0x10fe44212 abort_with_payload_wrapper_internal + 80
2   dyld                          	       0x10fe44244 abort_with_payload + 9
3   dyld                          	       0x10fdf276f dyld4::halt(char const*) + 375
4   dyld                          	       0x10fdee5a5 dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*) + 3995
5   dyld                          	       0x10fded4d4 start + 388


Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000002000209  rbx: 0x0000000000000000  rcx: 0x00007ff7b67fe5c8  rdx: 0x00007ff7b67fea30
  rdi: 0x0000000000000006  rsi: 0x0000000000000001  rbp: 0x00007ff7b67fe610  rsp: 0x00007ff7b67fe5c8
   r8: 0x00007ff7b67fe630   r9: 0x0000000000000000  r10: 0x0000000000000093  r11: 0x0000000000000246
  r12: 0x0000000000000093  r13: 0x00007ff7b67fea30  r14: 0x0000000000000001  r15: 0x0000000000000006
  rip: 0x000000010fe2e0de  rfl: 0x0000000000000246  cr2: 0x000000010fdf4e74
  
Logical CPU:     0
Error Code:      0x02000209 
Trap Number:     133


Binary Images:
       0x10fde8000 -        0x10fe53fff dyld (*) <dd9e80de-fb3b-349b-96a4-46874ad34d11> /usr/lib/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=9.9M resident=0K(0%) swapped_out_or_unallocated=9.9M(100%)
Writable regions: Total=9240K written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=9240K(100%)

                                VIRTUAL   REGION 
REGION TYPE                        SIZE    COUNT (non-coalesced) 
===========                     =======  ======= 
STACK GUARD                       56.0M        1 
Stack                             8192K        1 
VM_ALLOCATE                         12K        3 
__DATA                             364K        3 
__DATA_CONST                        80K        1 
__LINKEDIT                        3932K        3 
__TEXT                            6268K        2 
dyld private memory               1024K        1 
===========                     =======  ======= 
TOTAL                             75.4M       15 



-----------
Full Report
-----------

{"app_name":"Sublime Text 2","timestamp":"2022-03-24 15:01:45.00 -0400","app_version":"Version 2.0.2, Build 2221","slice_uuid":"f25550db-b656-330a-81d3-3afcf0fcedc3","build_version":"2221","platform":1,"bundleID":"com.sublimetext.2","share_with_app_devs":0,"is_first_party":0,"bug_type":"309","os_version":"macOS 12.3 (21E230)","incident_id":"4EBC6E79-A7D1-43EE-ADC2-38961E0B33D5","name":"Sublime Text 2"}
{
  "uptime" : 77,
  "procLaunch" : "2022-03-24 15:01:45.6887 -0400",
  "procRole" : "Default",
  "version" : 2,
  "userID" : 501,
  "deployVersion" : 210,
  "modelCode" : "MacBookPro16,1",
  "procStartAbsTime" : 77237595143,
  "coalitionID" : 939,
  "osVersion" : {
    "train" : "macOS 12.3",
    "build" : "21E230",
    "releaseType" : "User"
  },
  "captureTime" : "2022-03-24 15:01:45.7629 -0400",
  "incident" : "4EBC6E79-A7D1-43EE-ADC2-38961E0B33D5",
  "bug_type" : "309",
  "pid" : 1705,
  "procExitAbsTime" : 77311012069,
  "cpuType" : "X86-64",
  "procName" : "Sublime Text 2",
  "procPath" : "\/Applications\/Sublime Text 2.app\/Contents\/MacOS\/Sublime Text 2",
  "bundleInfo" : {"CFBundleShortVersionString":"Version 2.0.2, Build 2221","CFBundleVersion":"2221","CFBundleIdentifier":"com.sublimetext.2"},
  "storeInfo" : {"deviceIdentifierForVendor":"29188A3B-BCBB-55E2-A6F1-F74A59E04E8A","thirdParty":true},
  "parentProc" : "launchd",
  "parentPid" : 1,
  "coalitionName" : "com.sublimetext.2",
  "crashReporterKey" : "4A94AC51-5FD4-9970-7DB5-456A76CCB17B",
  "bridgeVersion" : {"build":"19P4242","train":"6.4"},
  "sip" : "enabled",
  "isCorpse" : 1,
  "exception" : {"codes":"0x0000000000000000, 0x0000000000000000","rawCodes":[0,0],"type":"EXC_CRASH","signal":"SIGABRT"},
  "termination" : {"code":1,"flags":518,"namespace":"DYLD","indicator":"Library missing","details":["(terminated at launch; ignore backtrace)"],"reasons":["Library not loaded: \/System\/Library\/Frameworks\/Python.framework\/Versions\/2.6\/Python","Referenced from: \/Applications\/Sublime Text 2.app\/Contents\/MacOS\/Sublime Text 2","Reason: tried: '\/System\/Library\/Frameworks\/Python.framework\/Versions\/2.6\/Python' (no such file), '\/Library\/Frameworks\/Python.framework\/Versions\/2.6\/Python' (no such file)"]},
  "asi" : {"dyld":["Library not loaded: \/System\/Library\/Frameworks\/Python.framework\/Versions\/2.6\/Python","Referenced from: \/Applications\/Sublime Text 2.app\/Contents\/MacOS\/Sublime Text 2","Reason: tried: '\/System\/Library\/Frameworks\/Python.framework\/Versions\/2.6\/Python' (no such file), '\/Library\/Frameworks\/Python.framework\/Versions\/2.6\/Python' (no such file)"]},
  "extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0},
  "faultingThread" : 0,
  "threads" : [{"triggered":true,"id":10930,"threadState":{"r13":{"value":140701895486000},"rax":{"value":33554953},"rflags":{"value":582},"cpu":{"value":0},"r14":{"value":1},"rsi":{"value":1},"r8":{"value":140701895484976},"cr2":{"value":4561260148},"rdx":{"value":140701895486000},"r10":{"value":147},"r9":{"value":0},"r15":{"value":6},"rbx":{"value":0},"trap":{"value":133},"err":{"value":33554953},"r11":{"value":582},"rip":{"value":4561494238,"matchesCrashFrame":1},"rbp":{"value":140701895484944},"rsp":{"value":140701895484872},"r12":{"value":147},"rcx":{"value":140701895484872},"flavor":"x86_THREAD_STATE","rdi":{"value":6}},"frames":[{"imageOffset":286942,"symbol":"__abort_with_payload","symbolLocation":10,"imageIndex":0},{"imageOffset":377362,"symbol":"abort_with_payload_wrapper_internal","symbolLocation":80,"imageIndex":0},{"imageOffset":377412,"symbol":"abort_with_payload","symbolLocation":9,"imageIndex":0},{"imageOffset":42863,"symbol":"dyld4::halt(char const*)","symbolLocation":375,"imageIndex":0},{"imageOffset":26021,"symbol":"dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*)","symbolLocation":3995,"imageIndex":0},{"imageOffset":21716,"symbol":"start","symbolLocation":388,"imageIndex":0}]}],
  "usedImages" : [
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4561207296,
    "size" : 442368,
    "uuid" : "dd9e80de-fb3b-349b-96a4-46874ad34d11",
    "path" : "\/usr\/lib\/dyld",
    "name" : "dyld"
  }
],
  "sharedCache" : {
  "base" : 140703306883072,
  "size" : 15224815616,
  "uuid" : "341ea950-3974-372a-a140-92d2252fd87c"
},
  "vmSummary" : "ReadOnly portion of Libraries: Total=9.9M resident=0K(0%) swapped_out_or_unallocated=9.9M(100%)\nWritable regions: Total=9240K written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=9240K(100%)\n\n                                VIRTUAL   REGION \nREGION TYPE                        SIZE    COUNT (non-coalesced) \n===========                     =======  ======= \nSTACK GUARD                       56.0M        1 \nStack                             8192K        1 \nVM_ALLOCATE                         12K        3 \n__DATA                             364K        3 \n__DATA_CONST                        80K        1 \n__LINKEDIT                        3932K        3 \n__TEXT                            6268K        2 \ndyld private memory               1024K        1 \n===========                     =======  ======= \nTOTAL                             75.4M       15 \n",
  "legacyInfo" : {
  "threadTriggered" : {

  }
},
  "trialInfo" : {
  "rollouts" : [
    {
      "rolloutId" : "5fc94383418129005b4e9ae0",
      "factorPackIds" : {

      },
      "deploymentId" : 240000295
    },
    {
      "rolloutId" : "60da5e84ab0ca017dace9abf",
      "factorPackIds" : {

      },
      "deploymentId" : 240000008
    }
  ],
  "experiments" : [

  ]
}
}

Model: MacBookPro16,1, BootROM 1731.100.130.0.0 (iBridge: 19.16.14242.0.0,0), 6 processors, 6-Core Intel Core i7, 2.6 GHz, 16 GB, SMC 
Graphics: Intel UHD Graphics 630, Intel UHD Graphics 630, Built-In
Graphics: AMD Radeon Pro 5300M, AMD Radeon Pro 5300M, PCIe, 4 GB
Display: Color LCD, 3072 x 1920 Retina, MirrorOff, Online
Display: DELL S2409W, 1920 x 1080 (1080p FHD - Full High Definition), Main, MirrorOff, Online
Display: DELL 2208WFP, 1680 x 1050 (Widescreen Super eXtended Graphics Array Plus), MirrorOff, Online
Memory Module: BANK 0/ChannelA-DIMM0, 8 GB, DDR4, 2667 MHz, Micron, 8ATF1G64HZ-2G6E1
Memory Module: BANK 2/ChannelB-DIMM0, 8 GB, DDR4, 2667 MHz, Micron, 8ATF1G64HZ-2G6E1
AirPort: spairport_wireless_card_type_wifi (0x14E4, 0x7BF), wl0: Jul 12 2021 18:02:56 version 9.30.464.0.32.5.76 FWID 01-c081cfed
Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
USB Device: My Passport 25E4
USB Device: USB3.0 Hub
USB Device: USB31Bus
USB Device: USB2.0 Hub
USB Device: USB Receiver
USB Device: USB-C Digital AV Multiport Adapter
USB Device: BillBoard Device
USB Device: T2Bus
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

With the upgrade MAC OS 12.3 python 2.7 was officially removed. How can I link python3 on my system to sublime text 2?

python3 --version

Python 3.8.6

0 Likes

#2

Sublime Text 2 inherently requires the version of Python that MacOS used to ship and no longer does; there’s no way to point it at a different installation.

ST2 is no longer supported (and has not been for some time); generally speaking in order to proceed you would need to upgrade to the latest version.

0 Likes

#3

Thanks for the response, I have upgraded to latest ST4 and the issue is resolved.

1 Like