S2 hangs on create file/open file from initial dialog box

Hi Keith,

First, apologies for first posting this note to the Scrivener blog–silly of me to do that.

Second, thanks so much for all the hard work I know that you and the team have put into S2. The video demo looks awesome.

Unfortunately, I find that I can’t open any pre-existing Scrivener files with NaNoWriMo preview. Nor can I create a new project.

If I select a template that I believe is included even in the preview–such as the blank template or the NaNoWriMo template–Scrivener creates a file in the destination directory with the name that I assigned but does not open the file (hangs at the template dialogue box with a spinning disk that looks similar to what one sees when launching Mac OS X).

If I try to open an existing file created with a prior version of Scrivener, the preview also hangs at the template dialog box.

I’m on a MB Pro with 4g ram using 10.6.4. Console messages are below.

Cheers,

Ron

10/25/10 5:54:41 PM Scrivener[49755] Exception detected while handling key input.
10/25/10 5:54:41 PM Scrivener[49755] *** -[NSCFString rangeOfString:options:range:locale:]: nil argument
10/25/10 5:59:14 PM Scrivener[49755] *** -[NSCFString rangeOfString:options:range:locale:]: nil argument
10/25/10 5:59:40 PM Scrivener[49755] Exception detected while handling key input.
10/25/10 5:59:40 PM Scrivener[49755] *** -[NSCFString rangeOfString:options:range:locale:]: nil argument
10/25/10 6:00:05 PM Scrivener[49755] HIToolbox: ignoring exception ‘*** -[NSCFString rangeOfString:options:range:locale:]: nil argument’ that raised inside Carbon event dispatch
(
0 CoreFoundation 0x90c13bba __raiseError + 410
1 libobjc.A.dylib 0x91679509 objc_exception_throw + 56
2 CoreFoundation 0x90c138e8 +[NSException raise:format:arguments:] + 136
3 CoreFoundation 0x90c1385a +[NSException raise:format:] + 58
4 Foundation 0x97ce4828 -[NSString rangeOfString:options:range:locale:] + 416
5 Foundation 0x97cf3717 -[NSString rangeOfString:] + 104
6 Scrivener 0x0001ca85 -[SCRMainDocument readFromURL:ofType:error:] + 243
7 AppKit 0x96ebbf4d -[NSDocument initWithContentsOfURL:ofType:error:] + 311
8 AppKit 0x96ebbaf1 -[NSDocumentController makeDocumentWithContentsOfURL:ofType:error:] + 383
9 AppKit 0x96ebb8a9 -[NSDocumentController openDocumentWithContentsOfURL:display:error:] + 886
10 AppKit 0x96ebab94 -[NSDocumentController _openDocumentsWithContentsOfURLs:display:presentErrors:] + 3718
11 AppKit 0x96fd453b -[NSDocumentController openDocument:] + 352
12 Scrivener 0x000f3411 -[SCRDocumentController openDocument:] + 132
13 AppKit 0x96caef1e -[NSApplication sendAction:to:from:] + 112
14 AppKit 0x96caedd1 -[NSMenuItem _corePerformAction] + 435
15 AppKit 0x96caeac2 -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:] + 174
16 AppKit 0x96cae9ae -[NSMenu performActionForItemAtIndex:] + 65
17 AppKit 0x96cae961 -[NSMenu _internalPerformActionForItemAtIndex:] + 50
18 AppKit 0x96cae8c7 -[NSMenuItem _internalPerformActionThroughMenuIfPossible] + 97
19 AppKit 0x96cae80b -[NSCarbonMenuImpl _carbonCommandProcessEvent:handlerCallRef:] + 336
20 AppKit 0x96ca2f49 NSSLMMenuEventHandler + 404
21 HIToolbox 0x98c02f2f _ZL23DispatchEventToHandlersP14EventTargetRecP14OpaqueEventRefP14HandlerCallRec + 1567
22 HIToolbox 0x98c021f6 _ZL30SendEventToEventTargetInternalP14OpaqueEventRefP20OpaqueEventTargetRefP14HandlerCallRec + 411
23 HIToolbox 0x98c249bb SendEventToEventTarget + 52
24 HIToolbox 0x98c50fa7 _ZL18SendHICommandEventmPK9HICommandmmhPKvP20OpaqueEventTargetRefS5_PP14OpaqueEventRef + 448
25 HIToolbox 0x98c75d1c SendMenuCommandWithContextAndModifiers + 66
26 HIToolbox 0x98c75cd1 SendMenuItemSelectedEvent + 121
27 HIToolbox 0x98c75bda ZL19FinishMenuSelectionP13SelectionDataP10MenuResultS2 + 152
28 HIToolbox 0x98c452e4 _ZL14MenuSelectCoreP8MenuData5PointdmPP13OpaqueMenuRefPt + 454
29 HIToolbox 0x98c44a56 _HandleMenuSelection2 + 465
30 HIToolbox 0x98c44874 _HandleMenuSelection + 53
31 AppKit 0x96c9c48a _NSHandleCarbonMenuEvent + 285
32 AppKit 0x96c7103a _DPSNextEvent + 2304
33 AppKit 0x96c702ca -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 156
34 AppKit 0x96c3255b -[NSApplication run] + 821
35 AppKit 0x96c2a5ed NSApplicationMain + 574
36 Scrivener 0x00002fa1 _start + 208
37 Scrivener 0x00002ed0 start + 40
38 ??? 0x00000002 0x0 + 2
)
10/25/10 6:00:31 PM Scrivener[49755] *** -[NSCFString rangeOfString:options:range:locale:]: nil argument
10/25/10 6:01:34 PM Scrivener[49910] *** -[NSCFString rangeOfString:options:range:locale:]: nil argument
10/25/10 6:02:55 PM Scrivener[49952] Exception detected while handling key input.
10/25/10 6:02:55 PM Scrivener[49952] *** -[NSCFString rangeOfString:options:range:locale:]: nil argument
10/25/10 6:04:09 PM Scrivener[50001] *** -[NSCFString rangeOfString:options:range:locale:]: nil argument
10/25/10 6:04:09 PM Scrivener[50001] An exception was thrown during execution of an NSScriptCommand…
10/25/10 6:04:09 PM Scrivener[50001] *** -[NSCFString rangeOfString:options:range:locale:]: nil argument
10/25/10 6:04:37 PM Scrivener[50001] *** -[NSCFString rangeOfString:options:range:locale:]: nil argument
10/25/10 6:20:18 PM Scrivener[50001] HIToolbox: ignoring exception ‘*** -[NSCFString rangeOfString:options:range:locale:]: nil argument’ that raised inside Carbon event dispatch
(
0 CoreFoundation 0x90c13bba __raiseError + 410
1 libobjc.A.dylib 0x91679509 objc_exception_throw + 56
2 CoreFoundation 0x90c138e8 +[NSException raise:format:arguments:] + 136
3 CoreFoundation 0x90c1385a +[NSException raise:format:] + 58
4 Foundation 0x97ce4828 -[NSString rangeOfString:options:range:locale:] + 416
5 Foundation 0x97cf3717 -[NSString rangeOfString:] + 104
6 Scrivener 0x0001ca85 -[SCRMainDocument readFromURL:ofType:error:] + 243
7 AppKit 0x96ebbf4d -[NSDocument initWithContentsOfURL:ofType:error:] + 311
8 AppKit 0x96ebbaf1 -[NSDocumentController makeDocumentWithContentsOfURL:ofType:error:] + 383
9 AppKit 0x96ebb8a9 -[NSDocumentController openDocumentWithContentsOfURL:display:error:] + 886
10 AppKit 0x96ebab94 -[NSDocumentController _openDocumentsWithContentsOfURLs:display:presentErrors:] + 3718
11 AppKit 0x96fd453b -[NSDocumentController openDocument:] + 352
12 Scrivener 0x000f3411 -[SCRDocumentController openDocument:] + 132
13 AppKit 0x96caef1e -[NSApplication sendAction:to:from:] + 112
14 AppKit 0x96caedd1 -[NSMenuItem _corePerformAction] + 435
15 AppKit 0x96caeac2 -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:] + 174
16 AppKit 0x96cae9ae -[NSMenu performActionForItemAtIndex:] + 65
17 AppKit 0x96cae961 -[NSMenu _internalPerformActionForItemAtIndex:] + 50
18 AppKit 0x96cae8c7 -[NSMenuItem _internalPerformActionThroughMenuIfPossible] + 97
19 AppKit 0x96cae80b -[NSCarbonMenuImpl _carbonCommandProcessEvent:handlerCallRef:] + 336
20 AppKit 0x96ca2f49 NSSLMMenuEventHandler + 404
21 HIToolbox 0x98c02f2f _ZL23DispatchEventToHandlersP14EventTargetRecP14OpaqueEventRefP14HandlerCallRec + 1567
22 HIToolbox 0x98c021f6 _ZL30SendEventToEventTargetInternalP14OpaqueEventRefP20OpaqueEventTargetRefP14HandlerCallRec + 411
23 HIToolbox 0x98c249bb SendEventToEventTarget + 52
24 HIToolbox 0x98c50fa7 _ZL18SendHICommandEventmPK9HICommandmmhPKvP20OpaqueEventTargetRefS5_PP14OpaqueEventRef + 448
25 HIToolbox 0x98c75d1c SendMenuCommandWithContextAndModifiers + 66
26 HIToolbox 0x98c75cd1 SendMenuItemSelectedEvent + 121
27 HIToolbox 0x98c75bda ZL19FinishMenuSelectionP13SelectionDataP10MenuResultS2 + 152
28 HIToolbox 0x98c452e4 _ZL14MenuSelectCoreP8MenuData5PointdmPP13OpaqueMenuRefPt + 454
29 HIToolbox 0x98c44a56 _HandleMenuSelection2 + 465
30 HIToolbox 0x98c44874 _HandleMenuSelection + 53
31 AppKit 0x96c9c48a _NSHandleCarbonMenuEvent + 285
32 AppKit 0x96c7103a _DPSNextEvent + 2304
33 AppKit 0x96c702ca -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 156
34 AppKit 0x96c3255b -[NSApplication run] + 821
35 AppKit 0x96c2a5ed NSApplicationMain + 574
36 Scrivener 0x00002fa1 _start + 208
37 Scrivener 0x00002ed0 start + 40
)
10/25/10 6:23:32 PM Scrivener[50320] *** -[NSCFString rangeOfString:options:range:locale:]: nil argument
10/25/10 6:23:32 PM Scrivener[50320] An exception was thrown during execution of an NSScriptCommand…
10/25/10 6:23:32 PM Scrivener[50320] *** -[NSCFString rangeOfString:options:range:locale:]: nil argument
10/25/10 6:23:56 PM Scrivener[50320] Exception detected while handling key input.
10/25/10 6:23:56 PM Scrivener[50320] *** -[NSCFString rangeOfString:options:range:locale:]: nil argument
10/25/10 6:26:33 PM Scrivener[50474] *** -[NSCFString rangeOfString:options:range:locale:]: nil argument
10/25/10 6:26:33 PM Scrivener[50474] An exception was thrown during execution of an NSScriptCommand…
10/25/10 6:26:33 PM Scrivener[50474] *** -[NSCFString rangeOfString:options:range:locale:]: nil argument
10/25/10 6:26:40 PM Scrivener[50474] __CFServiceControllerBeginPBSLoadForLocalizations timed out while talking to pbs
10/25/10 6:26:41 PM Scrivener[50474] __CFServiceControllerBeginPBSLoadForLocalizations timed out while talking to pbs
10/25/10 6:27:11 PM Scrivener[50474] __CFServiceControllerBeginPBSLoadForLocalizations timed out while talking to pbs
10/25/10 6:27:17 PM Scrivener[50474] *** -[NSCFString rangeOfString:options:range:locale:]: nil argument
10/25/10 6:27:59 PM Scrivener[50474] *** -[NSCFString rangeOfString:options:range:locale:]: nil argument
10/25/10 6:37:26 PM Scrivener[50474] HIToolbox: ignoring exception ‘*** -[NSCFString rangeOfString:options:range:locale:]: nil argument’ that raised inside Carbon event dispatch
(
0 CoreFoundation 0x90c13bba __raiseError + 410
1 libobjc.A.dylib 0x91679509 objc_exception_throw + 56
2 CoreFoundation 0x90c138e8 +[NSException raise:format:arguments:] + 136
3 CoreFoundation 0x90c1385a +[NSException raise:format:] + 58
4 Foundation 0x97ce4828 -[NSString rangeOfString:options:range:locale:] + 416
5 Foundation 0x97cf3717 -[NSString rangeOfString:] + 104
6 Scrivener 0x0001ca85 -[SCRMainDocument readFromURL:ofType:error:] + 243
7 AppKit 0x96ebbf4d -[NSDocument initWithContentsOfURL:ofType:error:] + 311
8 AppKit 0x96ebbaf1 -[NSDocumentController makeDocumentWithContentsOfURL:ofType:error:] + 383
9 AppKit 0x96ebb8a9 -[NSDocumentController openDocumentWithContentsOfURL:display:error:] + 886
10 AppKit 0x96ebab94 -[NSDocumentController _openDocumentsWithContentsOfURLs:display:presentErrors:] + 3718
11 AppKit 0x96fd453b -[NSDocumentController openDocument:] + 352
12 Scrivener 0x000f3411 -[SCRDocumentController openDocument:] + 132
13 AppKit 0x96caef1e -[NSApplication sendAction:to:from:] + 112
14 AppKit 0x96caedd1 -[NSMenuItem _corePerformAction] + 435
15 AppKit 0x96caeac2 -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:] + 174
16 AppKit 0x96cae9ae -[NSMenu performActionForItemAtIndex:] + 65
17 AppKit 0x96cae961 -[NSMenu _internalPerformActionForItemAtIndex:] + 50
18 AppKit 0x96cae8c7 -[NSMenuItem _internalPerformActionThroughMenuIfPossible] + 97
19 AppKit 0x96cae80b -[NSCarbonMenuImpl _carbonCommandProcessEvent:handlerCallRef:] + 336
20 AppKit 0x96ca2f49 NSSLMMenuEventHandler + 404
21 HIToolbox 0x98c02f2f _ZL23DispatchEventToHandlersP14EventTargetRecP14OpaqueEventRefP14HandlerCallRec + 1567
22 HIToolbox 0x98c021f6 _ZL30SendEventToEventTargetInternalP14OpaqueEventRefP20OpaqueEventTargetRefP14HandlerCallRec + 411
23 HIToolbox 0x98c249bb SendEventToEventTarget + 52
24 HIToolbox 0x98c50fa7 _ZL18SendHICommandEventmPK9HICommandmmhPKvP20OpaqueEventTargetRefS5_PP14OpaqueEventRef + 448
25 HIToolbox 0x98c75d1c SendMenuCommandWithContextAndModifiers + 66
26 HIToolbox 0x98c75cd1 SendMenuItemSelectedEvent + 121
27 HIToolbox 0x98c75bda ZL19FinishMenuSelectionP13SelectionDataP10MenuResultS2 + 152
28 HIToolbox 0x98c452e4 _ZL14MenuSelectCoreP8MenuData5PointdmPP13OpaqueMenuRefPt + 454
29 HIToolbox 0x98c44a56 _HandleMenuSelection2 + 465
30 HIToolbox 0x98c44874 _HandleMenuSelection + 53
31 AppKit 0x96c9c48a _NSHandleCarbonMenuEvent + 285
32 AppKit 0x96c7103a _DPSNextEvent + 2304
33 AppKit 0x96c702ca -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 156
34 AppKit 0x96c3255b -[NSApplication run] + 821
35 AppKit 0x96c2a5ed NSApplicationMain + 574
36 Scrivener 0x00002fa1 _start + 208
37 Scrivener 0x00002ed0 start + 40
)
10/25/10 6:38:09 PM Scrivener[50474] HIToolbox: ignoring exception ‘*** -[NSCFString rangeOfString:options:range:locale:]: nil argument’ that raised inside Carbon event dispatch
(
0 CoreFoundation 0x90c13bba __raiseError + 410
1 libobjc.A.dylib 0x91679509 objc_exception_throw + 56
2 CoreFoundation 0x90c138e8 +[NSException raise:format:arguments:] + 136
3 CoreFoundation 0x90c1385a +[NSException raise:format:] + 58
4 Foundation 0x97ce4828 -[NSString rangeOfString:options:range:locale:] + 416
5 Foundation 0x97cf3717 -[NSString rangeOfString:] + 104
6 Scrivener 0x0001ca85 -[SCRMainDocument readFromURL:ofType:error:] + 243
7 AppKit 0x96ebbf4d -[NSDocument initWithContentsOfURL:ofType:error:] + 311
8 AppKit 0x96ebbaf1 -[NSDocumentController makeDocumentWithContentsOfURL:ofType:error:] + 383
9 AppKit 0x96ebb8a9 -[NSDocumentController openDocumentWithContentsOfURL:display:error:] + 886
10 Scrivener 0x0003c843 -[SCRAppDelegate openTutorial:] + 1181
11 AppKit 0x96caef1e -[NSApplication sendAction:to:from:] + 112
12 AppKit 0x96caedd1 -[NSMenuItem _corePerformAction] + 435
13 AppKit 0x96caeac2 -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:] + 174
14 AppKit 0x96cae9ae -[NSMenu performActionForItemAtIndex:] + 65
15 AppKit 0x96cae961 -[NSMenu _internalPerformActionForItemAtIndex:] + 50
16 AppKit 0x96cae80b -[NSCarbonMenuImpl _carbonCommandProcessEvent:handlerCallRef:] + 336
17 AppKit 0x96ca2f49 NSSLMMenuEventHandler + 404
18 HIToolbox 0x98c02f2f _ZL23DispatchEventToHandlersP14EventTargetRecP14OpaqueEventRefP14HandlerCallRec + 1567
19 HIToolbox 0x98c021f6 _ZL30SendEventToEventTargetInternalP14OpaqueEventRefP20OpaqueEventTargetRefP14HandlerCallRec + 411
20 HIToolbox 0x98c249bb SendEventToEventTarget + 52
21 HIToolbox 0x98c50fa7 _ZL18SendHICommandEventmPK9HICommandmmhPKvP20OpaqueEventTargetRefS5_PP14OpaqueEventRef + 448
22 HIToolbox 0x98c75d1c SendMenuCommandWithContextAndModifiers + 66
23 HIToolbox 0x98c75cd1 SendMenuItemSelectedEvent + 121
24 HIToolbox 0x98c75bda ZL19FinishMenuSelectionP13SelectionDataP10MenuResultS2 + 152
25 HIToolbox 0x98c452e4 _ZL14MenuSelectCoreP8MenuData5PointdmPP13OpaqueMenuRefPt + 454
26 HIToolbox 0x98c44a56 _HandleMenuSelection2 + 465
27 HIToolbox 0x98c44874 _HandleMenuSelection + 53
28 AppKit 0x96c9c48a _NSHandleCarbonMenuEvent + 285
29 AppKit 0x96c7103a _DPSNextEvent + 2304
30 AppKit 0x96c702ca -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 156
31 AppKit 0x96c3255b -[NSApplication run] + 821
32 AppKit 0x96c2a5ed NSApplicationMain + 574
33 Scrivener 0x00002fa1 _start + 208
34 Scrivener 0x00002ed0 start + 40
)