mattt / terminal-share

Command Line & Ruby Interface to Mac OS X Sharing Services
MIT License
228 stars 14 forks source link

warning: illegal subclass SHKRemoteView instantiating; client should use only NSRemoteView #6

Closed uroboro closed 3 years ago

uroboro commented 7 years ago

On macOS Sierra (10.12.5), on executing

terminal-share -service airdrop file.txt

I'm getting the following message:

2017-07-15 20:05:26.279 _terminal-share[1861:221127] warning: illegal subclass SHKRemoteView instantiating; client should use only
NSRemoteView (
        0   ViewBridge                          0x00007fffe4b79434 -[NSRemoteView _preSuperInit] + 195
        1   ViewBridge                          0x00007fffe4b79793 -[NSRemoteView initWithFrame:] + 25
        2   ShareKit                            0x00007fffe2c45a61 -[SHKRemoteView initWithOptionsDictionary:] + 159
        3   ShareKit                            0x00007fffe2c1fc2d __38-[SHKSharingService performWithItems:]_block_invoke_4 + 1384
        4   libdispatch.dylib                   0x00007fffe69e6524 _dispatch_call_block_and_release + 12
        5   libdispatch.dylib                   0x00007fffe69dd8fc _dispatch_client_callout + 8
        6   libdispatch.dylib                   0x00007fffe69eaaac _dispatch_main_queue_callback_4CF + 925
        7   CoreFoundation                      0x00007fffd12d8bc9 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9

        8   CoreFoundation                      0x00007fffd1299c0d __CFRunLoopRun + 2205
        9   CoreFoundation                      0x00007fffd1299114 CFRunLoopRunSpecific + 420
        10  HIToolbox                           0x00007fffd07faebc RunCurrentEventLoopInMode + 240
        11  HIToolbox                           0x00007fffd07facf1 ReceiveNextEventCommon + 432
        12  HIToolbox                           0x00007fffd07fab26 _BlockUntilNextEventMatchingListInModeWithFilter + 71
        13  AppKit                              0x00007fffced93a54 _DPSNextEvent + 1120
        14  AppKit                              0x00007fffcf50f7ee -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:i
nMode:dequeue:] + 2796
        15  AppKit                              0x00007fffced883db -[NSApplication run] + 926
        16  _terminal-share                     0x000000010533db57 _terminal-share + 6999
        17  libdyld.dylib                       0x00007fffe6a13235 start + 1
        18  ???                                 0x0000000000000004 0x0 + 4
)
2017-07-15 20:05:26.285 _terminal-share[1861:221127] warning: <SHKRemoteView: 0x7fd720f12b90> determined it was necessary to config
ure <SHKRemoteViewContainerWindow: 0x7fd720c359d0> to support remote view vibrancy
steveo1951 commented 6 years ago

Do you have a resolution to this? I am also experiencing this, although my app does work as expected.

ihatem commented 5 years ago

I'm also getting errors when I execute: terminal-share -service airdrop -video /path/to/video

the error message : 2018-09-25 22:30:19.508 _terminal-share[29051:1440315] error with remoteObjectProxyWithErrorHandler: Error Domain=NSCocoaErrorDomain Code=4097 "connection from pid 29053" UserInfo={NSDebugDescription=connection from pid 29053}

pradorocchi commented 5 years ago

I'm also getting errors when I execute: terminal-share -service airdrop -video /path/to/video

the error message : 2018-09-25 22:30:19.508 _terminal-share[29051:1440315] error with remoteObjectProxyWithErrorHandler: Error Domain=NSCocoaErrorDomain Code=4097 "connection from pid 29053" UserInfo={NSDebugDescription=connection from pid 29053}

Probably wrong path or wrong filename.