Network Tools on Leopard (issues!)

usefuldesign.au's picture

This looks like a really interesting plug-in (skanky and al!) congratulations!

Kind of solves the lack of a serious NIB equivalent inside QC itself for non-Cocoa users as an edge-effect too.

I was writing a Simon game in QC a few months back and got bogged down in making different instances talk to each other and lost interest. This would be one way to do it for sure.

Unfortunately I'm getting all kinds of issues on Leopard with the demo composition:

1 Comp opens with exceptions:

2 Changing the TCP Port away from 8080 and back again resulted in a blank comp which I could not stop from running with the stop button.

3 Using the html interface to send commands to the .qtz comp resulted in a hard crash with notice saying Network Plugin may be at fault.

Exceptions on opening demo comp:

> (null)
<WARNING> Core Image filter "CIColorCube" input "inputCubeData" is of an unsupported class "NSData"
 
> (null)
<QCNodeManager | namespace = "com.apple.QuartzComposer" | 552 nodes>: There is already a node registered with name "ImageDownloaderBlockingPatch"
 
> (null)
QCPlugIn: Cannot preflight plug-in at path "/Users/alastairleith/Library/Graphics/Quartz Composer Plug-Ins/v002 Model Importer.plugin" (Error Domain=NSCocoaErrorDomain Code=3585 UserInfo=0x6a7c0d0 "The bundle “v002 Model Importer” could not be loaded because it does not contain a version for the current architecture." (dlopen_preflight(/Users/alastairleith/Library/Graphics/Quartz Composer Plug-Ins/v002 Model Importer.plugin/Contents/MacOS/v002 Model Importer): no suitable image found.  Did find:
   /Users/alastairleith/Library/Graphics/Quartz Composer Plug-Ins/v002 Model Importer.plugin/Contents/MacOS/v002 Model Importer: no matching architecture in universal wrapper))
 
> (null)
QCPlugIn: Cannot preflight plug-in at path "/Users/alastairleith/Library/Graphics/Quartz Composer Plug-Ins/v002 MoviePlayer.plugin" (Error Domain=NSCocoaErrorDomain Code=3587 UserInfo=0x8047a50 "The bundle “v002 MoviePlayer” could not be loaded because it is damaged or missing necessary resources." (dlopen_preflight(/Users/alastairleith/Library/Graphics/Quartz Composer Plug-Ins/v002 MoviePlayer.plugin/Contents/MacOS/v002 MoviePlayer): Library not loaded: /System/Library/Frameworks/IOSurface.framework/Versions/A/IOSurface
  Referenced from: /Users/alastairleith/Library/Graphics/Quartz Composer Plug-Ins/v002 MoviePlayer.plugin/Contents/MacOS/v002 MoviePlayer
  Reason: image not found))
 
> (null)
<QCNodeManager | namespace = "com.apple.QuartzComposer" | 733 nodes>: Patch with name "/instructions" is missing
 
> Instructions
Cannot create node of class "/instructions" and identifier "(null)"
 
> Instructions
Cannot create connection from ["outputResult" @ "Expression_1"] to ["_enable" @ "Patch_7"]
 
> Macro Patch
State restoration failed on node "Patch_7" <QCPatch = 0x080AB270 "(null)">
 
> (null)
State restoration failed on <QCPatch = 0x00520540 "(null)">
> (null)
<WARNING> Core Image filter "CIColorCube" input "inputCubeData" is of an unsupported class "NSData"
 
> (null)
<QCNodeManager | namespace = "com.apple.QuartzComposer" | 552 nodes>: There is already a node registered with name "ImageDownloaderBlockingPatch"
 
> (null)
QCPlugIn: Cannot preflight plug-in at path "/Users/alastairleith/Library/Graphics/Quartz Composer Plug-Ins/v002 Model Importer.plugin" (Error Domain=NSCocoaErrorDomain Code=3585 UserInfo=0x563160 "The bundle “v002 Model Importer” could not be loaded because it does not contain a version for the current architecture." (dlopen_preflight(/Users/alastairleith/Library/Graphics/Quartz Composer Plug-Ins/v002 Model Importer.plugin/Contents/MacOS/v002 Model Importer): no suitable image found.  Did find:
   /Users/alastairleith/Library/Graphics/Quartz Composer Plug-Ins/v002 Model Importer.plugin/Contents/MacOS/v002 Model Importer: no matching architecture in universal wrapper))
 
> (null)
QCPlugIn: Cannot preflight plug-in at path "/Users/alastairleith/Library/Graphics/Quartz Composer Plug-Ins/v002 MoviePlayer.plugin" (Error Domain=NSCocoaErrorDomain Code=3587 UserInfo=0x80391f0 "The bundle “v002 MoviePlayer” could not be loaded because it is damaged or missing necessary resources." (dlopen_preflight(/Users/alastairleith/Library/Graphics/Quartz Composer Plug-Ins/v002 MoviePlayer.plugin/Contents/MacOS/v002 MoviePlayer): Library not loaded: /System/Library/Frameworks/IOSurface.framework/Versions/A/IOSurface
  Referenced from: /Users/alastairleith/Library/Graphics/Quartz Composer Plug-Ins/v002 MoviePlayer.plugin/Contents/MacOS/v002 MoviePlayer
  Reason: image not found))
 
> (null)
<QCNodeManager | namespace = "com.apple.QuartzComposer" | 733 nodes>: Patch with name "/instructions" is missing
 
> Instructions
Cannot create node of class "/instructions" and identifier "(null)"
 
> Instructions
Cannot create connection from ["outputResult" @ "Expression_1"] to ["_enable" @ "Patch_7"]
 
> Macro Patch
State restoration failed on node "Patch_7" <QCPatch = 0x08668840 "(null)">
 
> (null)
State restoration failed on <QCPatch = 0x06F137B0 "(null)">

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

usefuldesign.au's picture
Re: Network Tools on Leopard (issues!)

Kineme: When saying Plugins are 10.5 compatible, don't forget the demo comp can't use Instruction patch without forsaking the 10.5 users :-)

Does the Kineme HTTP Serve patch actually create a server on http://localhost:8080/? If I put that address into Safari it seems to crash QC if the NetworkTools-HTTPServer.qtz file is running.

cwright's picture
Re: Network Tools on Leopard (issues!)

you should have culled the list some.

There are complaints about /instructions. That's a virtual macro, which 10.5 doesn't support. That's perhaps a legit problem.

There are complaints about v002 model importer. That's not a 10.5 supported plugin, so there's no point having it installed. (and it's not at all helpful -- kineme didn't write it)

Looks like "ImageDownloaderBlockingPatch" is installed twice. That's going to be problematic in various ways.

You should clean up your installation. I'd also not expect PPC to get much attention (or even 10.5; it's almost 4 years old)

smokris's picture
Re: Network Tools on Leopard (issues!)

Attached is a revised version of the HTTPServer sample composition, replacing that pesky Instructions patch with something 10.5-friendly.

Yes, the HTTPServer patch creates a server that (with the default settings) should be accessible at http://localhost:8080/ . As for the crash.. we'll try to recreate this and will get back to you (most of our testing was on 10.6).

PreviewAttachmentSize
NetworkTools-HTTPServer.qtz25.82 KB

usefuldesign.au's picture
Re: Network Tools on Leopard (issues!)

@ smokris thanks still trying to get something/anything out of it. Been having my own Apache woes of late: pretty cool you packaged a server into a QC patch. Is it a very tiny server functionally limited to generating the QC output ports that Kineme wrote, or a port of an Open Source server project to do QC service?

@ cwright Yes I was sloppy there.

Been meaning to remove v002 plugin… didn't notice ImageDownloaderBlockingPatch is there twice, thanks.

"I'd also not expect PPC to get much attention (or even 10.5; it's almost 4 years old)"

I agree, nobody should use PPC Macs! At least I'm helping the environment (except for the excess power consumption of older tech).

gtoledo3's picture
Re: Network Tools on Leopard (issues!)

At this point, I'm surprised if something does work in Leopard...

... kinda a bummer, because it was the best version of QC in my very arguable opinion (as in, my opinion is pretty easy to argue against, and I def recognize that). Older private patches still worked, and there wasn't a dearth of new patches that half sorta work. Poor 'ol Replicate in Time. No love at ALL.

This looks like a cool one!

gtoledo3's picture
Re: Network Tools on Leopard (issues!)

On my end, it worked in Safari without doing anything, but didn't work in Opera (what I first tested it in). I haven't tested with any other browser.

jstrecker's picture
Re: Network Tools on Leopard (issues!)

@usefuldesign.au -- It should be fixed in NetworkTools 1.1. Sorry about that.

usefuldesign.au's picture
Re: Network Tools on Leopard (issues!)

@jstrecker Thanks for working on Leopard, very charitable!

Good news no load errors for composition. Bad news, no messages getting to the comp. Tested in Safari (5.0.5), Firefox (3.6.13) and Opera (10.10.blah) all in 10.5.8.

Not sure how I can narrow done the scope of the problem. Noticed the uri in browser is not changing to append the post data but can't remember which method does that and which mails it 'hidden'.

Such a cool concept for QC would love to play around with it!

jstrecker's picture
Re: Network Tools on Leopard (issues!)

You updated both the plugin and the demo composition to version 1.1, right?

It did work for me on a 10.5 machine (using Safari) but there could be something different about your setup. Any console errors while running the composition? Could you send your system profile to info@kineme.net?

It's OK that the URL is not changing-- it's a POST request.

usefuldesign.au's picture
Re: Network Tools on Leopard (issues!)

Okay it's good now, put it down to user error ;-)

I'm trying to think of a good project for it. Certainly it presents many possibilities for someone (yours truly) who is struggling to set-up server side processing with LAMP.

Thanks again, Jaymie I'm really impressed with how magic NetworkTools is. An easy way to make a composition front end without turning to Xcode is now with us. Congratualtions. Even old leopard machines can be recycled to do some QC work which is an environmental plus. I ?think ;-)

jstrecker's picture
Re: Network Tools on Leopard (issues!)

Glad to hear it's working. Looking forward to seeing the compositions you make with it.