commandlinetool

Sill issues with Better CommandLineTool 'DeeToXed'

mc's picture

Sorry for reissuing that old CommandLineTool problem.

Though the 'deeToX-ified' version pointed to again recently

(see: CommandLineTool strange 'zoom artefact')

works way better than the original one from Apple, there are still problems if cascading them, that is, using 'Standard In' for 'piping'.

The simple patch below checks the number of certain processes running every second.

It works a while but then the screen turns transparent, or shows similar 'artefacts' as described in the last thread.

QC-Editor only says:

22.06.12 15:11:49,208 Quartz Composer: *** EXCEPTION IGNORED: *** -[NSConcreteTask terminationStatus]: task still running

Could this be due to a memory leek?

Thank you all for looking at this once more!

Command Line Tool crashing

Hi,

I have a .qtz that loads the last line of the latest .log file, to show the currently played song from a player.

Here is the source attached, with 2 .log files as an example (read the instructions inside the .zip)

Does anybody know why this LastTrack composition crashes after a short time running?

I have tried unplugging the LFO/Pulse and Enable/Disable by hand continuosly both Command Line Tool patches.

When doing it in "Get lastest .log file" patch, it outputted this error:

An exception was raised:

*** -[NSConcreteTask terminationStatus]: task still running

0x85b9bc55: -[QCContext nextExecutionTimeForPatch:time:arguments:] 0x85b9b9fe: -[QCGraphicsContext nextExecutionTimeForPatch:time:arguments:] 0x85b9b7e1: -[QCOpenGLContext nextExecutionTimeForPatch:time:arguments:] 0x0000d5f2 0x85be372d: -[QCView render:arguments:] 0x84ad6c49: -[NSView _drawRect:clip:] 0x84ad58bc: -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] 0x84ad5c26: -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] 0x84ad3f8e: -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] 0x84ad4e5a: -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] 0x84ad4e5a: -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] 0x84ad3ab0: -[NSThemeFrame _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] 0x84ad0362: -[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] 0x84a49b9a: -[NSView displayIfNeeded] 0x84a44a46: _handleWindowNeedsDisplay 0x85471b37: __CFRunLoopDoObservers 0x8544d464: __CFRunLoopRun 0x8544cdbf: CFRunLoopRunSpecific 0x8470591a: RunCurrentEventLoopInMode 0x8470567d: ReceiveNextEventCommon 0x847055d8: BlockUntilNextEventMatchingListInMode 0x84a19e64: _DPSNextEvent 0x84a197a9: -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] 0x849df48b: -[NSApplication run]

When doing it in "Get the last line of the .log file" patch, it outputted this error (i think is the same):

An exception was raised:

*** -[NSConcreteTask terminationStatus]: task still running

0x85b9bc55: -[QCContext nextExecutionTimeForPatch:time:arguments:] 0x85b9b9fe: -[QCGraphicsContext nextExecutionTimeForPatch:time:arguments:] 0x85b9b7e1: -[QCOpenGLContext nextExecutionTimeForPatch:time:arguments:] 0x0000d5f2 0x85be372d: -[QCView render:arguments:] 0x84ad6c49: -[NSView _drawRect:clip:] 0x84ad58bc: -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] 0x84ad5c26: -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] 0x84ad3f8e: -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] 0x84ad4e5a: -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] 0x84ad4e5a: -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] 0x84ad3ab0: -[NSThemeFrame _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] 0x84ad0362: -[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] 0x84a49b9a: -[NSView displayIfNeeded] 0x84a44a46: _handleWindowNeedsDisplay 0x85471b37: __CFRunLoopDoObservers 0x8544d464: __CFRunLoopRun 0x8544cdbf: CFRunLoopRunSpecific 0x8470591a: RunCurrentEventLoopInMode 0x8470567d: ReceiveNextEventCommon 0x847055d8: BlockUntilNextEventMatchingListInMode 0x84a19e64: _DPSNextEvent 0x84a197a9: -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] 0x849df48b: -[NSApplication run]

Thank you in advance for your help.

Better Command Line Tool

deetox10's picture

Hello anybody.

This is my first post. Please, be nice with my very poor english : I am french (I will try to be readable ;))

So, for this first post, I wanted to share a little "Command Line Tool" improvement with you.

As you may know, this plugin make the composition change the height :s. I found the solution !

Second, I added an "Enable" option to allow you control and restart the command when you want.

It can be a little buggy because it is my first QC plugin improvement and because it has be done in a few minutes (I really needed it fast !).

So.... Enjoy.

DeeToX.

P.S : the zip is sources.

Better way than CommandLineTool?

Ksul's picture

Hi all, First time here. I'm a neophyte to QC so please bear with me. I'm trying to embed some blank QC compositions on Keynote slides.

I'm looking to do one thing on these compositions, run a Perl script from the command line using Apple's CommandLinetool. While it works great inside QC, when I go to import (drag-drop) the QTZ onto a slide in Keynote I get a frame with "Hello World!" text on it! I have no idea what's going on. When I export to a Quicktime movie, I get the same issue. The Quicktime Movie does the same thing if I run it using Quicktime Player also.

As to give more background, I have a single line that executes a shell command script called cmdwrite.pl. This script passes on arguments that get transmitted to my LanBox device sitting on 192.168.1.77 port 777.

Has anyone seen this issue with the CommandLineTool? (BTW, I saw a post on another forum about running QC w/32-bit switch "on" - no change).

Is there another way for me to transmit a data out to another device via the ethernet port?

Any help would be greatly appreciated!