jit.fx.wake errors?

Riccardo Carbone's icon

Hi all,

I seem to have an issue with using jit.fx.wake, which has just started, and was wondering if anyone else has experienced it, or can give advice as to how to get it to function again.

When I go to use the object, or even the help file, I get lots of errors in the max console,

jit.fx.wake: SyntaxError: Identifier 'pix' has already been declared
at jit.fx.include.base.js (line 1)

jit.fx.wake: Source line: // base jit.fx wrapper include file, does not handle input messages

jit.fx.wake: Stack Trace:

SyntaxError: Identifier 'pix' has already been declared

at jit.fx.wake.js:3:1

jit.fx.wake: ReferenceError: drawto is not defined at jit.fx.wake.js (line 6)

jit.fx.wake: Source line: let pix = new JitterObject("jit.gl.pix", drawto);

jit.fx.wake: Stack Trace:

ReferenceError: drawto is not defined

at jit.fx.wake.js:6:42

I'm using a windows 11 machine, max version 9.1.3, and other jit.fx objects appear to work. I have just downloaded the latest version of Max as I thought it might have been a bug in the last one I had downloaded about 3 weeks ago (I think it was 9.1.2), but I still have the same result. I may go back to an earlier version of max 9 if no one has any other suggestions.

Any and all comments will be welcomed.

Riccardo Carbone's icon

Just to update this, I reverted to an older version of Max (9.09), and jit.fx.wake is now working as normal.

Rob Ramirez's icon

hmm, I can't reproduce any issues with this object. It sounds like maybe some older files were conflicting with the newer install? maybe an old version of Jitter Tools package?

Riccardo Carbone's icon

Hi Rob,

I'm not sure how I would update the Jitter Tools package, in package manager it shows as version 1.1.0. and I can't see any 'update package' option. Do you know if that is the most recent version?

I still have max 8 installed on my laptop, do you think that would cause an issue? Perhaps I should remove it?

Thanks in advance.

Rob Ramirez's icon

v 1.1.0 sounds right for Max 9.0.9, but with Max 9.1.3 installed you should see v 1.2.2. There should be no need to install upgrades from the package manager for either of these versions. I was just suggesting you look in your ~/Documents/Max 9/Packages folder and see if there's some old version of Jitter Tools that might be conflicting (there shouldn't be but who knows).

Riccardo Carbone's icon

Thanks for the reply Rob.

Just to update, in my \Documents\Max 9\Packages folder, I anything don't have anything named Jitter Tools.

In another location on my PC I have this \Program Files\Cycling '74\Max 9\resources\packages\Jitter Tools, and in here there is \code\fx\js which has the file jit.fx.wake.js within it. I mention this because if I look at date modified of the parent folder it lines up with when I installed this version of max 9 (a couple of weeks ago), but the date modified of the actual jit.fx.wake.js file has a date from 18th September 2025. I'm not sure if this is significant though, but just thought I would mention it.

Perhaps I will try updating Max again soon, and have a look in these locations to see if I can see any old versions.

Cheers

Riccardo Carbone's icon

*Update*

Just to close this off, I found the problem was caused by my global file search preferences. I now have 9.1.14 running!