Hi, I’m having a sudden issue with Scrivener out of nowhere on macOS when I have been using it without issue for ages; today every single project, existing or brand new, causes a “Scrivener Internal Error” dialogue to pop up with options to either “crash” or “continue.” This happens when opening existing projects or creating new ones. Holding down shift to get to the Project Templates initial menu works, I can poke around in the unlocked options there, but the moment I try to open a project it crashes. I tried reinstalling and have nuked the support folder completely, I’ve restored it from a backup, I’ve tried to open backup projects — nada. The errors I get are either:
Exception Name: NSInvalidUnarchiveOperationException
Description: The data couldn’t be read because it isn’t in the correct format.
User Info: {
NSUnderlyingError = “Error Domain=NSCocoaErrorDomain Code=4864 “value for key ‘NS.objects’ was of unexpected class ‘NSCoreUIImageRep’ (0x1fe0a6f58) [/System/Library/Frameworks/AppKit.framework].\nAllowed classes are:\n {(\n “‘NSPDFImageRep’ (0x1fe0aa120) [/System/Library/Frameworks/AppKit.framework]”,\n “‘NSCGImageSnapshotRep’ (0x1fe0a95e0) [/System/Library/Frameworks/AppKit.framework]”,\n “‘NSString’ (0x1fe0863d8) [/System/Library/Frameworks/Foundation.framework]”,\n “‘NSCachedImageRep’ (0x1fecf9890) [/System/Library/Frameworks/AppKit.framework]”,\n “‘NSArray’ (0x1fe076760) [/System/Library/Frameworks/CoreFoundation.framework]”,\n “‘NSBitmapImageRep’ (0x1fe0aad50) [/System/Library/Frameworks/AppKit.framework]”,\n “‘NSNumber’ (0x1fe0861a8) [/System/Library/Frameworks/Foundation.framework]”\n)}” UserInfo={NSDebugDescription=value for key ‘NS.objects’ was of unexpected class ‘NSCoreUIImageRep’ (0x1fe0a6f58) [/System/Library/Frameworks/AppKit.framework].\nAllowed classes are:\n {(\n “‘NSPDFImageRep’ (0x1fe0aa120) [/System/Library/Frameworks/AppKit.framework]”,\n “‘NSCGImageSnapshotRep’ (0x1fe0a95e0) [/System/Library/Frameworks/AppKit.framework]”,\n “‘NSString’ (0x1fe0863d8) [/System/Library/Frameworks/Foundation.framework]”,\n “‘NSCachedImageRep’ (0x1fecf9890) [/System/Library/Frameworks/AppKit.framework]”,\n “‘NSArray’ (0x1fe076760) [/System/Library/Frameworks/CoreFoundation.framework]”,\n “‘NSBitmapImageRep’ (0x1fe0aad50) [/System/Library/Frameworks/AppKit.framework]”,\n “‘NSNumber’ (0x1fe0861a8) [/System/Library/Frameworks/Foundation.framework]”\n)}}”;
}
0 CoreFoundation 0x0000000191e7f8fc __exceptionPreprocess + 176
1 libobjc.A.dylib 0x0000000191956418 objc_exception_throw + 88
2 Foundation 0x00000001940e7a54 -[NSSecureUnarchiveFromDataTransformer reverseTransformedValue:] + 0
3 AppKit 0x00000001967e9fb8 -[NSBinder valueForBinding:resolveMarkersToPlaceholders:] + 144
4 AppKit 0x0000000196c02820 -[NSObjectParameterBinder _updateObject:observedController:observedKeyPath:context:] + 792
5 AppKit 0x0000000196a0a82c -[NSObject(NSKeyValueBindingCreation) bind:toObject:withKeyPath:options:] + 484
6 Scrivener 0x0000000100b940c8 Scrivener + 2228424
7 Scrivener 0x00000001009e8288 Scrivener + 475784
8 Scrivener 0x00000001009b3930 Scrivener + 260400
9 AppKit 0x00000001962f8754 -[NSWindowController _windowDidLoad] + 620
10 AppKit 0x00000001962f6d34 -[NSWindowController window] + 100
11 Scrivener 0x0000000100981cec Scrivener + 56556
12 AppKit 0x000000019692404c __102-[NSDocumentController _openDocumentWithContentsOfURL:requestedBySourceApp:display:completionHandler:]_block_invoke.368 + 188
13 CoreFoundation 0x0000000191e32614 CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK + 28
14 CoreFoundation 0x0000000191e32554 __CFRunLoopDoBlocks + 396
15 CoreFoundation 0x0000000191e313b4 __CFRunLoopRun + 848
16 CoreFoundation 0x0000000191eebf3c _CFRunLoopRunSpecificWithOptions + 532
17 HIToolbox 0x000000019e99c790 RunCurrentEventLoopInMode + 316
18 HIToolbox 0x000000019e99fab8 ReceiveNextEventCommon + 488
19 HIToolbox 0x000000019eb29b64 _BlockUntilNextEventMatchingListInMode + 48
20 AppKit 0x000000019674e014 _DPSBlockUntilNextEventMatchingListInMode + 236
21 AppKit 0x000000019624be48 _DPSNextEvent + 588
22 AppKit 0x0000000196d12f08 -[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 688
23 AppKit 0x0000000196d12c14 -[NSApplication(NSEventRouting) nextEventMatchingMask:untilDate:inMode:dequeue:] + 72
24 AppKit 0x0000000196244780 -[NSApplication run] + 368
25 AppKit 0x00000001962306dc NSApplicationMain + 880
26 dyld 0x00000001919c9d54 start + 7184
which accompanies creating brand new files most of the time (but also does happen when opening old ones). The other is:
Exception Name: SCRInvalidBinder
Description: The standard root items could not be located in the binder - project may be corrupt.
User Info: (null)
0 CoreFoundation 0x0000000191e7f8fc __exceptionPreprocess + 176
1 libobjc.A.dylib 0x0000000191956418 objc_exception_throw + 88
2 CoreFoundation 0x0000000191e9aed4 _CFBundleGetValueForInfoKey + 0
3 Scrivener 0x0000000104cf882c Scrivener + 2361388
4 Scrivener 0x0000000104cf7190 Scrivener + 2355600
5 Scrivener 0x0000000104ac9c84 Scrivener + 72836
6 Scrivener 0x0000000104aca744 Scrivener + 75588
7 Scrivener 0x0000000104acaf58 Scrivener + 77656
8 Foundation 0x000000019365e634 __NSFireDelayedPerform + 372
9 CoreFoundation 0x0000000191e4119c CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION + 32
10 CoreFoundation 0x0000000191e40e5c __CFRunLoopDoTimer + 980
11 CoreFoundation 0x0000000191e409d4 __CFRunLoopDoTimers + 280
12 CoreFoundation 0x0000000191e3177c __CFRunLoopRun + 1816
13 CoreFoundation 0x0000000191eebf3c _CFRunLoopRunSpecificWithOptions + 532
14 HIToolbox 0x000000019e99c790 RunCurrentEventLoopInMode + 316
15 HIToolbox 0x000000019e99fab8 ReceiveNextEventCommon + 488
16 HIToolbox 0x000000019eb29b64 _BlockUntilNextEventMatchingListInMode + 48
17 AppKit 0x000000019674e014 _DPSBlockUntilNextEventMatchingListInMode + 236
18 AppKit 0x000000019624be48 _DPSNextEvent + 588
19 AppKit 0x0000000196d12f08 -[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 688
20 AppKit 0x0000000196d12c14 -[NSApplication(NSEventRouting) nextEventMatchingMask:untilDate:inMode:dequeue:] + 72
21 AppKit 0x0000000196244780 -[NSApplication run] + 368
22 AppKit 0x00000001962306dc NSApplicationMain + 880
23 dyld 0x00000001919c9d54 start + 7184
I have done absolutely nothing differently with my computer, I was literally working earlier this afternoon for several hours, went to have dinner, and when I opened Scrivener again this all started. I’ve never experienced this before, but it’s happening with literally every single project.
ETA: I’m on the latest version of Tahoe (26.3.1 (a)) on an M2 Max MacBook Pro.
Any help? I can’t get into any of my projects across literal decades, and to say I’m panicked is an understatement. Thanks so much.