SONOS: uninitialized value $value

Begonnen von Nobby1805, 03 November 2017, 18:54:44

Vorheriges Thema - Nächstes Thema

Nobby1805

Hallo Reiner,

nachdem ich wegen eines Problems mit Proplanta bei mir einiges ändern musste bekommen ich jetzt
2017.11.03 18:39:40.193 2: SONOS1: SonosPlayer 'Wohnzimmer' (ZP90) with ID 'RINCON_000E58A376D201400_MR' is already defined (as 'Sonos_Wohnzimmer') and will only be updated
Use of uninitialized value $value in concatenation (.) or string at ./FHEM/00_SONOS.pm line 10214, <$client> line 6.
Use of uninitialized value $value in concatenation (.) or string at ./FHEM/00_SONOS.pm line 10218, <$client> line 6.
Use of uninitialized value $value in concatenation (.) or string at ./FHEM/00_SONOS.pm line 10214, <$client> line 6.
Use of uninitialized value $value in concatenation (.) or string at ./FHEM/00_SONOS.pm line 10218, <$client> line 6.
2017.11.03 18:39:40.436 2: SONOS1: SonosPlayer 'Wohnzimmer' is now updated

ich habe mal in der Source geschaut ... und da ist zumindest an einer Stelle $value gewollt undef } elsif ($workType eq 'deleteAttribute') {
SONOS_Client_Data_Refresh('', $udn, $params[0], undef);

Zeile 2500

Gruß Nobby
FHEM-Featurelevel: 6.2   (fhem.pl:28227/2023-11-29) auf Windows 10 Pro mit Strawberry Perl 5.32.1.1-32bit
TabletUI: 2.7.15
IO: 2xHMLAN(0.965)|HMUSB2(0.967)

Nobby1805

 :-[ Oops, da habe ich wohl messerscharf die falsche Stelle in Verdacht gehabt ...Ich habe jetzt den undef-Zustand abgefragt und eine Fehlermeldung eingebaut

2017.11.04 13:43:23.825 0: SONOS1: value of currentTrackProviderIconRoundURL undef 6221
2017.11.04 13:43:23.826 0: SONOS1: value of currentTrackProviderIconQuadraticURL undef 6221
FHEM-Featurelevel: 6.2   (fhem.pl:28227/2023-11-29) auf Windows 10 Pro mit Strawberry Perl 5.32.1.1-32bit
TabletUI: 2.7.15
IO: 2xHMLAN(0.965)|HMUSB2(0.967)

Reinerlein

Hi Nobby,

ich habe das bei mir auch schon korrigiert.
Nur einige dieser TrackProvider-Geschichten habe ich noch offen, da diese aus dem Alexa-Umfeld kommen... das ist leider nicht so schön von Sonos gelöst...

Grüße
Reiner

awel

Zitat von: Nobby1805 am 04 November 2017, 13:49:44
...Ich habe jetzt den undef-Zustand abgefragt und eine Fehlermeldung eingebaut
Zitat von: Reinerlein am 04 November 2017, 16:41:17
ich habe das bei mir auch schon korrigiert.

Was muss ich tun, um auch in meiner Version den Fehler zu korrigieren?
Bin für jede Hilfe dankbar!

VG, Achim

dev0


Bastian0302

Guten Abend.
Mein Sonos Prozess bricht immer wieder ab und Verbindet sich dann sporadisch immer wieder mal.
Weis leider nicht mehr nach welchem Update das war.
Subscription request failed with error: 500 Internal Server Error at ./FHEM/00_SONOS.pm line 6282 thread 1.
Subscription request failed with error: 500 Internal Server Error at ./FHEM/00_SONOS.pm line 6282 thread 1.
Subscription request failed with error: 500 Internal Server Error at ./FHEM/00_SONOS.pm line 6282 thread 1.
Subscription request failed with error: 500 Internal Server Error at ./FHEM/00_SONOS.pm line 6282 thread 1.
2017.12.09 17:16:23 0: SONOS0: Das Lauschen auf der Schnittstelle wurde beendet. Prozess endet nun auch...
Subscription request failed with error: 500 Internal Server Error at ./FHEM/00_SONOS.pm line 6282 thread 1.
Subscription request failed with error: 500 Internal Server Error at ./FHEM/00_SONOS.pm line 6282 thread 1.
2017.12.09 17:20:10 0: SONOS0: Das Lauschen auf der Schnittstelle wurde beendet. Prozess endet nun auch...
2017.12.09 17:21:25 1: RMDIR: ./restoreDir/2017-09-26
Subscription request failed with error: 500 Internal Server Error at ./FHEM/00_SONOS.pm line 6282 thread 1.
Subscription request failed with error: 500 Internal Server Error at ./FHEM/00_SONOS.pm line 6282 thread 1.
2017.12.09 17:26:59 0: SONOS0: Das Lauschen auf der Schnittstelle wurde beendet. Prozess endet nun auch...
Subscription request failed with error: 500 Internal Server Error at ./FHEM/00_SONOS.pm line 6282 thread 1.
Subscription request failed with error: 500 Internal Server Error at ./FHEM/00_SONOS.pm line 6282 thread 1.
2017.12.09 17:31:45 0: SONOS0: Das Lauschen auf der Schnittstelle wurde beendet. Prozess endet nun auch...
Subscription request failed with error: 500 Internal Server Error at ./FHEM/00_SONOS.pm line 6282 thread 1.
Subscription request failed with error: 500 Internal Server Error at ./FHEM/00_SONOS.pm line 6282 thread 1.
Subscription request failed with error: 500 Internal Server Error at ./FHEM/00_SONOS.pm line 6282 thread 1.
Subscription request failed with error: 500 Internal Server Error at ./FHEM/00_SONOS.pm line 6282 thread 1.
2017.12.09 17:35:20 0: SONOS0: Das Lauschen auf der Schnittstelle wurde beendet. Prozess endet nun auch...


Das wird mir im Log angezeigt.
Irgendwas scheint also nicht mit dem Server zu stimmen.
Hab dafür allerdings zu wenig Erfahrung um den Fehler zu finden.

Schönes Wochenende noch. :)
Raspbarry Pi 3, Panstamp NRG 2, Cul 433Mhz Sender/Empfänger, Mcp23017 Ein/Ausgabebaugruppe, TabletUi, Doorpi mit Nextion/RFID und Integration in Fhem, Sonos

deppennase

Ich habe ein ählinches Problem wie Bastian0302:

nach jedem Neustart von FHEM kommt dieses hier ins Logfile:

Subscription request failed with error: 500 Internal Server Error at ./FHEM/00_SONOS.pm line 6098 thread 1.
Subscription request failed with error: 500 Internal Server Error at ./FHEM/00_SONOS.pm line 6098 thread 1.
Subscription request failed with error: 500 Internal Server Error at ./FHEM/00_SONOS.pm line 6098 thread 1.
Subscription request failed with error: 500 Internal Server Error at ./FHEM/00_SONOS.pm line 6098 thread 1.


Mein Sonos-Prozess crasht aktuell ca. einmal am Tag. Ehemals hat alles superstabil funktioniert (Steuerung per FS20-Schaltern und Alexa-Customfunktionen), aktuell ist es leider unbenutzbar.
Ich habe den Eindruck, dass die Kombination aus Sonos Speak und Alexa Ärger zu machen scheint...

Könnte mir bitte jemand helfen, wie ich genauere Infos zum Crash bereitstellen kann? Aktuell steht Sonos auf verbose 0.

hoppel118

Zitat von: deppennase am 23 August 2018, 08:59:03
Ich habe ein ählinches Problem wie Bastian0302:

nach jedem Neustart von FHEM kommt dieses hier ins Logfile:

Subscription request failed with error: 500 Internal Server Error at ./FHEM/00_SONOS.pm line 6098 thread 1.
Subscription request failed with error: 500 Internal Server Error at ./FHEM/00_SONOS.pm line 6098 thread 1.
Subscription request failed with error: 500 Internal Server Error at ./FHEM/00_SONOS.pm line 6098 thread 1.
Subscription request failed with error: 500 Internal Server Error at ./FHEM/00_SONOS.pm line 6098 thread 1.


Mein Sonos-Prozess crasht aktuell ca. einmal am Tag. Ehemals hat alles superstabil funktioniert (Steuerung per FS20-Schaltern und Alexa-Customfunktionen), aktuell ist es leider unbenutzbar.
Ich habe den Eindruck, dass die Kombination aus Sonos Speak und Alexa Ärger zu machen scheint...

Könnte mir bitte jemand helfen, wie ich genauere Infos zum Crash bereitstellen kann? Aktuell steht Sonos auf verbose 0.

Moinsen,

hast du jemals herausgefunden, was es damit auf sich hat?

Ich habe diese Meldungen auch im Logfile: https://forum.fhem.de/index.php/topic,94099.msg955488.html#msg955488

Viele Grüße Hoppel
Server: Openmediavault, XEON E3-1240L-v5, Supermicro X11SSH-CTF, 64GB ECC RAM, SSD, RAID-Z2
Homebridge | Alexa | Yowsup
Homematic | HomeConnect | MQTT | Philips Hue | Sonos | Unifi Network & Protect | vbus | Xiaomi

deppennase

@hoppel118: Nein, leider nicht. Diese Probleme (wie auch die anderen Probleme des Moduls) scheinen auch keinen zu interessieren.

Die Meldungen sind immer noch da und Sonos ist instabil wie eh und je.

Ausserdem habe ich noch das hier zu bieten:  ;)

PERL WARNING: Use of uninitialized value $logo in substitution (s///) at ./FHEM/00_SONOS.pm line 9270.

sTaN

Hallo Zusammen,

das Thema ist zwar schon älter, aber ich habe auch noch ein paar solcher Fehlermeldungen im Logfile:

Use of uninitialized value in concatenation (.) or string at ./FHEM/00_SONOS.pm line 4913.
Use of uninitialized value in concatenation (.) or string at ./FHEM/00_SONOS.pm line 4913.
Use of uninitialized value in concatenation (.) or string at ./FHEM/00_SONOS.pm line 4913.
Use of uninitialized value in concatenation (.) or string at ./FHEM/00_SONOS.pm line 4913.


Use of uninitialized value $strings in concatenation (.) or string at ./FHEM/00_SONOS.pm line 8997.

Use of uninitialized value $nextTrackMetaData in pattern match (m//) at ./FHEM/00_SONOS.pm line 7179.
Use of uninitialized value $nextTrackMetaData in pattern match (m//) at ./FHEM/00_SONOS.pm line 7177.
Use of uninitialized value $nextTrackMetaData in pattern match (m//) at ./FHEM/00_SONOS.pm line 7175.
Use of uninitialized value $nextTrackMetaData in pattern match (m//) at ./FHEM/00_SONOS.pm line 7173.
Use of uninitialized value $nextTrackMetaData in pattern match (m//) at ./FHEM/00_SONOS.pm line 7171.
Use of uninitialized value in subroutine entry at ./FHEM/00_SONOS.pm line 7164.
Use of uninitialized value $nextTrackMetaData in pattern match (m//) at ./FHEM/00_SONOS.pm line 7148.
Use of uninitialized value $nextTrackMetaData in pattern match (m//) at ./FHEM/00_SONOS.pm line 7147.
Use of uninitialized value $nextTrackMetaData in concatenation (.) or string at ./FHEM/00_SONOS.pm line 7145.
Use of uninitialized value $currentTrackMetaData in pattern match (m//) at ./FHEM/00_SONOS.pm line 7138.
Use of uninitialized value $currentTrackMetaData in pattern match (m//) at ./FHEM/00_SONOS.pm line 7135.
Use of uninitialized value $currentTrackMetaData in pattern match (m//) at ./FHEM/00_SONOS.pm line 7122.
Use of uninitialized value $currentTrackMetaData in pattern match (m//) at ./FHEM/00_SONOS.pm line 7116.
Use of uninitialized value $currentTrackMetaData in pattern match (m//) at ./FHEM/00_SONOS.pm line 7110.
Use of uninitialized value $currentTrackURI in pattern match (m//) at ./FHEM/00_SONOS.pm line 7099.
Use of uninitialized value $currentTrackURI in pattern match (m//) at ./FHEM/00_SONOS.pm line 7087.
Use of uninitialized value $currentTrackURI in pattern match (m//) at ./FHEM/00_SONOS.pm line 7071.
Use of uninitialized value $currentTrackURI in pattern match (m//) at ./FHEM/00_SONOS.pm line 7064.
Use of uninitialized value $currentTrackMetaData in pattern match (m//) at ./FHEM/00_SONOS.pm line 7022.
Use of uninitialized value in subroutine entry at ./FHEM/00_SONOS.pm line 7009.
Use of uninitialized value $currentTrackMetaData in concatenation (.) or string at ./FHEM/00_SONOS.pm line 7006.
Use of uninitialized value $currentTrackURI in concatenation (.) or string at ./FHEM/00_SONOS.pm line 7006.
Use of uninitialized value $currentTrackMetaData in concatenation (.) or string at ./FHEM/00_SONOS.pm line 7005.
Use of uninitialized value $enqueuedTransportMetaData in pattern match (m//) at ./FHEM/00_SONOS.pm line 6979.
Use of uninitialized value $enqueuedTransportMetaData in concatenation (.) or string at ./FHEM/00_SONOS.pm line 6978.
Use of uninitialized value $currentTrackURI in pattern match (m//) at ./FHEM/00_SONOS.pm line 6970.
Use of uninitialized value $currentTrackURI in pattern match (m//) at ./FHEM/00_SONOS.pm line 6965.
Use of uninitialized value $currentTrackURI in concatenation (.) or string at ./FHEM/00_SONOS.pm line 6958.
Use of uninitialized value $currentTrackURI in substitution (s///) at ./FHEM/00_SONOS.pm line 6957.


Wie darf ich hier bei der Lösungsfindung beitragen?

Gruß
sTaN
Raspberry Pi 3
2 x CUL CC1101-USB-Lite 868MHz
FS20 Komponenten, Philips HUE, Alexa-Fhem, MAX! Geräte, homebridge, harmony, Unifi, FirtzBox, MQTT, Aurora, Denon, Sonos, TabletUI, CALENDAR, EGPM2LAN, Pushover

sTaN

Hallo Zusammen, gibt es vielleicht doch noch jemanden, der bei auftretender Fehlermeldung im Log des 00_SONOS.pm Moduls zu helfen?

Use of uninitialized value in concatenation (.) or string at ./FHEM/00_SONOS.pm line 4913.
Nach wie vor erhalte ich bei jeder gemachten Sprachausgabe (z.B.: msg audio @Sonos_Buero Test) diese Meldung:

Use of uninitialized value in concatenation (.) or string at ./FHEM/00_SONOS.pm line 4913.
mein globalMSG device hat folgende Konfiguration:

Internals:
   FUUID      XXXXXXXXXXXXXXXXXXXXXXX
   FVERSION   75_msgConfig.pm:0.269650/2023-01-05
   NAME       globalMsg
   NOTIFYDEV  TYPE=(Jabber|TelegramBot|yowsup|Signalbot)
   NR         725
   NTFY_ORDER 50-globalMsg
   STATE      1
   TYPE       msgConfig
   eventCount 4
   READINGS:
     2023-10-25 11:16:22   fhemMsgAudio    \@Sonos_Buero Test
     2023-10-25 11:16:22   fhemMsgAudioGw  -
     2023-10-25 11:16:22   fhemMsgAudioPrio 0
     2023-10-25 11:16:22   fhemMsgAudioState 0
     2023-10-25 11:16:22   fhemMsgAudioTitle -
     2023-10-26 12:20:34   fhemMsgPush     Das ist eine Testnachricht.
     2023-10-26 12:20:34   fhemMsgPushGw    PushsTaN:OK
     2023-10-26 12:20:34   fhemMsgPushPrio 0
     2023-10-26 12:20:34   fhemMsgPushState 1
     2023-10-26 12:20:34   fhemMsgPushTitle -
     2023-10-26 12:20:34   fhemMsgState    1
     2023-10-26 12:20:34   fhemMsgStateTypes push:1 forwards:text>push
Attributes:
   comment    FHEM Global Configuration for command 'msg'
   group      Global
   msgContactPush PushsTaN
   msgType    text
   room       Zentral
   stateFormat fhemMsgState
   verbose    2

Danke und Gruß
sTaN

Raspberry Pi 3
2 x CUL CC1101-USB-Lite 868MHz
FS20 Komponenten, Philips HUE, Alexa-Fhem, MAX! Geräte, homebridge, harmony, Unifi, FirtzBox, MQTT, Aurora, Denon, Sonos, TabletUI, CALENDAR, EGPM2LAN, Pushover

Nobby1805

Mach doch mal ein List des Sonos-Moduls ...

Zeile 4913 ist bei mir: $speakDefinition =~ s/%filename%/$destFileName/gi;

kurz danach kommt in Zeile 4919: SONOS_Log $udn, 5, 'Execute: '.$speakDefinition;
also könnte es sinnvoll sein, erst einmal beim Sonos-Modul Verbose auf 5 zu setzen
FHEM-Featurelevel: 6.2   (fhem.pl:28227/2023-11-29) auf Windows 10 Pro mit Strawberry Perl 5.32.1.1-32bit
TabletUI: 2.7.15
IO: 2xHMLAN(0.965)|HMUSB2(0.967)