Hauptmenü

PERL WARNING

Begonnen von spike08122, 27 November 2015, 19:46:01

Vorheriges Thema - Nächstes Thema

spike08122

Hallo Zusammen,

ich habe einiges in FHEM rumprobiert, jetzt hab ich im Log aber folgenden PEARL WARNING Meldung

2015.11.27 19:29:26 1: PERL WARNING: Use of uninitialized value $ts1 in concatenation (.) or string at ./FHEM/59_Weather.pm line 462, <$fh> line 139.
2015.11.27 19:29:26 1: DEBUG>ts1= , ts2= 1448647200
2015.11.27 19:29:27 1: Including ./log/fhem.save
2015.11.27 19:29:30 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at FHEM/Blocking.pm line 105.
2015.11.27 19:29:30 1: CallBlockingFn: Can't connect to localhost:: IO::Socket::INET: Bad hostname 'localhost:'

Auch den DEBUG-Eintrag hab ich alle 10 Minuten. Leider hab ich keine Ahnung, wo ich die Fehler suchen soll und wie ich das wieder in Ordnung bringen kann.

Vielleicht hat jemand n Tipp für mich.

Danke


@JoWiemann Danke für den Hinweis :-)
FHEM auf RPI B+, Steuerung von Baumarktsteckdosen (ELRO), Steuerung der Aquariumbeleuchtung mit LD382 in Planung, WLAN Temp-Sensor mit ESP8266 und EPSEasy

JoWiemann

PEARL ist ein Versandhandel; Perl die Programmiersprache :-)
Jörg Wiemann

Slave: RPi B+ mit 512 MB, COC (868 MHz), CUL V3 (433.92MHz SlowRF); FHEMduino, Aktuelles FHEM

Master: CubieTruck; Debian; Aktuelles FHEM

franky08

#2
Zitat2015.11.27 19:29:26 1: DEBUG>ts1= , ts2= 1448647200

Das kommt vom Weather Modul ---> update machen
Zitat2015.11.27 19:29:30 1: CallBlockingFn: Can't connect to localhost:: IO::Socket::INET: Bad hostname 'localhost:'

Wahrscheinlich stimmt der localhost nicht oder ist nicht angegeben ---> muss auf 127.0.0.1 liegen, mal nachsehen

in der /etc/hosts sollte
127.0.0.1 localhost

stehen.
Debian Bookworm auf HUNSN / Debian Bullseye auf 2.ter HUNSN F2F an 2x RaspiB
mit FHEM aktuell
22Zoll ViewSonic als Infodislay (WVC)
3xHMLAN mit vccu, raspmatic_rpi3, HMIP-HCU1

spetial

#3
Zitat von: franky08 am 27 November 2015, 20:03:20

Wahrscheinlich stimmt der localhost nicht oder ist nicht angegeben ---> muss auf 127.0.0.1 liegen, mal nachsehen

in der /etc/hosts sollte
127.0.0.1 localhost
stehen.

Ich habe die gleiche Meldung

2015.11.27 16:12:18 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at FHEM/Blocking.pm line 105.
2015.11.27 16:12:18 1: CallBlockingFn: Can't connect to localhost:: IO::Socket::INET: Bad hostname 'localhost:'


in der /etc/hosts steht bei mir :

127.0.0.1 localhost
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters

127.0.1.1 raspberrypi


und die 105 Linie von Blocking.pm das ist bei mir:

my $addr = "localhost:$defs{$telnetDevice}{PORT}";

leider habe ich auch keine Ahnung :D

EDIT:

Vielleicht das hat was zu bedeuten?

2015.11.28 08:44:09 0: Server started with 45 defined entities (version $Id: fhem.pl 9993 2015-11-24 18:40:02Z rudolfkoenig $, os linux, user fhem, pid 11813)
2015.11.28 08:44:09 3: telnetForBlockingFn: port 58176 opened
2015.11.28 08:44:13 0: Server shutdown
2015.11.28 08:44:16 1: CallBlockingFn: Can't connect to localhost:58176: IO::Socket::INET: connect: Connection refused

franky08

Debian Bookworm auf HUNSN / Debian Bullseye auf 2.ter HUNSN F2F an 2x RaspiB
mit FHEM aktuell
22Zoll ViewSonic als Infodislay (WVC)
3xHMLAN mit vccu, raspmatic_rpi3, HMIP-HCU1

spetial

Zitat von: franky08 am 28 November 2015, 09:51:53
Mal hier nachsehen:
http://forum.fhem.de/index.php/topic,40509.msg327492.html#msg327492

hängt mit dem telnet zusammen.

VG
Frank

Danke! ich hab schon telnet so definiert gehabt
define localTelnet telnet 7072
attr localTelnet password dxxxxxxxxxxxxxxxxxx1
attr localTelnet SSL 1


das habe ich aber mit

define tPort telnet 7072 global
attr tPort SSL 1
attr tPort globalpassword dxxxxxxxxxxxxxxx1


ersetzt und bis jetzt sieht's gut aus!