[gelöst] Warnmeldung HttpUtils.pm

Begonnen von P.A.Trick, 03 Juli 2016, 20:36:34

Vorheriges Thema - Nächstes Thema

P.A.Trick

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?
Cubietruck,RPI,QNAP Ts-419p+, FS20, FRITZ!DECT200, 7 MAX! Thermostate, 3 MAX! Fensterkontakte, Kodi, CUL V3.3, EM1000S, LW12, LD382, HUE, HM-CFG-USB-2, 1x HM-LC-SW1-FM, 2x HM-LC-SW2-FM, 2x HM-LC-Sw1PBU-FM, 3xHM-LC-Bl1PBU-FM,HM-SEC-RHS, 2xHM-SEC-SD,HM-WDS30-T-O, 3x HM-LC-Dim1TPBU-FM, RPI+AddOn

rudolfkoenig

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.

P.A.Trick

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!
Cubietruck,RPI,QNAP Ts-419p+, FS20, FRITZ!DECT200, 7 MAX! Thermostate, 3 MAX! Fensterkontakte, Kodi, CUL V3.3, EM1000S, LW12, LD382, HUE, HM-CFG-USB-2, 1x HM-LC-SW1-FM, 2x HM-LC-SW2-FM, 2x HM-LC-Sw1PBU-FM, 3xHM-LC-Bl1PBU-FM,HM-SEC-RHS, 2xHM-SEC-SD,HM-WDS30-T-O, 3x HM-LC-Dim1TPBU-FM, RPI+AddOn

P.A.Trick

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!
Cubietruck,RPI,QNAP Ts-419p+, FS20, FRITZ!DECT200, 7 MAX! Thermostate, 3 MAX! Fensterkontakte, Kodi, CUL V3.3, EM1000S, LW12, LD382, HUE, HM-CFG-USB-2, 1x HM-LC-SW1-FM, 2x HM-LC-SW2-FM, 2x HM-LC-Sw1PBU-FM, 3xHM-LC-Bl1PBU-FM,HM-SEC-RHS, 2xHM-SEC-SD,HM-WDS30-T-O, 3x HM-LC-Dim1TPBU-FM, RPI+AddOn