7 Replies Latest reply: Sep 18, 2013 11:54 AM by koagul8or
koagul8or Level 1 Level 1 (0 points)

Hi Guys,

 

I'm guessing I have a missing or corrupt library some where and I'm trying to avoid a reinstall of OSX.  I am using version 3 of Aperture (installed version 2, upgraded to version 3 and downloaded updates).

 

Full details of the exception(s) below but the short story is that I cannot use the Customize Commands facility.  I can reproduce the error by:

 

  1. Opening Aperture
  2. Selecting Commands | Customize... from the menu.
  3. When the Command Editor appears, I select 'Duplicate...' from the drop-down in the top left corner.

 

At this point, a small dialog should appear allowing me to name my new duplicated settings, this is what happens on my other installations of Aperture.  However, with this installation, I see the errors below in the Console logs.

 

I've managed to work around the problem by creating my keyboard shortcuts on the working installation, exporting them, and importing them into the broken installation.  But it would be nice to fix it properly.

 

Any help or suggestions (other than re-install operating system) would really be appreciated.

 

Thanks,

 

J

 

12/09/2013 12:09:19.635 Aperture[5194]: *** Assertion failure in -[RKRedRockApp _commonBeginModalSessionForWindow:relativeToWindow:modalDelegate:didEndSelector :contextInfo:], /SourceCache/AppKit/AppKit-1187.39/AppKit.subproj/NSApplication.m:3920

 

 

12/09/2013 12:09:19.637 Aperture[5194]: An uncaught exception was raised

 

12/09/2013 12:09:19.638 Aperture[5194]: Modal session requires modal window

 

 

12/09/2013 12:09:19.648 Aperture[5194]: (

          0   CoreFoundation                      0x00007fff91614b06 __exceptionPreprocess + 198

          1   libobjc.A.dylib                     0x00007fff8df363f0 objc_exception_throw + 43

          2   CoreFoundation                      0x00007fff91614948 +[NSException raise:format:arguments:] + 104

          3   Foundation                          0x00007fff99f524c2 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 189

          4   AppKit                              0x00007fff965fab56 -[NSApplication _commonBeginModalSessionForWindow:relativeToWindow:modalDelegate:didEndSelector :contextInfo:] + 609

          5   ProKit                              0x000000010cda4387 -[NSProApplication _commonBeginModalSessionForWindow:relativeToWindow:modalDelegate:didEndSelector :contextInfo:] + 132

          6   Aperture                            0x000000010bc7859e Aperture + 4691358

          7   ProKit                              0x000000010ce86b8e -[NSProCommandDialogManager runCommandSetRenameDialog:modalForWindow:] + 245

          8   ProKit                              0x000000010ce89f11 -[NSProCommandsUIController duplicateCommandSet:] + 197

          9   AppKit                              0x00007fff967f2959 -[NSApplication sendAction:to:from:] + 342

          10  ProKit                              0x000000010cda14ad -[NSProApplication sendAction:to:from:] + 101

          11  Aperture                            0x000000010bc78377 Aperture + 4690807

          12  AppKit                              0x00007fff9692836c -[NSMenuItem _corePerformAction] + 406

          13  AppKit                              0x00007fff9692805a -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:] + 133

          14  AppKit                              0x00007fff9661520f -[NSMenu _internalPerformActionForItemAtIndex:] + 36

          15  AppKit                              0x00007fff96615097 -[NSCarbonMenuImpl _carbonCommandProcessEvent:handlerCallRef:] + 135

          16  AppKit                              0x00007fff96921165 NSSLMMenuEventHandler + 342

          17  HIToolbox                           0x00007fff92a41d1a _ZL23DispatchEventToHandlersP14EventTargetRecP14OpaqueEventRefP14HandlerCallRec + 1206

          18  HIToolbox                           0x00007fff92a411e9 _ZL30SendEventToEventTargetInternalP14OpaqueEventRefP20OpaqueEventTargetRefP14H andlerCallRec + 410

          19  HIToolbox                           0x00007fff92a56fc9 SendEventToEventTarget + 40

          20  HIToolbox                           0x00007fff92a8dca9 _ZL18SendHICommandEventjPK9HICommandjjhPKvP20OpaqueEventTargetRefS5_PP14OpaqueE ventRef + 443

          21  HIToolbox                           0x00007fff92a32a21 SendMenuCommandWithContextAndModifiers + 59

          22  HIToolbox                           0x00007fff92a329d3 SendMenuItemSelectedEvent + 254

          23  HIToolbox                           0x00007fff92a3285f _ZL19FinishMenuSelectionP13SelectionDataP10MenuResultS2_ + 94

          24  HIToolbox                           0x00007fff92ba8e79 _ZL19PopUpMenuSelectCoreP8MenuData5PointdS1_tjPK4RecttjS4_S4_PK10__CFStringPP13 OpaqueMenuRefPt + 1673

          25  HIToolbox                           0x00007fff92ba8794 _HandlePopUpMenuSelection7 + 629

          26  AppKit                              0x00007fff969a456b _NSSLMPopUpCarbonMenu3 + 3916

          27  AppKit                              0x00007fff96d05cba _NSPopUpCarbonMenu3 + 39

          28  AppKit                              0x00007fff969a352c -[NSCarbonMenuImpl popUpMenu:atLocation:width:forView:withSelectedItem:withFont:withFlags:withOpti ons:] + 346

          29  ProKit                              0x000000010ce39553 -[NSProCarbonMenuImpl popUpMenu:atLocation:width:forView:withSelectedItem:withFont:withFlags:withOpti ons:] + 354

          30  ProKit                              0x000000010cdf14f4 -[NSProPopUpButtonCell trackMouse:inRect:ofView:untilMouseUp:] + 626

          31  AppKit                              0x00007fff967efb9c -[NSControl mouseDown:] + 820

          32  AppKit                              0x00007fff967e750e -[NSWindow sendEvent:] + 6853

          33  ProKit                              0x000000010cdc6afd -[NSProWindow sendEvent:] + 244

          34  ProKit                              0x000000010ce88d9c -[NSProCommandWindow sendEvent:] + 170

          35  AppKit                              0x00007fff967e3644 -[NSApplication sendEvent:] + 5761

          36  ProKit                              0x000000010cda3ea9 -[NSProApplication sendEvent:] + 1835

          37  Aperture                            0x000000010bc78015 Aperture + 4689941

          38  AppKit                              0x00007fff9694c6ba -[NSApplication _realDoModalLoop:peek:] + 582

          39  AppKit                              0x00007fff9694c91e -[NSApplication runModalForWindow:] + 120

          40  ProKit                              0x000000010ce891a8 -[NSProCommandsUIController showWindow:] + 225

          41  AppKit                              0x00007fff967f2959 -[NSApplication sendAction:to:from:] + 342

          42  ProKit                              0x000000010cda14ad -[NSProApplication sendAction:to:from:] + 101

          43  Aperture                            0x000000010bc78377 Aperture + 4690807

          44  AppKit                              0x00007fff9692836c -[NSMenuItem _corePerformAction] + 406

          45  AppKit                              0x00007fff9692805a -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:] + 133

          46  AppKit                              0x00007fff9661520f -[NSMenu _internalPerformActionForItemAtIndex:] + 36

          47  AppKit                              0x00007fff96615097 -[NSCarbonMenuImpl _carbonCommandProcessEvent:handlerCallRef:] + 135

          48  AppKit                              0x00007fff96921165 NSSLMMenuEventHandler + 342

          49  HIToolbox                           0x00007fff92a41d1a _ZL23DispatchEventToHandlersP14EventTargetRecP14OpaqueEventRefP14HandlerCallRec + 1206

          50  HIToolbox                           0x00007fff92a411e9 _ZL30SendEventToEventTargetInternalP14OpaqueEventRefP20OpaqueEventTargetRefP14H andlerCallRec + 410

          51  HIToolbox                           0x00007fff92a56fc9 SendEventToEventTarget + 40

          52  HIToolbox                           0x00007fff92a8dca9 _ZL18SendHICommandEventjPK9HICommandjjhPKvP20OpaqueEventTargetRefS5_PP14OpaqueE ventRef + 443

          53  HIToolbox                           0x00007fff92a32a21 SendMenuCommandWithContextAndModifiers + 59

          54  HIToolbox                           0x00007fff92a329d3 SendMenuItemSelectedEvent + 254

          55  HIToolbox                           0x00007fff92a3285f _ZL19FinishMenuSelectionP13SelectionDataP10MenuResultS2_ + 94

          56  HIToolbox                           0x00007fff92a0e8bb _ZL14MenuSelectCoreP8MenuData5PointdjPP13OpaqueMenuRefPt + 605

          57  HIToolbox                           0x00007fff92a0dec8 _HandleMenuSelection2 + 565

          58  AppKit                              0x00007fff967e08c6 _NSHandleCarbonMenuEvent + 245

          59  AppKit                              0x00007fff96702a9f _DPSNextEvent + 2073

          60  AppKit                              0x00007fff96701df2 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 128

          61  Aperture                            0x000000010bc772b9 Aperture + 4686521

          62  AppKit                              0x00007fff966f91a3 -[NSApplication run] + 517

          63  ProKit                              0x000000010cda46c5 NSProApplicationMain + 378

          64  Aperture                            0x000000010b80f4ee Aperture + 66798

          65  Aperture                            0x000000010b80ee14 Aperture + 65044

)


iMac (27-inch, Late 2012), OS X Mountain Lion (10.8.4)
  • 1. Re: Modal session requires modal window (Uncaught Exception)
    koagul8or Level 1 Level 1 (0 points)

    p.s.  I tried creating a new user and opening Aperture but that did not help so it's not a user settings issue.

     

    I also tried re-installing Aperture however I ran into all sorts of problem whilst doing so...

     

    • I uninstalled by moving to the Trash and letting AppCleaner delete the files it found (but I guess it didn't find them all).
    • When I tried to install Aperture 2, it wouldn't let me select the core Aperture files during installation, just the Sample Library.  The installer did not ask for a serial number.
    • After running that, the installer said the installation was complete but there was no Aperture app to run.  Double-clicking my library opened iPhoto.
    • I ran the Aperture 3 upgrade installer (again I was not asked for a serial number) and I had an app I could run.
    • I installed the latest updates but found myself in exactly the same state I started with.

     

    If anyone knows of a good way to completely uninstall Aperture AND thinks that the error is related to Aperture rather than OSX, I'd be happy to give that another go.

     

    Thanks,

     

    J

  • 2. Re: Modal session requires modal window (Uncaught Exception)
    Frank Caggiano Level 7 Level 7 (23,830 points)

    As it does not appear to be a user issue as this happens with a new user then simply dragging Aperture to the trash is sufficient to uninstall.

     

    When you re-install there is no need to first install version 2. While the version 3 you have says it is an upgrade the upgrade only applies to the serial number requirements, the software on the DVD is a full version of Aperture 3 and doesn't reference any of the version 2 software. In other words you could take your Aperture 3 upgrade DVD to a system that never had Aperture installed and install from that DVD.

     

    You can try this again but I feel the best thing to do is to re-install the OS at this point.  Doing a re-install of the OS is not as bad as it seems. As long as you do not erase or format your disk none of your user files will be touched only the system files will be overwritten.

  • 3. Re: Modal session requires modal window (Uncaught Exception)
    koagul8or Level 1 Level 1 (0 points)

    Thanks Frank.  Regarding the OS-reinstall, it's the thought of re-installing and re-configuring all my apps that puts me off the OS-reinstall rather than the OS itself.

     

    I wasn't aware I could install from the Aperture 3 upgrade disc so that will defintiely save me time next time.

     

    J

  • 4. Re: Modal session requires modal window (Uncaught Exception)
    léonie Level 9 Level 9 (51,720 points)

    Regarding the OS-reinstall, it's the thought of re-installing and re-configuring all my apps that puts me off the OS-reinstall rather than the OS itself.

    But as Frank Caggiano explained, your applications and settings will not be affected by a reinstall of your system, as long as you install on top of your current system, so I do not see any need of reconfiguring anything.

  • 5. Re: Modal session requires modal window (Uncaught Exception)
    koagul8or Level 1 Level 1 (0 points)

    Ah okay.  An assumption from my Windows years.  With Windows re-installing the OS would keep your data but not your apps or their data.

     

    Actually...can I double check with you?  Some of the music apps I have install some fairly low-level stuff including items in the /System folder.

     

    Is it the case that re-installing the OS will just overwrite existing OS files and that it won't delete any system or OS folders first?  That would be perfect! 

     

    Thanks.

     

    J

  • 6. Re: Modal session requires modal window (Uncaught Exception)
    léonie Level 9 Level 9 (51,720 points)

    In the /System folder - that will depend.

     

    If your music apps installed directly in /System/Library and not in /Library as they should, a reinstall might restore and overwrite dynamic libraries, etc, if your music app install replaced system components.

     

    What exactly is installed by your music apps, and where?

     

    Plug-ins, Midi Devices, Midi Drivers in /Library/Audio should be safe when reinstalling the system.

     

    But better triple-check with Frank Caggiano too He is the system expert around here.

     

     

    Added:  If you are running applications, that are directly installing in /System, I'd recommend to check regularly, if they are still compatible with the current system version you are running. This kind of installation may be causing all kind of trouble, if you are not monitoring the compatibility closely.

  • 7. Re: Modal session requires modal window (Uncaught Exception)
    koagul8or Level 1 Level 1 (0 points)

    After checking, I think I was wrong when I wrote that the music apps had installed files in the /System folder.  I'll report back when I get around to re-installing (but that's not likely to be soon since I managed work-around the original issue).

     

    Thanks again guys,

     

    J