kilianc / adobe-generator

The missing link
3 stars 0 forks source link

Layer names with forward slashes ( / ) in their name cause a crash #63

Closed kilianc closed 11 years ago

kilianc commented 11 years ago

Example - layer name of "w/ whoa.png" results in:

11/28/2012 09:20:30: {
  "message": "ENOENT, no such file or directory '/Users/timriot/Desktop/imgs/w/ whoa.png'",
  "stack": "Error: ENOENT, no such file or directory '/Users/timriot/Desktop/imgs/w/ whoa.png'
      at Object.fs.openSync (fs.js:338:18)
      at Object.fs.writeFileSync (fs.js:756:15)
      at null.callback (/Users/timriot/Desktop/Motherlover.app/Contents/Resources/server/server.js:128:10)
      at Accumulator.finish (/Users/timriot/Desktop/Motherlover.app/Contents/Resources/server/node_modules/imagemagick/imagemagick.js:60:55)
      at ChildProcess.<anonymous> (/Users/timriot/Desktop/Motherlover.app/Contents/Resources/server/node_modules/imagemagick/imagemagick.js:86:11)
      at ChildProcess.EventEmitter.emit (events.js:99:17)
      at maybeClose (child_process.js:638:16)
      at Socket.ChildProcess.spawn.stdin (child_process.js:815:11)
      at Socket.EventEmitter.emit (events.js:96:17)
      at Socket._destroy.destroyed (net.js:357:10)",
  "code": "UNCAUGHT_EXCEPTION"
}