Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot find file in cache folder #15

Open
fedders opened this issue Jul 20, 2020 · 2 comments
Open

Cannot find file in cache folder #15

fedders opened this issue Jul 20, 2020 · 2 comments

Comments

@fedders
Copy link

fedders commented Jul 20, 2020

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.

@paphko
Copy link
Owner

paphko commented Aug 11, 2020

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?

@paphko
Copy link
Owner

paphko commented Nov 23, 2020

This is probably fixed with #16

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants