Hi,

I am out of ideas for an issue using node.js 0.10.17. I 
call fs.createWriteStream with a file path and no other arguments (leaving 
in the default options as described at 
http://nodejs.org/docs/v0.10.17/api/fs.html#fs_fs_createwritestream_path_options
 and 
from time to time I am getting an error stack like this from my on('error') 
handler on the write stream:

 Error: Error: UNKNOWN, open '<file path>'
  [....]
   at WriteStream.EventEmitter.emit (events.js:117:20)
   at WriteStream.<anonymous> (fs.js:1655:12)
   at Object.oncomplete (fs.js:107:15)

This is really not that helpful because I have absolutely no clue why this 
error happens and what to do against it.

I would appreciate if anyone has ideas how to further debug this problem. 
One thing I have been doing is use process monitor to see if any other 
application is locking the file in question and it turns out that this 
doesnt seem to be the case. Also, in that case I would expect a EBUSY error.

Thanks in advance,
Ben


-- 
-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to