pattrstorage could not create file (-37)

Jul 5, 2007 at 12:59pm

pattrstorage could not create file (-37)

hi list,

i’ve got a little problem with pattstorage (everything is in the title), i can’t manage to create the xml file… i didn’t find any information on the -37 error code, i only found something on the 32 one.

please help.

g

#32765
Jul 5, 2007 at 2:19pm

isn’t it the file name number of characters limitation on osX ? :
only 31 characters allowed (28 + dot + pat = 32). (i already had this
problem, but don’t remember the error code). if you try to write a
file containing more than 31 characters with a message to an object,
it produces an error.

Mathieu

http://www.maxobjects.com

http://mathieu.chamagne.free.fr

>
> hi list,
>
> i’ve got a little problem with pattstorage (everything is in the
> title), i can’t manage to create the xml file… i didn’t find any
> information on the -37 error code, i only found something on the 32
> one.
>
> please help.
>
> g
> –
> GE
> http://ge.lib.free.fr/

#108353
Jul 5, 2007 at 2:40pm

thanks a lot, name length was the cause…

g

#108354
Jul 5, 2007 at 4:28pm

Quote: mathieu.chamagne wrote on Thu, 05 July 2007 16:19
—————————————————-
> isn’t it the file name number of characters limitation on osX ?
—————————————————-

It’s not an OS X limitation.

File name limits are set by the underlying file system, not by the OS. On top of that, HFS+ supports 255-char file names.

The issue is that HFS+ provides a legacy interface to the original HFS File System calls. It is these calls that are limited to 31-char file names. That’s not a problem in itself, it just a problem that Max is still using the old calls.

Here’s hoping that Max 5 also overhauls the interface to the Mac file system.

– P.

#108355

You must be logged in to reply to this topic.