Thank you for the help,
I made it work with adding some python dependent directory’s to the docker-compose file
Read the statement by Michael Teeuw here.
Posts
-
RE: MMM-PythonPrint customisation
-
RE: MMM-PythonPrint customisation
i have also the MM os and i try to make it work
I have added - /usr/bin/python3:/usr/bin/python3 to the docker compose
and now i have the error[15.07.2022 14:23.42.599] [LOG] MMM-PythonPrint received a socket notification: CONFIG - Payload: [object Object] [15.07.2022 14:23.42.602] [LOG] PythonPrint spawning /opt/magic_mirror/modules/MMM-PythonPrint/print_test.py using python3 [15.07.2022 14:23.42.686] [LOG] PythonPrint program error=Could not find platform independent libraries <prefix> Could not find platform dependent libraries <exec_prefix> Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] Fatal Python error: initfsencoding: unable to load the file system codec ModuleNotFoundError: No module named 'encodings' Current thread 0x76fb37a0 (most recent call first):
a played around with adding $PYTHONHOME to env but without any result
does anyone know a work around to find the libraries? -
RE: MMM-Remote-control all working except for monitor on and off
@karsten13
ah thank you for your help -
RE: MMM-Remote-control all working except for monitor on and off
yes completely from scratch, i used the latest MM-OS version:
(2022-03-08_2022-01-28-magicmirroros-bullseye-armhf-lite-0.3.0)
and reinstalled all the modules on a RP3b+ -
RE: MMM-Remote-control all working except for monitor on and off
@karsten13 said in MMM-Remote-control all working except for monitor on and off:
docker logs mm
this is the logs output of the error
[05.07.2022 14:31.43.589] [LOG] Error: Command failed: vcgencmd display_power 0
vcgencmd: error while loading shared libraries: libvchiq_arm.so.0: cannot open shared object file: No such file or directoryat ChildProcess.exithandler (node:child_process:408:12) at ChildProcess.emit (node:events:526:28) at maybeClose (node:internal/child_process:1092:16) at Socket.<anonymous> (node:internal/child_process:451:11) at Socket.emit (node:events:526:28) at Pipe.<anonymous> (node:net:687:12) {
killed: false,
code: 127,
signal: null,
cmd: ‘vcgencmd display_power 0’
} -
RE: MMM-Remote-control all working except for monitor on and off
I had to reinstall my MM but now i have the same problem again.
but the last time solution doesn’t help.
I have the same error as the previous printscreen.
and when i run vcgencmd in the terminal it works fine. -
RE: Wallpaper module with magic mirror OS
i resolved it, the problem was the wrong relative path
-
Wallpaper module with magic mirror OS
hi,
i tried all the wallpaper modules but not any of them worked,
i don’t get any error’s but the wallpapers don’t display.is this because MM OS has a different path?
i tried relative and absolute paths but no help.Regards,
-
RE: My first Magic Mirror build in an old imac
@keaghoul first of all you need check the model nr. of the screen. its probably an LG screen, but i don’t know the model nr.
with that you can look on Ebay for a display controller for that particular screen.if the PSU is still oke you kan use that one. you have to check which outlet is 12V+ continue is. and you can power the screen with that.
also you need a inverter from 12v to 5v for the Raspberry.if you wan’t to use the the speakers u need also en simple AMP i use the TDA7297, i used a other one before but that one gives a white noise.
-
RE: MMM-Remote-control all working except for monitor on and off
@karsten13 said in MMM-Remote-control all working except for monitor on and off:
docker-compose up -d
thank you!, that works.
i only run the command first ‘cp rpi.yml docker-compose.yml’ without the ‘:’.
can i run in trouble now? it looks like everything works fine.kind regards