-
Notifications
You must be signed in to change notification settings - Fork 608
node-red-node-exif got an uncaught exception #813
Description
I try to get EXIF imformation of an image by node-red-node-exif.
But I got a uncaught exception below:
TypeError: Cannot set property 'arc' of undefined
at addMsgLocationDataFromExifGPSData (/data/node_modules/node-red-node-exif/94-exif.js:65:30)
at /data/node_modules/node-red-node-exif/94-exif.js:107:41
at /data/node_modules/exif/lib/exif/ExifImage.js:122:7
at ExifImage.processImage (/data/node_modules/exif/lib/exif/ExifImage.js:203:7)
at ExifImage.loadImage (/data/node_modules/exif/lib/exif/ExifImage.js:146:10)
at Immediate._onImmediate (/data/node_modules/exif/lib/exif/ExifImage.js:117:10)
at runCallback (timers.js:810:20)
at tryOnImmediate (timers.js:768:5)
at processImmediate [as _immediateCallback] (timers.js:745:5)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! node-red-docker@1.0.0 start: node $NODE_OPTIONS node_modules/node-red/red.js -v $FLOWS "--userDir" "/data"
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the node-red-docker@1.0.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
Which node are you reporting an issue on?
node-red-node-exif
What are the steps to reproduce?
read a jpg photo binary
What happens?
docker container stop because uncaught exception
What do you expect to happen?
get exif information
Please tell us about your environment:
- Node-RED version: 1.3.5
- node.js version: v10.24.1
- npm version: 6.14.12
- Platform/OS: Ubuntu 18.04
- Browser: FireFox 88.0.1 (16-bit)