Open AxTech212 opened 2 years ago
Maybe the magic mirror process does not have the required permissions to save the svg files in that folder?
I dont think so, how can i check that?
I think this might be related to Yr soon changing around how the meteogram works - I get an error message from time to time too, and when I try to access the URL to the "old" meteogram, I get a message that the widget is receiving a new version.
You can read more about it here: https://developer.yr.no/doc/guides/deprecating-old-widgets/
Trying to hard code my URL now, but not sure it'll work, let me know if anyone else finds a good workaround...
If your error is similar to this: [06.09.2022 21:58.41.888] [ERROR] [Error: EACCES: permission denied, open '/home/xxx/MagicMirror/modules/mmm-weatherchart/cache/map-1662494321870.svg'] { errno: -13, code: 'EACCES', syscall: 'open', path: '/home/xxx/MagicMirror/modules/mmm-weatherchart/cache/map-1662494321870.svg' }
I think you must check two things:
If nr 2 is the case, you can cd into t he folder and do: ls -la
Then you see who owns it.. If you have to change owner, at least you must change cache folder to the user that will run MagicMirror, as that user will try to write to the folder.
Then you can simply do: chown newuser cache
Hello,
i tryed for some hours to get it work but it seems there is a problem.
[ERROR] [Error: ENOENT: no such file or directory, open '/mnt/user/appdata/magicmirror2-Test/modules/mmm-weatherchart/cache/map-1639128390958.svg'] {
[ERROR] [Error: ENOENT: no such file or directory, open '/mnt/user/appdata/magicmirror2-Test/modules/mmm-weatherchart/cache/map-1639081633003.svg'] {
everytime it is another .svg that is missing. Probably it gets deleted bevor it can load it - but i am not sure.
In the node_helper.js there is the deletion methode but seems ok to me.
http.get(options, function (response) { var svgFiles = payload.mmDir + 'modules/mmm-weatherchart/cache/*.svg'; del.sync([svgFiles]);
You guys have any suggestions what could cause the problem here?