Closed Matze181280 closed 10 months ago
Hi Matze, honestly I have no idea what the swrast driver does or what the issue could be in your case. Do you have this issue only when the solarman module is activ in your config.js?
Try to set a wrong accessToken in your config file and see if the module itself works then (of course without your data, but it would be a start)
all the best
Where you able to solve your issue or is it still open?
Hello Utzl, Sorry for my late reply. Thank you for your help, unfortunately I did not get any further. I tried what you told me: the same error came back. Is there something wrong with my installation? I have installed it again, but it did not work. Maybe you have another idea? Thanks !
Hi, now I had a similar bug after npm installation of another module. and then nothing worked anymore... I installed a newer version of node (18.18). And full apt-get update/upgrade. And I also updated to MagicMirror version 2.25.
Recommend to use on of these scripts: https://github.com/sdetweil/MagicMirror_scripts
Hope this will also help you. Send me the pm2 log again if not.
Hi,
thanks for the feedback and Info. I'll try it out when I get back from the field. Thanks you, I will get back to you. Br / Matze
Hi Matze, can I close this issue?
Hello utzl,
thanks for asking, at the moment you can close the issue.
Thank you ! Br / Matze
Am Di., 16. Jan. 2024 um 16:36 Uhr schrieb utzl @.***>:
Hi Matze, can I close this issue?
— Reply to this email directly, view it on GitHub https://github.com/utzl/MMM-Solarman/issues/2#issuecomment-1893993962, or unsubscribe https://github.com/notifications/unsubscribe-auth/BCN5ZMOHUNMFIVM4MNIYCMDYO2NAJAVCNFSM6AAAAAA4QB7NVCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJTHE4TGOJWGI . You are receiving this because you authored the thread.Message ID: @.***>
Hello,
somehow it does not work I did everything according to the instructions. Attached the log Maybe someone can help me? For the app I got all the code from sorlaman support /App_ID and App_Secret
and the other I have also adjusted by helper.js
Thank you!
Require stack:
at Module._resolveFilename (node:internal/modules/cjs/loader:1082:15) at n._resolveFilename (node:electron/js2c/browser_init:2:117469) at Module._resolveFilename (/home/matze/MagicMirror/node_modules/module-alias/index.js:49:29) at Module._load (node:internal/modules/cjs/loader:927:27) at f._load (node:electron/js2c/asar_bundle:2:13330) at Module.require (node:internal/modules/cjs/loader:1148:19) at require (node:internal/modules/cjs/helpers:110:18) at Object. (/home/matze/MagicMirror/modules/MMM-Solarman/node_helper.js:9:15)
at Module._compile (node:internal/modules/cjs/loader:1269:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1324:10)
at Module.load (node:internal/modules/cjs/loader:1124:32)
at Module._load (node:internal/modules/cjs/loader:965:12)
at f._load (node:electron/js2c/asar_bundle:2:13330)
at Module.require (node:internal/modules/cjs/loader:1148:19)
at require (node:internal/modules/cjs/helpers:110:18)
at loadModule (/home/matze/MagicMirror/js/app.js:180:19)
(Use
electron --trace-warnings ...
to show where the warning was created) [08.09.2023 06:52.57.452] [ERROR] (node:2173) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag--unhandled-rejections=strict
(see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1) MESA-LOADER: failed to retrieve device information MESA-LOADER: failed to retrieve device information MESA-LOADER: failed to retrieve device information MESA-LOADER: failed to open kms_swrast: /usr/lib/dri/kms_swrast_dri.so: Kann die Shared-Object-Datei nicht öffnen: Keine Berechtigung (search paths /usr/lib/aarch64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri) failed to load driver: kms_swrast MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: Kann die Shared-Object-Datei nicht öffnen: Keine Berechtigung (search paths /usr/lib/aarch64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri) failed to load swrast driver