FHEM Forum

FHEM => Anfängerfragen => Thema gestartet von: cwagner am 10 Juli 2015, 08:00:57

Titel: Statistics-Modul lässt nicht mehr starten
Beitrag von: cwagner am 10 Juli 2015, 08:00:57
Nach einem update auf die aktuellste Version wird das Modul 98_statistics überhaupt nicht mehr gestartet:

2015.07.10 07:50:34 1: PERL WARNING: Unrecognized escape \d passed through at ./FHEM/98_statistics.pm line 843.
2015.07.10 07:50:34 1: reload: Error:Modul 98_statistics deactivated:
Global symbol "$devName" requires explicit package name at ./FHEM/98_statistics.pm line 843.
Missing right curly or square bracket at ./FHEM/98_statistics.pm line 1399, at end of line
syntax error at ./FHEM/98_statistics.pm line 1399, at EOF

2015.07.10 07:50:34 0: Global symbol "$devName" requires explicit package name at ./FHEM/98_statistics.pm line 843.
Missing right curly or square bracket at ./FHEM/98_statistics.pm line 1399, at end of line
syntax error at ./FHEM/98_statistics.pm line 1399, at EOF

Perl-Version siehe mein Footer.

Hat schon mal jemand dies gehabt oder eine Idee zum Lösungsansatz?

Danke im Voraus

Christian
Titel: Antw:Statistics-Modul lässt sich auf Raspberry PI2 gar nicht starten
Beitrag von: l3skon3 am 10 Juli 2015, 08:23:27
Kann ich momentan bestätigen.
Titel: Antw:Statistics-Modul lässt sich auf Raspberry PI2 gar nicht starten
Beitrag von: Nemo0815 am 10 Juli 2015, 08:32:41
Hab ich auch schon im anderen Forum gepostet.

Die Lösung ist eine geschweifte Klammer am Ende der Funktion einzufügen und das my $devName zu definieren ...