Dario, what was the command that created this error message.
You need to give us a bit more information
Read the statement by Michael Teeuw here.
Posts made by lavolp3
-
RE: PM2 does not start the Magic Mirror
-
RE: MM Error - .AppleDouble and UnhandledPromiseRejectionWarning
@bolish I would guess your system has created an .appledouble file in the modules directory.
wikipedia says the file is created for so-called double-forks used in the A/UX system.Don’t know if there’s a wa to ignore files/folders in the modules directory.
-
RE: MM Error - .AppleDouble and UnhandledPromiseRejectionWarning
@bolish
Regarding the UnhandledPromiseRejection, you’d have to find out which module is creating this.
Can you list the modules you are using?
I had this error with MMM-rfacts. Do you have that installed? -
RE: Considering taking donations to support the MagicMirror project. Interested in your thoughts!
(Sorry, too tempting…)
I’d definitely donate. I love this whole project.
-
RE: Pandora
@anhanyoung Well there is an unofficial API, even a pandora.js node module here.
Should be not too difficult to implement.
Unfortunately I don’t use pandora.However… it is inofficial and apparently against Pandora’s Terms of Use. Additionally, apparently not very complete nor well documented.
But interesting nonetheless…
-
RE: MMM-AVStock
For all you chart lovers and technical freaks out there the AVStock module now has fancy candle stick charts (also available in black+white).
Isn’t this just beautiful??
Sorry, needed to beat the drum a bit.Planned PR’s:
- Charts for 5min, 15min, 60min
- include startdate and enddate for chart.
- include max and min value labels in chart.
-
RE: Installation
@kdavis Have you done what is described in the README and copied the config.js.sample to a config.js file?
-
RE: MMM-Random Fact
Well…
“Eureka!”Apparently the problem is solved using this hack. There seems to be an issue with the google-translate-api npm module that some users solved with a fork.
@cowboysdude look at it and let me know what you think.
If the issue/solution is confirmed a workaround would be to have a working fork installed via npm.(need to get back to work now!!..)
-
RE: has anyone used any of the charting tools, like chartjs?
@tarun well… basically to create charts from data …
-
RE: MMM-Random Fact
Hi guys.
I’ve tried to get this module working again and am still failing.
I was able to find out the following:
My general config is mentioning
language: 'de'
When I set this to en, the module works.
With language de, it does not give a translated fact.Now the above mentioned “unhandled promise rejection” warning is not the problem.
You can solve this issue by adding a .catch() phrase after the .this in the promise part to catch and process a rejected promise.Since the translate() function does not properly work, the promise gets rejected, and since there is no rejection handing in the code, we get the “unhandled rejection” warning. I’ll try to set up a solution and send a PR.
The translation problem with this module apparently lies in the google-translate-api.
I was able to console.log the error message
at /home/pi/MagicMirror/modules/MMM-rfacts/node_modules/google-translate-api/index.js:106:17 at <anonymous> at process._tickCallback (internal/process/next_tick.js:188:7) code: 'BAD_REQUEST' }
This error is well known for the google-translate-api since 2018.
The question is:
Does this module work for anyone in another language? (and if yes: WHY?)