我强行退出后试图重新打开崇高。我跟着instructions to return sublime to an earlier state但我没有数据文件夹,所以在尝试卸载时,我删除并永久删除了其中的sublime。除了通过“还原”页面上的说明,我有什么方法可以卸载sublime?或者更改我的python版本,以便sublime开始工作?
我也查找了其他“找不到合适的图像”错误,看起来架构可能是一个问题(我最近使用自制程序更新了python而且我在Lion上,所以也许它有一些32/64位问题?我也尝试重新安装最新版本的python。
我打开的错误报告打印在下面。
Process: Sublime Text 2 [1088]
Path: /Applications/Sublime Text 2.app/Contents/MacOS/Sublime Text 2
Identifier: com.sublimetext.2
Version: Version 2.0.1, Build 2217 (2217)
Code Type: X86-64 (Native)
Parent Process: launchd [210]
Date/Time: 2012-08-13 23:42:36.059 -0400
OS Version: Mac OS X 10.7.4 (11E53)
Report Version: 9
Interval Since Last Report: 755530 sec
Crashes Since Last Report: 31
Per-App Crashes Since Last Report: 7
Anonymous UUID: 48A0DEC5-738E-472E-A106-15F5341FFA5B
Crashed Thread: 0
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Application Specific Information:
dyld: launch, loading dependent libraries
Dyld Error Message:
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: no suitable image found. Did find:
/System/Library/Frameworks/Python.framework/Versions/2.6/Python: stat() failed with errno=13
/Library/Frameworks/Python.framework/Versions/2.6/Python: no matching architecture in universal wrapper
/System/Library/Frameworks/Python.framework/Versions/2.6/Python: stat() failed with errno=13
Binary Images:
0x10f292000 - 0x10f842fef +com.sublimetext.2 (Version 2.0.1, Build 2217 - 2217) <EFE756CA-FF0C-3EEB-BA80-309F00040A5D> /Applications/Sublime Text 2.app/Contents/MacOS/Sublime Text 2
0x7fff6ee92000 - 0x7fff6eec6baf dyld (195.6 - ???) <0CD1B35B-A28F-32DA-B72E-452EAD609613> /usr/lib/dyld
0x7fff89f86000 - 0x7fff89f86fff com.apple.Carbon (153 - 153) <895C2BF2-1666-3A59-A669-311B1F4F368B> /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
0x7fff9349a000 - 0x7fff9349afff com.apple.Cocoa (6.6 - ???) <021D4214-9C23-3CD8-AFB2-F331697A4508> /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
Model: MacBookPro8,1, BootROM MBP81.0047.B27, 2 processors, Intel Core i5, 2.3 GHz, 4 GB, SMC 1.68f96
Graphics: Intel HD Graphics 3000, Intel HD Graphics 3000, Built-In, 384 MB
Memory Module: BANK 0/DIMM0, 2 GB, DDR3, 1333 MHz, 0x80CE, 0x4D34373142353737334448302D4348392020
Memory Module: BANK 1/DIMM0, 2 GB, DDR3, 1333 MHz, 0x80CE, 0x4D34373142353737334448302D4348392020
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0xD6), Broadcom BCM43xx 1.0 (5.106.198.4.20)
Bluetooth: Version 4.0.5f11, 2 service, 11 devices, 4 incoming serial ports
Network Service: Wi-Fi, AirPort, en1
Serial ATA Device: Hitachi HTS545032B9A302, 320.07 GB
Serial ATA Device: OPTIARC DVD RW AD-5970H
USB Device: FaceTime HD Camera (Built-in), apple_vendor_id, 0x8509, 0xfa200000 / 3
USB Device: hub_device, 0x0424 (SMSC), 0x2513, 0xfa100000 / 2
USB Device: BRCM2070 Hub, 0x0a5c (Broadcom Corp.), 0x4500, 0xfa110000 / 5
USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x821a, 0xfa113000 / 8
USB Device: Apple Internal Keyboard / Trackpad, apple_vendor_id, 0x0252, 0xfa120000 / 4
USB Device: hub_device, 0x0424 (SMSC), 0x2513, 0xfd100000 / 2
USB Device: IR Receiver, apple_vendor_id, 0x8242, 0xfd110000 / 3
提前致谢
PBadger
所以事实证明我需要更改python sublime的目标版本。为此,我按照Sublimetext2 Installation on Mac OS X 10.7.4
答案 0 :(得分:4)
也许你已经删除了python 2.6或Python.framework。
所以,你可以安装Python。
如果从源代码安装python,请通过enable framework args
./configure --enable-framework=/Users/ronald/Library/Frameworks
如果仍然提示错误,可能是Python版本问题。
cd /Library/Frameworks/Python.framework/Versions/
sudo mv 2.6 2.6-backup`
sudo ln -s 2.7 2.6
上面的代码可以在2.6和2.7之间建立一个软链接共享Python版本。
然后问题解决了。
它对我有用。