File Tools for Snow Leopard?

gutsblow's picture

Hello,

I just want to know if there are any plans in the near future to fix File tools for Snow leopard?

itsthejayj's picture
Re: File Tools for Snow Leopard?

Can i second that, the quicklook plug-in was my favorite and most used patch :)

cwright's picture
Re: File Tools for Snow Leopard?

do they not work? that said, we've got a pretty long backlog of changes that we've made but haven't released yet, so perhaps that's the problem? (32bit only for the latest release)?

itsthejayj's picture
Re: File Tools for Snow Leopard?

no luck with the quicklook patch in 32bit or 64, haven't tried the rest of the file tools.

consol spits out the below message if that helps

Anyway the plug in, consol splits out

19/08/2009 22:18:23 Quartz Composer[818] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: '-[QCProvider_CoreGraphics initWithCGSource:options:]: Inconsistent state'
*** Call stack at first throw:
(
 0   CoreFoundation                      0x900d558a __raiseError + 410
 1   libobjc.A.dylib                     0x950b6f49 objc_exception_throw + 56
 2   CoreFoundation                      0x9011faf1 -[NSException raise] + 17
 3   QuartzComposer                      0x9408880a GFException + 198
 4   QuartzComposer                      0x9408acc3 GFThrowException + 194
 5   QuartzComposer                      0x93fdf858 -[QCProvider_CoreGraphics initWithCGSource:options:] + 4091
 6   QuartzComposer                      0x940c80c9 -[QCImage(QCProvider_CoreGraphics) _initWithNSImageSource:options:] + 63
 7   FileTools                           0x14dd4ae2 0x0 + 350046946
)

gutsblow's picture
Re: File Tools for Snow Leopard?

I have tried File Tools but it doesn't work in Snow Leopard!

cybero's picture
Re: File Tools for Snow Leopard?

You can rest assured that they do work.

Booting in SL 32 bit mode, QuickLook does work, so it might help a whole lot if people were informative and upfront about what mode they've booted SL in.

In 64 bit mode , the QuickLook plugin doesn't provide any useful output.

itsthejayj - your Console output is well dated [19/08/2009], before SL was even released. What's going on with that ? Still, we can all make mistakes, can't we?

In 32 or 64 bit mode in SL, All the other FileTools have been found to work, except a couple I've not tried out. I've included these in the .zip I've attached, which was derived from yanomano's excellent example.

PreviewAttachmentSize
FileToolsWorksinSnowLeopard.zip5.03 KB

gutsblow's picture
Re: File Tools for Snow Leopard?

Oops! It looks like I have never installed the plugin. Strange I thought that I had it in my leopard..don't know what happened after the upgrade. Anyways everything works except quicklook. Sorry for the wrong info guys!

itsthejayj's picture
Re: File Tools for Snow Leopard?

Quote:
You can rest assured that they do work.
really!?

ok first of all apologies i may have jump on things a bit too quickly here, cybero i lifted that console log from an email i sent Cwright a while back about during beta testing of snow leopard.

However i did do a quick test before posting my comment, and i did produce an error in 32bit and 64bit, hence i presumed it was the same error i reported to Chris via email.

So could some one confirm for me: on attached composition as soon as skip quicklook is ticked

-[QCProvider_CoreGraphics initWithCGSource:options:]: Inconsistent state 0x80d0a3b8: GFException 0x80d0c715: GFThrowException

PreviewAttachmentSize
quicklook_exception.qtz1.81 KB

itsthejayj's picture
Re: File Tools for Snow Leopard?

Yep i managed to reproduce the crash: shall try to simplify the composition for posting on here tomorrow.

Am i using the latest filetools.plugin? mine is dated (may 30,2009)

9/18/09 1:17:54 AM   Quartz Composer[414]   *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: '-[QCProvider_CoreGraphics initWithCGSource:options:]: Inconsistent state'
*** Call stack at first throw:
(
   0   CoreFoundation                      0x00007fff833975a4 __exceptionPreprocess + 180
   1   libobjc.A.dylib                     0x00007fff83661313 objc_exception_throw + 45
   2   CoreFoundation                      0x00007fff833eeaf9 -[NSException raise] + 9
   3   QuartzComposer                      0x00007fff80d0a3b8 GFException + 306
   4   QuartzComposer                      0x00007fff80d0c715 GFThrowException + 317
   5   QuartzComposer                      0x00007fff80c6d2bf -[QCProvider_CoreGraphics initWithCGSource:options:] + 5068
   6   QuartzComposer                      0x00007fff80d453c8 -[QCImage(QCProvider_CoreGraphics) _initWithNSImageSource:options:] + 50
   7   FileTools                           0x0000000114dcf38f 0x0 + 4644991887
)

cybero's picture
Re: File Tools for Snow Leopard?

Yeah, that composition does indeed produce an exception.

Not only that, but until the Quartz Composer cache is cleared, there is no way that the File Tools example I uploaded works , even in 32 bit SL, yet work before, it indeed did :-).

More investigation needed.

cybero's picture
Re: File Tools for Snow Leopard?

Quote:

Yep i managed to reproduce the crash: shall try to simplify the composition for posting on here tomorrow.

Bully for you - here's the quick skinny on what I found when I went and investigated further.

How interesting •~ How droll :-(

I really thought you were beginning to be onto something here, then I did a recheck after clearing QC's cache - probably unnecessary, but we all need a good cache clean out occasionally .

On further examination, itsthejayj, I realised what you had been doing was wrong

A] Don't 'Skip QuickLook' - which you had done - possibly to be kind. B] Don't QuickLook specifically for stuff that isn't there. - Make sure your .mp3 or whatever is in place C]The attached example shows how File Tools does indeed work.

All the file paths are pointed at root level files

Sterling work on the exception throwing itsthejayj •~ Proves a point.

Once the exception is thrown, one does need to clear out the QC cache to get the right result from a properly configured file.

Mind, I have been getting some unusual results here and there with SL like vade's movie player seemingly AOK before the latest update and now nowhere to be found in the Library list.

Whatever, see attached file, do not view in an overly bright light. {Contains a brief .MP3}

itsthejayj's picture
Re: File Tools for Snow Leopard?

Quote:
but we all need a good cache clean out occasionally

I'm willing to give it a go, as all the compositions i was working on last night are splitting out exceptions now *weird :(

however cybero how would i clean my QC cache? you've lost me there. Cheers for the help the bud.

cybero's picture
Re: File Tools for Snow Leopard?

itsthejayj wrote:

Quote:
but we all need a good cache clean out occasionally
Maybe we do need a good cache clean out occasionally, but upon further methodical experimentation and investigation, have found that even restarting the QC app is unnecessary to clear QC's confusion produced by the exception throwing. I guess I was just getting slightly confused myself. [working too late, I guess]
Quote:
I'm willing to give it a go, as all the compositions i was working on last night are splitting out exceptions now *weird :(

itsthejayj, any compositions spitting their dummy our in such a reproducible fashion probably need to have the file paths sorted to point directly at the file concerned, I find that just using a Project folder and placing the files at root level has worked AOK with File Tools. See previously attached working examples, all files 'called' upon are at root level, not /somewhere/something/whatever/filname.ext, just filename.ext, as the case may be.

Quote:
however cybero how would i clean my QC cache? you've lost me there. Cheers for the help the bud.

Sometimes, and it is only sometimes, QC really does require its cache to be cleared.

How to, that's easy, with QC closed, go to ~/Library/Caches/QCCompositionRepository-com.apple.QuartzComposer.editor.cache and delete.

Job's a goodun'

cybero's picture
Re: File Tools for Snow Leopard?

Unless

1] you are booting in 64 bit mode

or

2]you are pointing to a non-existent [misnamed, wrong file path] file

then QuickLook will work.

:-)

gutsblow's picture
Re: File Tools for Snow Leopard?

Thank you cybero, I forgot that I was booting into 64 bit!

itsthejayj's picture
Re: File Tools for Snow Leopard?

Quote:
we've got a pretty long backlog of changes that we've made but haven't released yet,

Any news on a 64 bit version of file tool (essentially the quicklook patch)?... its really really missed.

Also i was wondering if some image caching could be made available in the quicklook patch like what is available in Apples image importer patch?

thxs