Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

-[NSCFString isGroup]: unrecognized selector #89

Open
mikeabdullah opened this issue Jan 22, 2013 · 0 comments
Open

-[NSCFString isGroup]: unrecognized selector #89

mikeabdullah opened this issue Jan 22, 2013 · 0 comments

Comments

@mikeabdullah
Copy link
Collaborator

We're receiving a few error reports like the following:

1 libobjc.A.dylib 0x96a235a9 objc_exception_throw + 56
2 CoreFoundation 0x90167a21 -[NSException raise] + 17
3 ExceptionHandling 0x938a74c5 -[NSExceptionHandler _handleException:mask:] + 1877
4 ExceptionHandling 0x938a6d52 NSExceptionHandlerExceptionRaiser + 228
5 libobjc.A.dylib 0x96a235a9 objc_exception_throw + 56
6 CoreFoundation 0x9016990b -[NSObject(NSObject) doesNotRecognizeSelector:] + 187
7 CoreFoundation 0x900c2c06 ___forwarding___ + 950
8 CoreFoundation 0x900c27d2 _CF_forwarding_prep_0 + 50
9 iMedia 0x004a7f38 -[IMBNodeViewController selectNode:] + 47
10 iMedia 0x004b62da -[IMBObjectViewController openSubNode:] + 87
11 AppKit 0x95c08a26 -[NSApplication sendAction:to:from:] + 112
12 Sandvox 0x00063640 -[KSApplication sendAction:to:from:] + 192
13 AppKit 0x95c088d9 -[NSMenuItem _corePerformAction] + 435
14 AppKit 0x95c085ca -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:] + 174
15 AppKit 0x95c084b6 -[NSMenu performActionForItemAtIndex:] + 65
16 AppKit 0x95c08469 -[NSMenu _internalPerformActionForItemAtIndex:] + 50
17 AppKit 0x95c083cf -[NSMenuItem _internalPerformActionThroughMenuIfPossible] + 97
18 AppKit 0x95c08313 -[NSCarbonMenuImpl _carbonCommandProcessEvent:handlerCallRef:] + 336
19 AppKit 0x95bfca55 NSSLMMenuEventHandler + 404
20 HIToolbox 0x918c2c2f _ZL23DispatchEventToHandlersP14EventTargetRecP14OpaqueEventRefP14HandlerCallRec + 1567
21 HIToolbox 0x918c1ef6 _ZL30SendEventToEventTargetInternalP14OpaqueEventRefP20OpaqueEventTargetRefP14HandlerCallRec + 411
22 HIToolbox 0x918e47f3 SendEventToEventTarget + 52
23 HIToolbox 0x91910e87 _ZL18SendHICommandEventmPK9HICommandmmhPKvP20OpaqueEventTargetRefS5_PP14OpaqueEventRef + 448
24 HIToolbox 0x91935b90 SendMenuCommandWithContextAndModifiers + 66
25 HIToolbox 0x91935b47 SendMenuItemSelectedEvent + 121
26 HIToolbox 0x91935a5d _ZL19FinishMenuSelectionP13SelectionDataP10MenuResultS2_ + 152
27 HIToolbox 0x91ab7364 _ZL19PopUpMenuSelectCoreP8MenuData5PointdS1_tjPK4RecttmS4_S4_PK10__CFStringPP13OpaqueMenuRefPt + 1857
28 HIToolbox 0x91ab76bb _HandlePopUpMenuSelection7 + 678
29 AppKit 0x95e946e6 _NSSLMPopUpCarbonMenu3 + 3937
30 AppKit 0x95e94a76 -[NSCarbonMenuImpl _popUpContextMenu:withEvent:forView:withFont:] + 220
31 AppKit 0x9600d945 -[NSMenu _popUpContextMenu:withEvent:forView:withFont:] + 270
32 AppKit 0x9600d9e4 -[NSMenu _popUpContextMenu:withEvent:forView:] + 63
33 iMedia 0x004b7937 -[IMBObjectViewController imageBrowser:cellWasRightClickedAtIndex:withEvent:] + 127
34 ImageKit 0x9a4209fb -[IKImageBrowserView(ImageBrowserEvents) rightMouseDown:] + 376

Here's the bit I can't fathom:

As I understand it, the user right-clicked an object in the image browser and asked to Open it. For the Open menu to appear, the object has to be a folder. In all my tests, when doing that, this snippet of code from -openSubNode::

[inSender representedObject]

Always returns nil, so the feature doesn't work. Why is this feature broken? How does anybody ever get it to return anything other than nil?

danielpunkass pushed a commit to danielpunkass/iMedia that referenced this issue May 19, 2017
…sandboxed

Had to revert commits 9895e44 and a948b05 because database version cannot be retrieved if the user hasn’t granted access rights to the library’s location yet. And if database version is nil Lightroom library top level node won’t even show up in the tree thus preventing the user to grant access to that library in the first place – you get the point.
danielpunkass added a commit to danielpunkass/iMedia that referenced this issue May 19, 2017
* commit '550bbea1fdbe9ee7eb9b7efd84c39cbbd43c6a3f':
  Fix issue karelia#92, Loading of "Albums" node of Photos media library takes very long on large libraries
  Give user guidance on what to do when Lightroom catalog version and Lightroom version are out of step
  Always defer check for database version until root node population is imminent
  Eliminate warning about unimplemented method
  Defer Lightroom database version check
  Mitigate karelia#90, Accessing the root node of a Photos library for the first time within an app session takes very long for large libraries
  Fix karelia#89, Lightroom library not always accessible when running sandboxed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant