file writing error codes
I thought I’d start a thread to document error codes generated while trying to write or create files. Someone was asking about this not too long back in this thread, and it seemed an answer wasn’t found:
So here’s two from trial-and-error:
error -1 creating file
– means that directory does not exist
error -5000 creating file
– means that user does not have permission to write to directory
Hope this helps someone… please add any error codes you find!
I’m running into some issues with these errors again…
Would someone at Cycling please confirm (or correct) at least those two error codes?
Even better would be a complete listing of error codes, but I understand that might not be a document that’s ready to be shared with the world.
PS: I considered moving this to the Dev forum, but it’s not technically just an issue about external object development.
On 2008 Apr 17, at 1:12 PM, Leigh Marble wrote:
> Quote: Leafcutter John wrote on Thu, 17 April 2008 10:30
>> Quite a lot of error codes here:
> Thanks, but I believe those to be a different set of error codes –
> OS9 I believe.
Most of them are still relevant. If you see error -43, it’s the same
on OS9 and OSX and it’s what ends up getting propagated up to the
error posted by Max. Etc.
Tap.Tools / Teabox / Hipno / Hemisphere
These are OS error codes that are percolating up to Max. If you’re on Mac you’ll be seeing File Manager error codes (mostly), on Windows the equivalent. But the numbers will be different (mostly). The numbers will be documented in the developer materials for either platform.
Forums > MaxMSP