2013年6月23日

Syphon for QCのパッチがスクリーンセーバとして動かない(OS X 10.6)

2013.6.23 追記: こちらで議論されてる問題と類似のようで、bangnoise氏が添付しているSyphon.pluginを使うとエラー解消しました。
http://v002.info/forums/topic/syphon-qc-xcode/

MacOSX10.6.8でSyphon for QCのクラインアントパッチをスクリーンセーバとして起動すると何も表示されない件。

どうやらスクリーンセーバエンジンでエラーになっている模様。
プラグインが10.6.8と相性が悪いみたい。試しに同じことを10.8.2で試したところ問題なく動いたので。

$ /System/Library/Frameworks/ScreenSaver.framework/Versions/A/Resources/ScreenSaverEngine.app/Contents/MacOS/ScreenSaverEngine  -background 

2013-06-23 04:17:42.921 ScreenSaverEngine[43988:903] *** QCPlugIn: Cannot preflight plug-in at path "/System/Library/Graphics/Quartz Composer Plug-Ins/Syphon.plugin" (Error Domain=NSCocoaErrorDomain Code=3587 UserInfo=0x2000f66e0 "The bundle “Syphon” couldn’t be loaded because it is damaged or missing necessary resources." (dlopen_preflight(/System/Library/Graphics/Quartz Composer Plug-Ins/Syphon.plugin/Contents/MacOS/Syphon): Library not loaded: @loader_path/../Frameworks/Syphon.framework/Versions/A/Syphon

  Referenced from: /System/Library/Graphics/Quartz Composer Plug-Ins/Syphon.plugin/Contents/MacOS/Syphon

  Reason: no suitable image found.  Did find:

    /System/Library/Graphics/Quartz Composer Plug-Ins/Syphon.plugin/Contents/MacOS/../Frameworks/Syphon.framework/Versions/A/Syphon: GC capability mismatch

    /System/Library/Graphics/Quartz Composer Plug-Ins/Syphon.plugin/Contents/MacOS/../Frameworks/Syphon.framework/Versions/A/Syphon: GC capability mismatch))

2013-06-23 04:17:42.927 ScreenSaverEngine[43988:903] *** : Patch with name "QCPlugInPatch:SyphonClientQCPlugIn" is missing
2013-06-23 04:17:42.928 ScreenSaverEngine[43988:903] *** Message from :
Cannot create node of class "QCPlugInPatch" and identifier "SyphonClientQCPlugIn"
2013-06-23 04:17:42.931 ScreenSaverEngine[43988:903] *** : Patch with name "QCPlugInPatch:SyphonServerListQCPlugIn" is missing
2013-06-23 04:17:42.931 ScreenSaverEngine[43988:903] *** Message from :
Cannot create node of class "QCPlugInPatch" and identifier "SyphonServerListQCPlugIn"
2013-06-23 04:17:42.932 ScreenSaverEngine[43988:903] *** Message from :
Cannot create connection from ["outputImage" @ "PlugInPatch_SyphonClientQCPlugIn_1"] to ["inputImage" @ "Billboard_1"]
2013-06-23 04:17:42.933 ScreenSaverEngine[43988:903] *** Message from :
Cannot create connection from ["outputServers" @ "PlugInPatch_SyphonServerListQCPlugIn_1"] to ["inputStructure" @ "StructureMember_index_1"]
2013-06-23 04:17:42.934 ScreenSaverEngine[43988:903] *** Message from :
Cannot create connection from ["outputMember" @ "StructureMember_key_1"] to ["inputServerName" @ "PlugInPatch_SyphonClientQCPlugIn_1"]
2013-06-23 04:17:42.934 ScreenSaverEngine[43988:903] *** Message from :
Cannot create connection from ["outputMember" @ "StructureMember_key_2"] to ["inputServerApp" @ "PlugInPatch_SyphonClientQCPlugIn_1"]
2013-06-23 04:17:42.935 ScreenSaverEngine[43988:903] *** State restoration failed on 



ちなみに10.8の場合、作成したスクリーンセーバは、/Library ではなく、ユーザホーム下のLibrary下に置いてやらないと、システム環境設定で認識されない、というちょっとした罠があるので注意。