the error caught in the domain listener has this
{ [TypeError: Cannot read property 'durationsec' of undefined]
domain_thrown: true,
domain:
{ domain: null,
_events: { error: [Function] },
_maxListeners: 10,
members: [] } }
and the error which leaks out into my program is this
TypeError: Cannot read property 'durationsec' of undefined
at module.exports.takeScreenshots.screenshotcount
(/Users/Siavash/Projects/pinpoint/pinpoint-m5/packages/mediaengine/mediaengine.video-image/node_modules/fluent-ffmpeg/lib/processor.js:342:18)
at FfmpegCommand._prepare
(/Users/Siavash/Projects/pinpoint/pinpoint-m5/packages/mediaengine/mediaengine.video-image/node_modules/fluent-ffmpeg/lib/fluent-ffmpeg.js:258:9)
at _screenShotInternal
(/Users/Siavash/Projects/pinpoint/pinpoint-m5/packages/mediaengine/mediaengine.video-image/node_modules/fluent-ffmpeg/lib/processor.js:340:12)
at module.exports.takeScreenshots
(/Users/Siavash/Projects/pinpoint/pinpoint-m5/packages/mediaengine/mediaengine.video-image/node_modules/fluent-ffmpeg/lib/processor.js:473:9)
at Object.fs.exists [as oncomplete] (fs.js:91:19)
On Tuesday, January 22, 2013 3:12:28 PM UTC, greelgorke wrote:
>
> what does the error message say?
>
> in line 4: function name: next
> and
> in line 12: param named: next
>
> is this defined somewhere in scope? if not, then you get a TypeError
> function next is not defined or something like that in your "error"-event
> handler which is outside of the domain
>
> Am Dienstag, 22. Januar 2013 15:24:12 UTC+1 schrieb Ash:
>>
>> Hi I am trying to isolate a 3rd party type error using domains
>> here is the code (sorry its in coffeescript)
>>
>> http://pastie.org/private/iexulds93m8fbfpzdbmtoq
>>
>> the d.on "error" catches error fine, but the error still leaks out to
>> my program and crashes it
>> am i doing something wrong here?
>>
>> thanks
>>
>
--
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