pattrstorage could not create file (-37)


    Jul 05 2007 | 12:59 pm
    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

    • Jul 05 2007 | 2:19 pm
      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
      www.maxobjects.com
      >
      > 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
    • Jul 05 2007 | 2:40 pm
      thanks a lot, name length was the cause...
      g
    • Jul 05 2007 | 4:28 pm
      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.