mmm-weatherchart
mmm-weatherchart copied to clipboard
Cannot find file in cache folder
I'm getting this in: mm-error.log running MM 2.12.2: using pm2, as user "pi".
[2020-07-20 21:46:02.782] [ERROR] Error: ENOENT: no such file or directory, open '/home/pi/MagicMirror/modules/mmm-weatherchart/cache/map-1595274362742.png' [2020-07-20 21:51:59.002] [ERROR] Error: ENOENT: no such file or directory, open '/home/pi/MagicMirror/modules/mmm-weatherchart/cache/map-1595274718583.png' [2020-07-20 22:01:44.499] [ERROR] Error: ENOENT: no such file or directory, open '/home/pi/MagicMirror/modules/mmm-weatherchart/cache/map-1595275304283.png'
Cache dir is: /home/pi/MagicMirror/modules/mmm-weatherchart/cache
Module configuration is:
{ /* mmm-weatherchart * Ref: https://github.com/paphko/mmm-weatherchart * git clone https://github.com/paphko/mmm-weatherchart.git * Location: https://www.yr.no/place/Denmark/South_Denmark/Rynkeby~2614355/?spr=eng */ module: 'mmm-weatherchart', position: 'top_center', // this can be any of the regions config: { country: 'Denmark', // as determined above area: 'South_Denmark', // as determined above city: 'Rynkeby~2614355', // as determined above updateInterval: 60 * 60 * 1000, // update every hour hideBorder: true, // whether or not a border with city name should be shown negativeImage: true, // whether or not the default white image should be inverted hoursToShow: 24, // Cut the image down to show less than the full 48 hour forecast. -1 to show everything. // mmDirectory: "/home/pi/MagicMirror/" // required for caching; adjust if it differs } },
And with that it doesn't the expected weatherforecast.
I have not yet seen this problem, so I cannot reproduce it. Asking google for "ENOENT: no such file or directory" yields plenty of issues related to npm package management, but I don't know either how to help here...
Another guess is that the cache folder is missing access rights?
This is probably fixed with #16