{"id":2300,"date":"2022-08-30T15:23:43","date_gmt":"2022-08-30T15:23:43","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/01\/05\/sublime-crashing-on-open-no-suitable-python-image-found-architecture-collection-of-common-programming-errors\/"},"modified":"2022-08-30T15:23:43","modified_gmt":"2022-08-30T15:23:43","slug":"sublime-crashing-on-open-no-suitable-python-image-found-architecture-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/sublime-crashing-on-open-no-suitable-python-image-found-architecture-collection-of-common-programming-errors\/","title":{"rendered":"Sublime crashing on open, no suitable python image found, architecture-Collection of common programming errors"},"content":{"rendered":"<p>I tried to re-open sublime after force quitting it. I followed instructions to return sublime to an earlier state but I had no data folder, so in an attempt to uninstall, I deleted and permanently removed everything with sublime in it. Is there any way I can uninstall sublime besides via the instructions on the &#8220;revert&#8221; page? Or change my python versioning so that sublime starts working?<\/p>\n<p>I also looked up other &#8220;no suitable image found&#8221; errors, and it seems like the architecture might be a problem (I recently updated python using homebrew and I&#8217;m on Lion, so maybe its some 32\/64 bit problem?) I also tried re-installing the most recent version of python.<\/p>\n<p>The error report I get on opening is printed below.<\/p>\n<pre><code>Process: Sublime Text 2 [1088]\nPath: \/Applications\/Sublime Text 2.app\/Contents\/MacOS\/Sublime Text 2\nIdentifier: com.sublimetext.2\nVersion: Version 2.0.1, Build 2217 (2217)\nCode Type: X86-64 (Native)\nParent Process: launchd [210]\n\nDate\/Time: 2012-08-13 23:42:36.059 -0400\nOS Version: Mac OS X 10.7.4 (11E53)\nReport Version: 9\n\nInterval Since Last Report: 755530 sec\nCrashes Since Last Report: 31\nPer-App Crashes Since Last Report: 7\nAnonymous UUID: 48A0DEC5-738E-472E-A106-15F5341FFA5B\n\nCrashed Thread: 0\n\nException Type: EXC_BREAKPOINT (SIGTRAP)\nException Codes: 0x0000000000000002, 0x0000000000000000\n\nApplication Specific Information:\ndyld: launch, loading dependent libraries\n\nDyld Error Message:\nLibrary not loaded: \/System\/Library\/Frameworks\/Python.framework\/Versions\/2.6\/Python\nReferenced from: \/Applications\/Sublime Text 2.app\/Contents\/MacOS\/Sublime Text 2\nReason: no suitable image found. Did find:\n\/System\/Library\/Frameworks\/Python.framework\/Versions\/2.6\/Python: stat() failed with errno=13\n\/Library\/Frameworks\/Python.framework\/Versions\/2.6\/Python: no matching architecture in universal wrapper\n\/System\/Library\/Frameworks\/Python.framework\/Versions\/2.6\/Python: stat() failed with errno=13\n\nBinary Images:\n0x10f292000 - 0x10f842fef +com.sublimetext.2 (Version 2.0.1, Build 2217 - 2217)  \/Applications\/Sublime Text 2.app\/Contents\/MacOS\/Sublime Text 2\n0x7fff6ee92000 - 0x7fff6eec6baf dyld (195.6 - ???)  \/usr\/lib\/dyld\n0x7fff89f86000 - 0x7fff89f86fff com.apple.Carbon (153 - 153)  \/System\/Library\/Frameworks\/Carbon.framework\/Versions\/A\/Carbon\n0x7fff9349a000 - 0x7fff9349afff com.apple.Cocoa (6.6 - ???)  \/System\/Library\/Frameworks\/Cocoa.framework\/Versions\/A\/Cocoa\n\nModel: MacBookPro8,1, BootROM MBP81.0047.B27, 2 processors, Intel Core i5, 2.3 GHz, 4 GB, SMC 1.68f96\nGraphics: Intel HD Graphics 3000, Intel HD Graphics 3000, Built-In, 384 MB\nMemory Module: BANK 0\/DIMM0, 2 GB, DDR3, 1333 MHz, 0x80CE, 0x4D34373142353737334448302D4348392020\nMemory Module: BANK 1\/DIMM0, 2 GB, DDR3, 1333 MHz, 0x80CE, 0x4D34373142353737334448302D4348392020\nAirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0xD6), Broadcom BCM43xx 1.0 (5.106.198.4.20)\nBluetooth: Version 4.0.5f11, 2 service, 11 devices, 4 incoming serial ports\nNetwork Service: Wi-Fi, AirPort, en1\nSerial ATA Device: Hitachi HTS545032B9A302, 320.07 GB\nSerial ATA Device: OPTIARC DVD RW AD-5970H\nUSB Device: FaceTime HD Camera (Built-in), apple_vendor_id, 0x8509, 0xfa200000 \/ 3\nUSB Device: hub_device, 0x0424 (SMSC), 0x2513, 0xfa100000 \/ 2\nUSB Device: BRCM2070 Hub, 0x0a5c (Broadcom Corp.), 0x4500, 0xfa110000 \/ 5\nUSB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x821a, 0xfa113000 \/ 8\nUSB Device: Apple Internal Keyboard \/ Trackpad, apple_vendor_id, 0x0252, 0xfa120000 \/ 4\nUSB Device: hub_device, 0x0424 (SMSC), 0x2513, 0xfd100000 \/ 2\nUSB Device: IR Receiver, apple_vendor_id, 0x8242, 0xfd110000 \/ 3\n<\/code><\/pre>\n<p>Thanks in advance<\/p>\n<p>PBadger<\/p>\n<h2>Update<\/h2>\n<p>So it turned out I needed to change the version of python sublime was targeting. To do this I followed Sublimetext2 Installation on Mac OS X 10.7.4<\/p>\n<ol>\n<li>\n<p>Make you had remove python 2.6 or Python.framework.<\/p>\n<p>So,you can install Python.<\/p>\n<p>if you install python from sources please pass enable framework args<\/p>\n<pre><code>.\/configure --enable-framework=\/Users\/ronald\/Library\/Frameworks \n<\/code><\/pre>\n<p>if still tip the error, it may be Python version problem.<\/p>\n<pre><code>cd \/Library\/Frameworks\/Python.framework\/Versions\/\nsudo mv 2.6 2.6-backup`\nsudo ln -s 2.7 2.6\n<\/code><\/pre>\n<p>Above code can make a soft link shared Python version between 2.6 and 2.7.<\/p>\n<p>Then issues solved.<\/p>\n<p>It works for me .<\/p>\n<\/li>\n<\/ol>\n<p id=\"rop\"><small>Originally posted 2014-01-05 09:58:28. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>I tried to re-open sublime after force quitting it. I followed instructions to return sublime to an earlier state but I had no data folder, so in an attempt to uninstall, I deleted and permanently removed everything with sublime in it. Is there any way I can uninstall sublime besides via the instructions on the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-2300","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/2300","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=2300"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/2300\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=2300"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=2300"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=2300"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}