FHEM Forum

FHEM => Automatisierung => Thema gestartet von: P.A.Trick am 03 Juli 2016, 20:36:34

Titel: [gelöst] Warnmeldung HttpUtils.pm
Beitrag von: P.A.Trick am 03 Juli 2016, 20:36:34
Habe heute beim Update die folgende Warnmeldung entdeckt:

2016.07.03 20:28:06 1: PERL WARNING: Warning: Use of "rand" without parentheses is ambiguous at FHEM/HttpUtils.pm line 463, <$fh> line 24.

Kann ich das ignorieren?
Titel: Antw:Warnmeldung HttpUtils.pm
Beitrag von: rudolfkoenig am 04 Juli 2016, 09:01:16
Muss wohl mit einem Patch reingekommen sein, ich habe bisher diesen Syntax vermieden.
Habs gefixt und eingecheckt. Welche Perl-Version/OS verwendest du? Ich konnte die Warnung mit 5.16, 5.20 und 5.24 nicht reproduzieren.
Titel: Antw:Warnmeldung HttpUtils.pm
Beitrag von: P.A.Trick am 04 Juli 2016, 20:56:37
Ist auf meinem QNAP und dort ist eine alte Perl Version:

This is perl, v5.10.0 built for arm-none-linux-gnueabi


Teste morgen und melde mich!
Vielen Dank im Voraus!
Titel: Antw:Warnmeldung HttpUtils.pm
Beitrag von: P.A.Trick am 05 Juli 2016, 20:12:25
2016.07.05 20:11:00 0: Server started with 13 defined entities (fhem.pl:11715/2016-06-25 perl:5.010000 os:linux user:fhem pid:31734)
2016.07.05 20:11:00 0: Featurelevel: 5.7
2016.07.05 20:11:00 2: SecurityCheck:  WEB has no associated allowed device with basicAuth. telnetPort has no associated allowed device with password/globalpassword.  Restart FHEM for a new check if the problem is fixed, or set the global attribute motd to none to supress this message.
2016.07.05 20:11:00 1: usb create end
2016.07.05 20:10:57 1: usb create starting
2016.07.05 20:10:57 1: Including ./log/fhem.save
2016.07.05 20:10:57 1: Including ./FHEM/fhem_cmdalias.cfg
2016.07.05 20:10:57 2: eventTypes: loaded 21 events from ./log/eventTypes.txt
2016.07.05 20:10:57 3: WEB: port 8083 opened
2016.07.05 20:10:56 3: telnetPort: port 7072 opened
2016.07.05 20:10:56 1: Including fhem.cfg
2016.07.05 20:10:49 0: Server shutdown
2016.07.05 20:10:44 1: Logfile gelöscht



Nun ist wieder alles schön! Danke Rudolf!