Nat! bio photo

Nat!

Senior Mull.

Twitter RSS

Github

TextEdit and Lion File Versioning

One of the most anticipated Lion feature for me is the automatic versioning of documents in Lion. Eventually it's gonna be great (I hope) but currently it has this half-baked feel to it.

  1. I have some of my projects in my VMware Lion mounted as a shared folder. For some reason, Xcode had the worst time getting these to open. So it is seemingly stuck forever opening these projects, so I have to "kill" Xcode.

    When I restart Xcode, it tries to read these projects again, being stuck again... There is no way to break this vicious circle. What is needed is an option to launch with clearing the applications memory.

    This helplessness is an amazing feeling I haven't had on OS X since quite a few years actually.

  2. I use TextEdit to write shell scripts. I often refine them in the shell with vi for small changes, but for larger edits I use TextEdit, which has the file still open.

    This gave me a slew of errors: Jul 22 01:25:30 Lion TextEdit[770]: open on /Users/test/Desktop/patcher.sh: Operation not permitted Jul 22 01:25:30 Lion [0x0-0x53053].com.apple.TextEdit[770]: [ERROR] genstore_storage.c:_CopyfileAddWithArchiveAndSizingCallback:665 copyfile callback got an error what=1 stage=3 src=/Users/test/Desktop/patcher.sh dst=/Users/test/Library/Containers/com.apple.TextEdit/Data/Library/Autosave Information/66455544-1790-463C-BDD9-0E408B2A2E83.genstore.noindex/.genstore_staging/5RyonsL/staged, errno 1 (Operation not permitted) Jul 22 01:25:30 Lion [0x0-0x53053].com.apple.TextEdit[770]: [ERROR] genstore_storage.c:GSAddPathAsGeneration:980 copyfile "/Users/test/Desktop/patcher.sh" to "/Users/test/Library/Containers/com.apple.TextEdit/Data/Library/Autosave Information/66455544-1790-463C-BDD9-0E408B2A2E83.genstore.noindex/.genstore_staging/5RyonsL/staged" failed with error 1 (Operation not permitted) Jul 22 01:25:30 Lion TextEdit[770]: NSFileVersion tried to tried to add a new generation and failed. Versioned file URL: file://localhost/Users/test/Desktop/patcher.sh, contents URL: file://localhost/Users/test/Desktop/patcher.sh, error: Error Domain=GSLibraryErrorDomain Code=1 "Der Vorgang konnte nicht abgeschlossen werden. (GSLibraryErrorDomain-Fehler 1.)" UserInfo=0x7f8038624e30 {} Jul 22 01:25:30 Lion TextEdit[770]: NSDocument failed to preserve the old version of a document. Here's the error: Error Domain=GSLibraryErrorDomain Code=1 "Der Vorgang konnte nicht abgeschlossen werden. (GSLibraryErrorDomain-Fehler 1.)" UserInfo=0x7f8038624e30 {}

    Also in TextEdit there is no "Save as" or "Save to" option anymore... In the words of John McEnroe: "You can not be serious". This right there makes TextEdit now unusable to me.