Library messed up, help!

william.c.henderson's Avatar

william.c.henderson

01 Dec, 2013 01:57 AM

I was moving my Library to Dropbox (by quoting Tabular, moving the Library folder, reopening Tabular and selecting it) and something seems to have gotten really messed up. See the attached screenshot. I can't open the score pictured or do much of anything with the UI. I've tried quitting and reopening Tabular, moving the Library back to the old location, deleting the Tabular preferences file. Can't get it to work again!

As a related aside, I really don't like the way Tabular manages my library. I understand it might work best for some users, but for me I'd much rather manage the files myself. For one I don't use/trust iCloud (have lost data on it too many times) and Dropbox is directory-based. For another, I often have files related to a score (audio, Capo files, etc) that I'd rather keep with the score.

Thanks,
William

  1. 1 Posted by william.c.hende... on 01 Dec, 2013 02:00 AM

    william.c.henderson's Avatar

    It occurs to me that the attached Console log may be helpful.

  2. Support Staff 2 Posted by Jarod Long on 01 Dec, 2013 10:22 AM

    Jarod Long's Avatar

    Hey William,

    Sorry for the trouble! When you're moving the library, you should just be able to change the location in the preferences and your existing library will be moved for you. I wonder if moving it manually beforehand had something to do with this issue -- I'll see if I can figure that out.

    I think the problem might be caused by a document that's being restored by Tabular each time you open the app. If you hold down command, option and control at the same time when you open the app, Tabular won't try to restore previously open documents. Can you try that and let me know if you can start up the app?

    Eventually the app will have the ability to bypass the library so you can manage files yourself.

  3. 3 Posted by william.c.hende... on 02 Dec, 2013 03:24 AM

    william.c.henderson's Avatar

    Hi Jarod,
    I can start up the app using command-option-control, but I still cannot open the score. I see the following in the console when I try to open it:

    12/1/13 7:23:17.062 PM Tabular[6616]: error registering for item updates
    12/1/13 7:23:17.069 PM Tabular[6616]: error registering for item updates
    12/1/13 7:23:17.319 PM Tabular[6616]: item update error: 0, Error Domain=LibrarianErrorDomain Code=10 "The operation couldn’t be completed. (LibrarianErrorDomain error 10 - Unable to configure the collection.)" UserInfo=0x61000027be40 {NSDescription=Unable to configure the collection.}
    12/1/13 7:23:17.319 PM Tabular[6616]: item update error: 0, Error Domain=LibrarianErrorDomain Code=10 "The operation couldn’t be completed. (LibrarianErrorDomain error 10 - Unable to configure the collection.)" UserInfo=0x618000276b00 {NSDescription=Unable to configure the collection.}

    Thanks,
    William

  4. Support Staff 4 Posted by Jarod Long on 02 Dec, 2013 10:29 AM

    Jarod Long's Avatar

    Hmm, would you mind attaching the document so I can take a look at it?

  5. 5 Posted by william.c.hende... on 02 Dec, 2013 07:03 PM

    william.c.henderson's Avatar

    Sure. Attached.

    -- 
    William

  6. Support Staff 6 Posted by Jarod Long on 02 Dec, 2013 07:12 PM

    Jarod Long's Avatar

    Strange, it looks like that's basically an empty file. I've never seen that happen before. Can you look in all of the locations that the library has been and see if there's another version of the file lying around that has content? Just check to see if Finder says that the file is larger than the attached one, which is 54 bytes.

  7. 7 Posted by william.c.hende... on 02 Dec, 2013 07:30 PM

    william.c.henderson's Avatar

    Ok, I got really scared. Then I looked in my trashcan and found a file called 'Bruach Carraige na Baine 2.tabu’. I opened that and there’s my score. Yay!

    Now, I’m not positive what happened here. It could have been user error when I was moving things around. However, not only was the file name different (with an appended 2), but the document name inside Tabular also has the 2. So I assume Tabular had something to do with it? So here’s a theory, for what it’s worth:

    1. I moved my files.
    2. I then told Tabular to change my library location.
    3. Tabular tried to move my files to the new location, but they were already gone. So it somehow created an ‘empty’ file for me. Then, when it tried to move this ghost file, it noticed there was already one in the location so it renamed the original and moved it to the trash. Or possibly it just renamed the original and I later mistakenly moved it to the trash thinking it was a duplicate because of its filename.

    William

  8. Support Staff 8 Posted by Jarod Long on 02 Dec, 2013 07:50 PM

    Jarod Long's Avatar

    Phew! I'm glad you found it. The 2 in the name of the document definitely means Tabular was involved somehow. It appends a number like that when a document is imported with the same name as an existing document or when a document is duplicated in the library.

    The weird thing is that documents are neither imported or duplicated in the process of moving the library directory. Tabular also doesn't move things to the trash when it deletes them, so I'm really not sure what happened. I'll look into it and see if I can reproduce the problem.

    Thanks so much for all of the information, it's really helpful for tracking down bugs like this. Let me know if there's anything else I can do for you.

  9. 9 Posted by william.c.hende... on 02 Dec, 2013 07:54 PM

    william.c.henderson's Avatar

    Sure thing. I’m an indie developer as well and I know how tough it can be tracking down a bug you can’t reproduce locally =).

    -- 
    William
    Sent from my iPhone

  10. 10 Posted by william.c.hende... on 11 Dec, 2013 05:36 AM

    william.c.henderson's Avatar

    One more, Jared. Check out this stack trace when trying to export my score (tried every format, all failed):

    12/10/13 9:32:18.800 PM Tabular[5617]: postExceptionEvent caught non-fatal NSInvalidArgumentException '*** -[__NSCFString rangeOfString:options:range:locale:]: nil argument' with backtrace (
    0   CoreFoundation                      0x00007fff8ba6d41c __exceptionPreprocess + 172
    1   libobjc.A.dylib                     0x00007fff8c284e75 objc_exception_throw + 43
    2   CoreFoundation                      0x00007fff8ba6d2cc +[NSException raise:format:] + 204
    3   Foundation                          0x00007fff926a9703 -[NSString rangeOfString:options:range:locale:] + 328
    4   Foundation                          0x00007fff926a95aa -[NSString rangeOfString:] + 65
    5   Tabular                             0x0000000100719e3b Tabular + 867899
    6   AppKit                              0x00007fff8b063502 -[NSVBSavePanel observeAsynchronousDelegateMethodCallKeyPath:paramDict:] + 3097
    7   AppKit                              0x00007fff8b063ed2 -[NSVBSavePanel observeValueForKeyPath:ofObject:change:context:] + 626
    8   Foundation                          0x00007fff926aec18 NSKeyValueNotifyObserver + 387
    9   Foundation                          0x00007fff926adde8 NSKeyValueDidChange + 453
    10  Foundation                          0x00007fff926b2a56 -[NSObject(NSKeyValueObserverNotification) didChangeValueForKey:] + 118
    11  ViewBridge                          0x00007fff8a13bc1a -[NSViewBridge nonLocalChangeInProgress:block:] + 380
    12  ViewBridge                          0x00007fff8a16bd03 -[NSRemoteViewMarshal setRemoteObjectOnMainThread:forKey:withReply:] + 184
    13  ViewBridge                          0x00007fff8a170892 __deferBlockOntoMainThread_block_invoke_3 + 441
    14  CoreFoundation                      0x00007fff8b99e7cc __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 12
    15  CoreFoundation                      0x00007fff8b98fee5 __CFRunLoopDoBlocks + 341
    16  CoreFoundation                      0x00007fff8b98fc6e __CFRunLoopRun + 1982
    17  CoreFoundation                      0x00007fff8b98f275 CFRunLoopRunSpecific + 309
    18  HIToolbox                           0x00007fff8f31bf0d RunCurrentEventLoopInMode + 226
    19  HIToolbox                           0x00007fff8f31bcb7 ReceiveNextEventCommon + 479
    20  HIToolbox                           0x00007fff8f31babc _BlockUntilNextEventMatchingListInModeWithFilter + 65
    21  AppKit                              0x00007fff8a7c428e _DPSNextEvent + 1434
    22  AppKit                              0x00007fff8a7c38db -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 122
    23  AppKit                              0x00007fff8a7b79cc -[NSApplication run] + 553
    24  AppKit                              0x00007fff8a7a2803 NSApplicationMain + 940
    25  libdyld.dylib                       0x00007fff8f59b5fd start + 1
    )
    timestamp: 21:32:18.799 Tuesday 10 December 2013
    process/thread/queue: Tabular (5617) / 0x7fff76979310 / com.apple.main-thread
    code: line 607 of /SourceCache/ViewBridge/ViewBridge-46/ViewBridgeUtilities.m in logCaughtException
    domain: exceptions
     

    William

    On December 2, 2013 at 11:53:52 AM, William Henderson ([email blocked]) wrote:

    Sure thing. I’m an indie developer as well and I know how tough it can be tracking down a bug you can’t reproduce locally =).

    -- 
    William
    Sent from my iPhone

  11. Support Staff 11 Posted by Jarod Long on 11 Dec, 2013 04:32 PM

    Jarod Long's Avatar

    Hey William, thanks for the report. This issue has been fixed in the pending update, so it'll be resolved as soon as the update is approved.

  12. 12 Posted by william.c.hende... on 11 Dec, 2013 06:38 PM

    william.c.henderson's Avatar

    Glad to hear it! Ah, the old ‘waiting for Apple to approve bug fixes for bugs that are still being reported’ game =).

    -- 
    William
    Sent from my iPhone

  13. Support Staff 13 Posted by Jarod Long on 11 Dec, 2013 11:02 PM

    Jarod Long's Avatar

    Haha, yup! It's all good though, I appreciate the reports :)

Discussions are closed to public comments.
If you need help with Chromatic Labs please start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac