FHEM Forum

FHEM => Frontends => Thema gestartet von: lucian am 20 September 2017, 20:09:30

Titel: cannot load module weekprofile
Beitrag von: lucian am 20 September 2017, 20:09:30
hi,
hatte weekprofile vor 1 jahr laufen.

jetzt kommt immer die fhelermeldung "cannot load module weekprofile". habe auch schon

sudo apt-get install libjson-pp-perl

gemacht, welches auch installiert wurde.

wie kann ich weiter debuggen um die ursache zu finden?
Titel: Antw:cannot load module weekprofile
Beitrag von: rudolfkoenig am 20 September 2017, 20:43:21
Was steht denn im FHEM-Log?
Titel: Antw:cannot load module weekprofile
Beitrag von: lucian am 21 September 2017, 20:26:40
Lösung:

sudo apt-get install libjson-perl libdigest-md5-file-perl liblwp-protocol-https-perl liblwp-protocol-http-socketunix-perl

-> sollte vielleicht ins wiki    (sudo apt-get install libjson-pp-perl   reichte bei mir jedenfalls nicht)


LOG:

Can't locate JSON.pm in @INC (you may need to install the JSON module) (@INC contains: . /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.22.1 /usr/local/share/perl/5.22.1 /usr/lib/x86_64-linux-gnu/perl5/5.22 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.22 /usr/share/perl/5.22 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base ./FHEM) at ./FHEM/98_weekprofile.pm line 13, <$fh> line 75.