vizorvr / patches

Patches is a visual programming editor for building WebVR and WebGL experiences.
http://patches.vizor.io
MIT License
201 stars 44 forks source link

running locally: upload image leads to MongooseError.ValidationError + exiftool errors #2061

Open esaruoho opened 6 years ago

esaruoho commented 6 years ago

Alaa on Vizor Public Slack posted these errors:

ValidationError: Image validation failed at MongooseError.ValidationError

CastError: Cast to Object failed for value “Fatal Error: Unable to load exiftool. Error: spawn exiftool ENOENT” at path “original” at MongooseError.CastError

esaruoho commented 6 years ago

mongoose

untitled

untitled 1

faizbepari19 commented 6 years ago

Mac OS X:

sudo brew update sudo brew install exiftool

Ubuntu:

sudo apt-get update sudo apt-get install libimage-exiftool-perl

Install the appropriate package to get rid of exiftool errors

stephanrauh commented 1 year ago

A minor addition: omit the sudo- you won't need it on OS X, but in the long run, it tends to run you into trouble because at some point in time you'll have to sudo everything. Just run:

brew update
brew install exiftool