write jxf file from jit.matrix strange thing

Mar 18, 2010 at 11:27am

write jxf file from jit.matrix strange thing

hi,

when i send the write message with a path to jit.matrix. it creates a file in the same directory with the path as a name.

in the references, it’s clearly written that write can come with a filename.

so is there a possibility to write a jxf file from a jit.matrix in another directory ?

here is a simple example :

– Pasted Max Patch, click to expand. –

cheers

g

#49211
Mar 18, 2010 at 11:42am

this is the same with jit.textfile.

#176789
Mar 18, 2010 at 5:18pm

I can’t reproduce for directories which actually exist, and for which I have write privileges. In such a case it works as expected. Is it possible that the path to your desktop is actually named something else, or you are using from another user account which does not have write privileges?

#176790
Mar 18, 2010 at 5:31pm

hi joshua.

i have admin rights on the computer and the path to my desktop in the example is correct.

but i now have a new fact.

when i write it and only the patch i posted is opened, it works correctly.

now, if i run another of my patchs (quiet big, with some jitter objects -render-matrix-nurbs-etc…), and test to write the matrix again, then it creates the jxf file in the Max5 application directory and the file is named “/Users/G/Desktop/testjxf.jxf”.

i think my big patch modify something in the jitter world that causes this.

but what?

i need to restart max to restore the correct behavior.

g

#176791
Mar 18, 2010 at 7:16pm

Sounds like some memory corruption, or some other path/symbol issues. If you are able to provide an isolated patch, with clear steps to reproduce and system/max info, we can investigate further.

Thanks,
Joshua

#176792
Mar 18, 2010 at 7:18pm

Sounds like some memory corruption, or some other path/symbol issues. If you are able to provide an isolated patch, with clear steps to reproduce and system/max info, we can investigate further.

Thanks,
Joshua

#176793
Mar 19, 2010 at 10:26am

got it !

ok, it only occurs with jitter objects (tested with jit.matrix and jit.textfile).

when i first load the patch it works fine. i can write a jxf file by specifying a path. but if i open ANY OTHER PATCH in ANY OTHER FOLDER, like opening an extra patch, the bug occurs.

if i reopen a patch in the same folder than the one writing the jxf, everything go back to normal.

here is a little video illustrating this : http://ev.gui.free.fr/strangepath.mov

i’ve uninstalled every 3rd party objects, cleaned my paths, etc…

let me know if someone can reproduce this.

thanks !

g

#176794
Mar 19, 2010 at 11:39am

Hello Guillaume,

I’ve had the same problem in a big patch without being able to reproduce/explain it.
Thanks !

MacbookPro Intel Core 2 Duo 2.4GHz
Mac OS 10.5.8
Max 5.1.3

The problem also appeared on a MacPro and a G5 but I haven’t got their exact specifications.

Léo

#176795
Mar 20, 2010 at 4:08pm

joshua, any news on this ?

cheers

g

#176796
Mar 22, 2010 at 1:03am

Thanks for the clear demonstration. I am able to reproduce, and we will fix in a future release.

#176797
Mar 22, 2010 at 11:17pm

Please find the attached macintosh version of the object. Let us know if it solves your problems or if it has any other new problems.

Thanks,
Joshua

#176798
Mar 22, 2010 at 11:18pm

thanks joshua for being so quick ! don’t forget jit.textfile !

#176799
Mar 22, 2010 at 11:24pm

unfortunately…

still the same.
open the patch and it’s ok, open any other patch in any other folder -> path problem.

g

#176800
Mar 22, 2010 at 11:53pm

Oops. Here’s the right one. Sorry about that. And yes, similar fixes have been made for jit.textfile, jit.fprint, and jit.qt.broadcast. Let me know if you kind other issues.

#176801
Mar 23, 2010 at 9:20am

thanks a lot.

could you please post jit.textfile as well ?

i really need these two objects to work these days…

cheers !

g

#176802
Mar 23, 2010 at 5:48pm

Don’t usually do this, but here you go. Thanks for finding this issue which has been present for a long time.

Please let us know if they solve your problems, or if you encounter any new issues.

Thanks,
Joshua

#176803
Mar 23, 2010 at 5:54pm

thanks joshua !

i’ll keep you informed.

g

#176804

You must be logged in to reply to this topic.