Hi folks,
I've just recently bought TextMate and was hoping to use it to work on Adium[1]. I launched TextMate, created a blank document and tried to use the gear menu to "Import Project ...", TextMate flashed a tooltip and then I got an error dialog because the application xcode_to_tmproj quit unexpectedly. I also tried the same project from the "Import Frontmost Project" command. Same crash...
I've also tried this with a coupla other projects and had the same results. Weirdest thing is I'm sure this worked a coupla weeks ago as I tried the functionality before I registered...
Anyone have any ideas?
Here's the crash report:
Date/Time: 2006-05-06 20:16:00.501 +0100 OS Version: 10.4.6 (Build 8I127) Report Version: 4
Command: xcode_to_tmproj Path: /Applications/TextMate.app/Contents/SharedSupport/Bundles/ Xcode.tmbundle/Support/bin/xcode_to_tmproj Parent: bash [4742]
Version: 1.5.1 (985)
PID: 4746 Thread: 0
Exception: EXC_BREAKPOINT (0x0006) Code[0]: 0x00000001 Code[1]: 0x9294d120
Thread 0 Crashed: 0 com.apple.Foundation 0x9294d120 _NSRaiseError + 264 1 com.apple.Foundation 0x929fe4ac -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 112 2 xcode_to_tmproj 0x000038b4 -[XCProject unarchiveObjectForKey:] + 520 (crt.c:355) 3 xcode_to_tmproj 0x000039ec -[XCProject unarchiveObjectForKey:] + 832 (crt.c:355) 4 xcode_to_tmproj 0x00003a8c -[XCProject unarchiveObjectForKey:] + 992 (crt.c:355) 5 xcode_to_tmproj 0x00003a8c -[XCProject unarchiveObjectForKey:] + 992 (crt.c:355) 6 xcode_to_tmproj 0x000039ec -[XCProject unarchiveObjectForKey:] + 832 (crt.c:355) 7 xcode_to_tmproj 0x00003a8c -[XCProject unarchiveObjectForKey:] + 992 (crt.c:355) 8 xcode_to_tmproj 0x00003a8c -[XCProject unarchiveObjectForKey:] + 992 (crt.c:355) 9 xcode_to_tmproj 0x00003610 -[XCProject initWithDictionary:] + 424 (crt.c:355) 10 xcode_to_tmproj 0x000033d0 main + 308 (crt.c:355) 11 xcode_to_tmproj 0x00002638 _start + 340 (crt.c:272) 12 xcode_to_tmproj 0x000024e0 start + 60
Thread 0 crashed with PPC Thread State 64: srr0: 0x000000009294d120 srr1: 0x000000000002f030 vrsave: 0x0000000000000000 cr: 0x24000442 xer: 0x0000000000000007 lr: 0x000000009294d0f8 ctr: 0x000000009290f264 r0: 0x0000000000000000 r1: 0x00000000bfffebe0 r2: 0x00000000a290c508 r3: 0x00000000a2930b88 r4: 0x0000000090a4dff0 r5: 0x000000009290e844 r6: 0x00000000bfffe814 r7: 0x00000000000000ff r8: 0x00000000bfffe800 r9: 0x0000000000302f10 r10: 0x0000000090a3c628 r11: 0x0000000024000442 r12: 0x000000009290f264 r13: 0x00000000000036ac r14: 0x00000000000036ac r15: 0x00000000000036ac r16: 0x00000000000036ac r17: 0x00000000000036ac r18: 0x0000000000539e90 r19: 0x00000000000036ac r20: 0x00000000003082b0 r21: 0x0000000000539ef0 r22: 0x00000000000036ac r23: 0x00000000003e4090 r24: 0x0000000000004c38 r25: 0x0000000000000000 r26: 0x00000000003d3320 r27: 0x0000000000006118 r28: 0x000000000053a100 r29: 0x00000000a291181c r30: 0x00000000003d2da0 r31: 0x000000009294d028
Binary Images Description: 0x1000 - 0x4fff xcode_to_tmproj /Applications/TextMate.app/ Contents/SharedSupport/Bundles/Xcode.tmbundle/Support/bin/ xcode_to_tmproj 0x8fe00000 - 0x8fe51fff dyld 44.4 /usr/lib/dyld 0x90000000 - 0x901bbfff libSystem.B.dylib /usr/lib/libSystem.B.dylib 0x90213000 - 0x90218fff libmathCommon.A.dylib /usr/lib/system/ libmathCommon.A.dylib 0x907b9000 - 0x90892fff com.apple.CoreFoundation 6.4.4 (368.25) / System/Library/Frameworks/CoreFoundation.framework/Versions/A/ CoreFoundation 0x908db000 - 0x908dbfff com.apple.CoreServices 10.4 (???) /System/ Library/Frameworks/CoreServices.framework/Versions/A/CoreServices 0x908dd000 - 0x909dffff libicucore.A.dylib /usr/lib/libicucore.A.dylib 0x90a39000 - 0x90abdfff libobjc.A.dylib /usr/lib/libobjc.A.dylib 0x90ae7000 - 0x90b57fff com.apple.framework.IOKit 1.4.1 (???) /System/ Library/Frameworks/IOKit.framework/Versions/A/IOKit 0x90b6d000 - 0x90b7ffff libauto.dylib /usr/lib/libauto.dylib 0x90b86000 - 0x90e5dfff com.apple.CoreServices.CarbonCore 681.3 (671.2) /System/Library/Frameworks/CoreServices.framework/Versions/A/ Frameworks/CarbonCore.framework/Versions/A/CarbonCore 0x90ec3000 - 0x90f43fff com.apple.CoreServices.OSServices 4.1 /System/ Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/ OSServices.framework/Versions/A/OSServices 0x90f8d000 - 0x90fcefff com.apple.CFNetwork 129.13 /System/Library/ Frameworks/CoreServices.framework/Versions/A/Frameworks/ CFNetwork.framework/Versions/A/CFNetwork 0x90fe3000 - 0x90ffbfff com.apple.WebServices 1.1.2 (1.1.0) /System/ Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/ WebServicesCore.framework/Versions/A/WebServicesCore 0x9100b000 - 0x9108cfff com.apple.SearchKit 1.0.5 /System/Library/ Frameworks/CoreServices.framework/Versions/A/Frameworks/ SearchKit.framework/Versions/A/SearchKit 0x910d2000 - 0x910fbfff com.apple.Metadata 10.4.4 (121.36) /System/ Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/ Metadata.framework/Versions/A/Metadata 0x9110c000 - 0x9111afff libz.1.dylib /usr/lib/libz.1.dylib 0x9111d000 - 0x912d3fff com.apple.security 4.3 (25966) /System/ Library/Frameworks/Security.framework/Versions/A/Security 0x913d0000 - 0x913d9fff com.apple.DiskArbitration 2.1 /System/Library/ Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration 0x913e0000 - 0x91407fff com.apple.SystemConfiguration 1.8.2 /System/ Library/Frameworks/SystemConfiguration.framework/Versions/A/ SystemConfiguration 0x9141a000 - 0x91425fff libgcc_s.1.dylib /usr/lib/libgcc_s.1.dylib 0x9290c000 - 0x92b37fff com.apple.Foundation 6.4.5 (567.26) /System/ Library/Frameworks/Foundation.framework/Versions/C/Foundation 0x92c55000 - 0x92d33fff libxml2.2.dylib /usr/lib/libxml2.2.dylib 0x92d53000 - 0x92e41fff libiconv.2.dylib /usr/lib/libiconv.2.dylib
Model: PowerBook6,7, BootROM 4.9.3f0, 1 processors, PowerPC G4 (1.5), 1.42 GHz, 512 MB Graphics: ATI Mobility Radeon 9550, ATY,M12, AGP, 32 MB Memory Module: DIMM0/BUILT-IN, 512 MB, built-in, built-in AirPort: AirPort Extreme, 404.2 (3.90.34.0.p16) Modem: Jump, , V.92, Version 1.0, Bluetooth: Version 1.7.3f4, 2 service, 0 devices, 1 incoming serial ports Network Service: AirPort, AirPort, en1 PCI Card: pci106b,4318, sppci_othernetwork, SLOT-B Parallel ATA Device: MATSHITACD-RW CW-8124, Parallel ATA Device: FUJITSU MHV2080AT, 74.53 GB USB Device: Hub, , Up to 480 Mb/sec, 500 mA USB Device: Hub, , Up to 12 Mb/sec, 500 mA USB Device: Trackball, Logitech, Up to 1.5 Mb/sec, 100 mA USB Device: Kyerim HUB keyboard, Kyerim, Up to 1.5 Mb/sec, 200 mA USB Device: Bluetooth HCI, , Up to 12 Mb/sec, 500 mA USB Device: Apple Internal Trackpad, Apple Computer, Up to 12 Mb/sec, 500 mA
-J
-- Joshua Lock incandescant@googlemail.com
On 6/5/2006, at 21:43, Joshua Lock wrote:
[...] Anyone have any ideas?
Not sure why -- the Xcode project reader is however fragile, as the format is undocumented.
However, I’d say 99% of the time, it is better simply to drag the folder with your Xcode project to TextMate, rather than use the import functionality.
On May 6, 2006, at 10:28 PM, Allan Odgaard wrote:
On 6/5/2006, at 21:43, Joshua Lock wrote:
[...] Anyone have any ideas?
Not sure why -- the Xcode project reader is however fragile, as the format is undocumented.
Shouldn't be that fragile, though. Joshua, can you change the output type of the Commit command to "New Document" (instead of ToolTip) and send me the text?
However, I’d say 99% of the time, it is better simply to drag the folder with your Xcode project to TextMate, rather than use the import functionality.
Yes, if the project is contained in one root folder, absolutely. The importer is best used with complex projects.
Chris
On 7 May 2006, at 19:55, Chris Thomas wrote:
On May 6, 2006, at 10:28 PM, Allan Odgaard wrote:
On 6/5/2006, at 21:43, Joshua Lock wrote:
[...] Anyone have any ideas?
Not sure why -- the Xcode project reader is however fragile, as the format is undocumented.
Shouldn't be that fragile, though. Joshua, can you change the output type of the Commit command to "New Document" (instead of ToolTip) and send me the text?
I sure can, see the attached. I've also tried updating to the latest bundles in SVN, projects that I have created myself with fairly few resources etc in seem to be working OK but the .xcodeproj from Adium is still crashing it...
However, I’d say 99% of the time, it is better simply to drag the folder with your Xcode project to TextMate, rather than use the import functionality.
Yes, if the project is contained in one root folder, absolutely. The importer is best used with complex projects.
Hope this helps,
-J
-- Joshua Lock incandescant@googlemail.com
Hey Joshua,
Please give the latest Xcode bundle from Subversion a try. It should both fix the error you're seeing and be more robust for minor changes to the Xcode project format.
Thanks, Chris
Hi Chris!
On 8 May 2006, at 15:02, Chris Thomas wrote:
Please give the latest Xcode bundle from Subversion a try. It should both fix the error you're seeing and be more robust for minor changes to the Xcode project format.
That's much better, thanks! It now successfully imports the Adium project file :)
Thank you very much!
-J
-- Joshua Lock incandescant@googlemail.com