FHEM Forum

FHEM => Anfängerfragen => Thema gestartet von: scooty am 05 April 2019, 11:52:53

Titel: [Gelöst] Fehler beim Start von FHEM: Meta.pm (?)
Beitrag von: scooty am 05 April 2019, 11:52:53
Hallo zusammen,

nach einer Woche mal wieder ein Update von FHEM gemacht, nach Restart können aber einige Module nicht geladen werden.
Hier der Auszug aus dem FHEM-Log:
2019.04.05 10:03:14.421 1: reload: Error:Modul 59_Wunderground deactivated:
This Perl not built to support threads
Compilation failed in require at FHEM/Meta.pm line 8, <$fh> line 6475.
BEGIN failed--compilation aborted at FHEM/Meta.pm line 8, <$fh> line 6475.
Compilation failed in require at /opt/fhem/FHEM/59_Wunderground.pm line 15, <$fh> line 6475.
BEGIN failed--compilation aborted at /opt/fhem/FHEM/59_Wunderground.pm line 15, <$fh> line 6475.

2019.04.05 10:03:14.421 0: This Perl not built to support threads
Compilation failed in require at FHEM/Meta.pm line 8, <$fh> line 6475.
BEGIN failed--compilation aborted at FHEM/Meta.pm line 8, <$fh> line 6475.
Compilation failed in require at /opt/fhem/FHEM/59_Wunderground.pm line 15, <$fh> line 6475.
BEGIN failed--compilation aborted at /opt/fhem/FHEM/59_Wunderground.pm line 15, <$fh> line 6475.

2019.04.05 10:03:16.627 1: reload: Error:Modul 73_AMADCommBridge deactivated:
Attempt to reload FHEM/Meta.pm aborted.
Compilation failed in require at /opt/fhem/FHEM/73_AMADCommBridge.pm line 65, <$fh> line 8605.
BEGIN failed--compilation aborted at /opt/fhem/FHEM/73_AMADCommBridge.pm line 65, <$fh> line 8605.

2019.04.05 10:03:16.627 0: Attempt to reload FHEM/Meta.pm aborted.
Compilation failed in require at /opt/fhem/FHEM/73_AMADCommBridge.pm line 65, <$fh> line 8605.
BEGIN failed--compilation aborted at /opt/fhem/FHEM/73_AMADCommBridge.pm line 65, <$fh> line 8605.

2019.04.05 10:03:16.647 1: reload: Error:Modul 74_AMADDevice deactivated:
Attempt to reload FHEM/Meta.pm aborted.
Compilation failed in require at /opt/fhem/FHEM/74_AMADDevice.pm line 51, <$fh> line 8610.
BEGIN failed--compilation aborted at /opt/fhem/FHEM/74_AMADDevice.pm line 51, <$fh> line 8610.

2019.04.05 10:03:16.647 0: Attempt to reload FHEM/Meta.pm aborted.

2019.04.05 10:03:18.262 1: reload: Error:Modul 73_GardenaSmartBridge deactivated:
Attempt to reload FHEM/Meta.pm aborted.
Compilation failed in require at /opt/fhem/FHEM/73_GardenaSmartBridge.pm line 60, <$fh> line 10723.
BEGIN failed--compilation aborted at /opt/fhem/FHEM/73_GardenaSmartBridge.pm line 60, <$fh> line 10723.

2019.04.05 10:03:18.262 0: Attempt to reload FHEM/Meta.pm aborted.
Compilation failed in require at /opt/fhem/FHEM/73_GardenaSmartBridge.pm line 60, <$fh> line 10723.
BEGIN failed--compilation aborted at /opt/fhem/FHEM/73_GardenaSmartBridge.pm line 60, <$fh> line 10723.
...


Nach Auskommentieren von Zeile 8 in Meta.pm
use threads;
startet FHEM ohne Fehler.

Kann jetzt leider nicht beurteilen, ob es wirklich an Meta.pm liegt oder all den anderen Modulen?

Da ich im Bereich "FHEM Development (https://forum.fhem.de/index.php/board,48.0.html)" im Thread "Meta.pm: Metadaten über FHEM Module (https://forum.fhem.de/index.php/topic,97589.0.html)" leider nichts erstellen darf bin ich nun hier gelandet. Den Maintainer der Meta.pm habe ich per PN informiert.

Vielen Dank und Grüße,
Andreas

PS: Perl Version ist
This is perl 5, version 26, subversion 0 (v5.26.0) built for x86_64-linux
PPS: Mir ist bewußt, dass 59_Wunderground wegen geändertem API nicht mehr läuft, das entsprechende Device möchte ich aber erst einmal drin lassen, ist disabled.

Titel: Antw:Fehler beim Start von FHEM: Meta.pm (?)
Beitrag von: Loredo am 05 April 2019, 12:48:08
Ich denke ich kann den Workaround in Meta.pm entfernen, damit die Abhängigkeit an dieser Stelle nicht mehr gegeben ist.
Fix ist ins SVN eingecheckt.
Titel: Antw:Fehler beim Start von FHEM: Meta.pm (?)
Beitrag von: scooty am 05 April 2019, 15:54:10
Vielen Dank für die prompte Behebung!

Andreas