nUpdate :Use of uninitialized...string eq at fhem.pl line 3376, <$fh> line 273.

Begonnen von Navigator, 28 Juli 2015, 20:44:56

Vorheriges Thema - Nächstes Thema

Navigator

Nachdem ich heute mal wieder ein Update angeschoben habe, bekomme ich nach Neustart von FHEM eine unitialized value Meldung.

HMLAN_Parse: HMusb new condition disconnected
2015.07.28 20:36:17 3: Opening HMusb device 127.0.0.1:1234
2015.07.28 20:36:17 3: HMusb device opened
2015.07.28 20:36:17 1: HMLAN_Parse: HMusb new condition init
2015.07.28 20:36:18 1: Including ./log/fhem.save
Use of uninitialized value in string eq at fhem.pl line 3376, <$fh> line 273.
Use of uninitialized value in join or string at fhem.pl line 3390, <$fh> line 273.
Use of uninitialized value in string eq at fhem.pl line 3376, <$fh> line 277.
Use of uninitialized value in join or string at fhem.pl line 3390, <$fh> line 277.
2015.07.28 20:36:18 3: Device Badtuer added to ActionDetector with 000:50 time
2015.07.28 20:36:19 3: Opening Squeezebox_Server_Modul device 127.0.0.1:9090
2015.07.28 20:36:19 3: Squeezebox_Server_Modul device opened


Auf einer alternativen Plattform habe ich versucht das Update nur in Teilstücken einzuspielen, angefangen bei der fhem.pl und ein paar benutzen Modulen. Leider konnte ich den Fehler nicht eingrenzen. Kann mir jemand einen Tipp geben?
Gruß aus Sachsen. FHEM auf Cubietruck. Vormals EZControl XS1 User.

Navigator

Nachtrag. Nachdem ich meine Config in einer FHEM Umgebung ohne fhem.save und ohne eventTypes gestartet habe, erhalte ich diese Meldung nicht. Mache ich jedoch einen FHEM Neustart und diese beiden Dateien werden angelegt, erhalte ich nach der Initialisierung von FHEM wieder die Besagten Meldungen im Log. Ein Verbose 5 bringt leider auch nicht mehr Ergebnisse und die Zugriffsrechte habe ich soweit geprüft.

# $Id: fhem.pl 9002 2015-07-29 05:46:10Z rudolfkoenig $
# $Id: 00_CUL.pm 9002 2015-07-29 05:46:10Z rudolfkoenig $
# $Id: 09_CUL_FHTTK.pm 7529 2015-01-11 18:52:43Z matscher $
# $Id: 10_CUL_HM.pm 8976 2015-07-26 06:22:16Z martinp876 $
# $Id: 14_CUL_WS.pm 8497 2015-04-30 09:23:21Z rudolfkoenig $
# $Id: 01_FHEMWEB.pm 9002 2015-07-29 05:46:10Z rudolfkoenig $
# $Id: 11_FHT.pm 5070 2014-02-28 07:48:55Z rudolfkoenig $
# $Id: 10_FS20.pm 7070 2014-11-27 12:45:34Z rudolfkoenig $
# $Id: 92_FileLog.pm 8927 2015-07-09 07:12:52Z rudolfkoenig $
# $Id: 00_HMLAN.pm 8885 2015-07-04 08:45:34Z martinp876 $
# $Id: 12_HMS.pm 5097 2014-03-02 15:25:08Z rudolfkoenig $
# $Id: 98_HMinfo.pm 8975 2015-07-26 06:20:41Z martinp876 $
# $Id: 98_SB_PLAYER.pm 8773 beta 0043 CD/MM/Matthew $
# $Id: 97_SB_SERVER.pm beta 20141120 0015 CD $
# $Id: 99_SUNRISE_EL.pm 6765 2014-10-14 18:24:29Z rudolfkoenig $
# $Id: 98_SVG.pm 8965 2015-07-14 13:56:38Z rudolfkoenig $
# $Id: 42_SYSMON.pm 8998 2015-07-28 08:54:05Z hexenmeister $
# $Id: 45_TRX.pm 5957 2014-05-24 13:46:29Z wherzig $
# $Id: 46_TRX_LIGHT.pm 6225 2014-07-09 18:36:02Z wherzig $
# $Id: 98_Text2Speech.pm 8898 2015-07-05 17:35:01Z tobiasfaust $
# $Id: 99_Utils.pm 7914 2015-02-08 11:14:10Z rudolfkoenig $
# $Id: 59_Weather.pm 8937 2015-07-11 12:56:21Z borisneubert $
# $Id: 90_at.pm 8326 2015-03-29 13:30:57Z rudolfkoenig $
# $Id: 98_autocreate.pm 8758 2015-06-16 17:12:39Z rudolfkoenig $
# $Id: 98_dummy.pm 8809 2015-06-23 18:02:33Z rudolfkoenig $
# $Id: 91_eventTypes.pm 8725 2015-06-10 09:50:06Z rudolfkoenig $
# $Id: 95_holiday.pm 8723 2015-06-10 09:09:01Z rudolfkoenig $
# $Id: 91_notify.pm 8953 2015-07-13 15:13:06Z rudolfkoenig $
# $Id: 33_readingsGroup.pm 8980 2015-07-26 08:03:43Z justme1968 $
# $Id: 33_readingsHistory.pm 8951 2015-07-12 21:45:34Z justme1968 $
# $Id: $
# $Id: 98_structure.pm 8330 2015-03-29 16:14:59Z rudolfkoenig $
# $Id: 98_telnet.pm 8952 2015-07-13 12:30:26Z rudolfkoenig $
# $Id: 98_weblink.pm 5608 2014-04-23 10:57:16Z rudolfkoenig $
Gruß aus Sachsen. FHEM auf Cubietruck. Vormals EZControl XS1 User.

Navigator

...falls jemand das selbe Problem haben sollte hier die Ursache.

ZitatChrisD schrieb: Beim Start von FHEM werden die states aus fhem.save gesetzt. Dabei werden Datum, Readingsname und der Wert eingelesen. Wenn ein eventMap definiert ist wird leider nicht überprüft ob überhaupt ein Wert vorliegt was dann zu den Fehlermeldungen führt. Das Problem betrifft alle Module die leere Readings verwenden, beim SB_PLAYER -Modul können dies z.B. currentArtist oder currentAlbum sein. Ich habe keine Informationen darüber finden können ob leere Readings zulässig sind oder nicht.

Es gibt 2 Möglichkeiten den Fehler zu beheben:
- fhem.pl wird angepasst und es wird vor dem Aufruf von ReplaceEventMap geprüft ob überhaupt ein Wert vorliegt, dies würde das Problem für alle Module lösen
- in SB_PLAYER muss sichergestellt werden dass es keine leeren Readings gibt, da dies für unterschiedliche Readings passieren kann müsste ich jeweils einen passenden Ersatzwert setzen. Dies wird aber Nebenwirkungen bei der Darstellung der Readings haben.
Gruß aus Sachsen. FHEM auf Cubietruck. Vormals EZControl XS1 User.

rudolfkoenig

Koennt ihr mir bitte ein Beispiel (Definition, Attribute und setstate Zeilen aus fhem.save) anhaengen, damit ich das "richtig" fixen kann?

Navigator

Aber gern doch....



setstate Internetradio OFF
setstate Internetradio 2015-08-09 14:12:43 alarmsDefaultVolume 50
setstate Internetradio 2015-08-09 14:12:43 alarmsEnabled on
setstate Internetradio 2015-08-09 14:12:43 alarmsFadeIn on
setstate Internetradio 2015-08-09 14:12:43 alarmsSnooze 9
setstate Internetradio 2015-08-09 14:12:43 alarmsTimeout 60
setstate Internetradio 2015-08-09 14:12:43 connected 1
setstate Internetradio 2015-08-09 14:12:43 coverarturl http://www.mysqueezebox.com/public/imageproxy?u=%2Fplugins%2FRadioTime%2Fhtml%2Fimages%2Fpodcasts.png&h=50&w=50
setstate Internetradio 2015-08-09 14:12:43 currentAlbum
setstate Internetradio 2015-08-09 14:12:43 currentArtist FFH EURODANCE: MC SAR & THE REAL McCOY
setstate Internetradio 2015-08-09 12:02:34 currentMedia ?
setstate Internetradio 2015-08-09 14:12:43 currentPlaylistName FFH Eurodance (Deutschland)
setstate Internetradio 2015-08-09 14:12:43 currentPlaylistUrl
setstate Internetradio 2015-08-09 14:12:43 currentTitle ANOTHER NIGHT
setstate Internetradio 2015-08-09 14:12:43 duration 0
setstate Internetradio 2015-08-09 14:12:43 favorites -
setstate Internetradio 2015-08-09 12:02:34 lastir ?
setstate Internetradio 2015-08-09 12:02:34 lastunkowncmd none
setstate Internetradio 2015-08-09 14:12:43 playStatus stopped
setstate Internetradio 2015-08-09 14:12:43 playlistCurrentTrack 1
setstate Internetradio 2015-08-09 14:12:43 playlistTracks 1
setstate Internetradio 2015-08-09 14:12:43 playlists FFH_Eurodance_Deutschland
setstate Internetradio 2015-08-09 14:12:43 power off
setstate Internetradio 2015-08-09 14:12:43 presence present
setstate Internetradio 2015-08-09 14:12:43 repeat off
setstate Internetradio 2015-08-09 14:12:43 shuffle off
setstate Internetradio 2015-08-09 14:12:43 signalstrength 100
setstate Internetradio 2015-08-09 14:12:43 state off
setstate Internetradio 2015-08-09 14:12:43 synced none
setstate Internetradio 2015-08-09 14:12:43 volume 38
setstate Internetradio 2015-08-09 14:12:43 volumeStraight 38
setstate Internetradio_Bad OFF
setstate Internetradio_Bad 2015-08-09 13:10:30 state off



Internals:
   AMPLIFIER  Lautsprecher
   ARTWORKURL %2Fplugins%2FRadioTime%2Fhtml%2Fimages%2Fpodcasts.png
   CANPOWEROFF 1
   CHANGED
   COVERARTLINK none
   COVERARTURL http://www.mysqueezebox.com/public/imageproxy?u=%2Fplugins%2FRadioTime%2Fhtml%2Fimages%2Fpodcasts.png&h=50&w=50
   COVERID    -79718080
   DEF        00:04:20:22:0f:e7 ampl:Lautsprecher
   DISPLAYTYPE none
   FAVREF
   FAVSELECT  -
   FAVSET     favorites
   FAVSTR     Eins_Live,NRJ_Energy_Sachsen,NRJ_Hot,NRJ_Rock,PsyRadio_FM,Radio_Dresden_1035_Top_40_Hits,Absolut_Radio,SAW-90er_Germany,MDR_JUMP_890_Adult_Contemporary,NRJ_Dance,radio_SAW,1Dance_FM_Vereinigte_Staaten,sunshine_live,NRJ_Pop
   FHEMUID    000420220fe7
   IODev      Squeezebox_Server_Modul
   ISREMOTESTREAM 1
   LASTALARM  1
   LASTANSWER mode stop
   LASTInputDev Squeezebox_Server_Modul
   MODEL      fab4
   MSGCNT     1337
   NAME       Internetradio
   NR         93
   NTFY_ORDER 50-Internetradio
   PLAYERIP   192.168.178.57:41728
   PLAYERMAC  00:04:20:22:0f:e7
   PLAYERNAME Squeezebox Touch
   SBSERVER   127.0.0.1:9000
   SERVERPLAYLISTS Ohne_Titel
   STATE      OFF
   SYNCED     no
   SYNCGROUP  none
   SYNCGROUPPN none
   SYNCMASTER none
   SYNCMASTERPN none
   SYNCMASTERS iPad
   SYNCVOLUME 0
   Squeezebox_Server_Modul_MSGCNT 1337
   Squeezebox_Server_Modul_TIME 2015-08-09 17:14:41
   TYPE       SB_PLAYER
   WILLSLEEPIN ?
   Readings:
     2015-08-09 17:14:41   alarmsDefaultVolume 50
     2015-08-09 17:14:41   alarmsEnabled   on
     2015-08-09 17:14:41   alarmsFadeIn    on
     2015-08-09 17:14:41   alarmsSnooze    9
     2015-08-09 17:14:41   alarmsTimeout   60
     2015-08-09 17:14:41   connected       1
     2015-08-09 17:14:41   coverarturl     http://www.mysqueezebox.com/public/imageproxy?u=%2Fplugins%2FRadioTime%2Fhtml%2Fimages%2Fpodcasts.png&h=50&w=50
     2015-08-09 17:14:41   currentAlbum
     2015-08-09 17:14:41   currentArtist   FFH EURODANCE: Soultans
     2015-08-09 14:44:40   currentMedia    http://mp3.ffh.de/ffhchannels/eurodance.aac
     2015-08-09 17:14:41   currentPlaylistName FFH Eurodance (Deutschland)
     2015-08-09 17:14:41   currentPlaylistUrl
     2015-08-09 17:14:41   currentTitle    Every Little Move
     2015-08-09 17:14:41   duration        0
     2015-08-09 17:14:41   favorites       -
     2015-08-09 12:02:34   lastir          ?
     2015-08-09 15:55:11   lastunkowncmd   menustatus ARRAY(0x4a0efe0) add 00:04:20:22:0f:e7
     2015-08-09 17:14:41   playStatus      stopped
     2015-08-09 17:14:41   playlistCurrentTrack 1
     2015-08-09 17:14:41   playlistTracks  1
     2015-08-09 17:14:41   playlists       FFH_Eurodance_Deutschland
     2015-08-09 17:14:41   power           off
     2015-08-09 17:14:41   presence        present
     2015-08-09 17:14:41   repeat          off
     2015-08-09 17:14:41   shuffle         off
     2015-08-09 17:14:41   signalstrength  100
     2015-08-09 17:14:41   state           off
     2015-08-09 17:14:41   synced          none
     2015-08-09 17:14:41   volume          36
     2015-08-09 17:14:41   volumeStraight  36
   Helper:
     ALARMSCOUNT 0
     CoverOk    0
     amplifierDelayOffPause 0
     amplifierDelayOffPower 20
     amplifierDelayOffStop 20
     lastGetStatus 1439133281.09824
     lastModeQuery 1439133281.27481
     lastTimeQuery 1439133281.13031
     playerStatusOK 1
     playerStatusOKCounter 0
     playlistIds -79718080
     ttsstate   0
     Sb_player_favs:
       1dance_fm_vereinigte_staaten:
         ID         f36cfcf8.13
         URL        http://opml.radiotime.com/Tune.ashx?id=s95883&formats=aac,ogg,mp3,wma,wmvoice&partnerId=16&serial=80908505cdbaa829bb6fd41b44292e3d
       Absolut_radio:
         ID         f36cfcf8.5
         URL        http://opml.radiotime.com/Tune.ashx?id=s142194&partnerId=16
       Eins_live:
         ID         f36cfcf8.8
         URL        http://metafiles.gl-systemhaus.de/wdr/channel_einslive.m3u
       Mdr_jump_890_adult_contemporary:
         ID         f36cfcf8.3
         URL        http://opml.radiotime.com/Tune.ashx?id=s56260&partnerId=16
       Nrj_dance:
         ID         f36cfcf8.10
         URL        http://opml.radiotime.com/Tune.ashx?id=s74406&partnerId=16
       Nrj_energy_sachsen:
         ID         f36cfcf8.2
         URL        http://opml.radiotime.com/Tune.ashx?id=s58004&partnerId=16
       Nrj_hot:
         ID         f36cfcf8.11
         URL        http://opml.radiotime.com/Tune.ashx?id=s96837&partnerId=16
       Nrj_pop:
         ID         f36cfcf8.12
         URL        http://opml.radiotime.com/Tune.ashx?id=s96818&partnerId=16
       Nrj_rock:
         ID         f36cfcf8.9
         URL        http://opml.radiotime.com/Tune.ashx?id=s74409&partnerId=16
       Psyradio_fm:
         ID         f36cfcf8.4
         URL        http://opml.radiotime.com/Tune.ashx?id=s2393&formats=aac,ogg,mp3,wmpro,wma,wmvoice&partnerId=16&serial=80908505cdbaa829bb6fd41b44292e3d
       Radio_dresden_1035_top_40_hits:
         ID         f36cfcf8.1
         URL        http://opml.radiotime.com/Tune.ashx?id=s84589&formats=aac,ogg,mp3,wmpro,wma,wmvoice&partnerId=16&serial=80908505cdbaa829bb6fd41b44292e3d
       Saw-90er_germany:
         ID         f36cfcf8.7
         URL        http://opml.radiotime.com/Tune.ashx?id=s107543&partnerId=16&filter=s:popular
       Radio_saw:
         ID         f36cfcf8.6
         URL        http://opml.radiotime.com/Tune.ashx?id=s17732&formats=aac,ogg,mp3,wmpro,wma,wmvoice&partnerId=16&serial=80908505cdbaa829bb6fd41b44292e3d
       Sunshine_live:
         ID         f36cfcf8.14
         URL        http://opml.radiotime.com/Tune.ashx?id=s10637&partnerId=16
     Sb_player_playlists:
       Ohne_titel:
         ID         229
         NAME       Ohne_Titel
     Sb_player_syncmasters:
       Ipad:
         MAC        10:93:e9:5c:5f:54
     Alarmplaylists:
       Aktuelle_wiedergabeliste_verwenden:
         category   Aktuelle Wiedergabeliste
         title      Aktuelle Wiedergabeliste verwenden
         url        Aktuelle Wiedergabeliste verwenden
       Filepubliclogitechmediaserverohne_titelm3u:
         category   Wiedergabelisten
         title      Ohne Titel
         url        file:///public/Logitechmediaserver/Ohne Titel.m3u
       Httpmetafilesgl-systemhausdewdrchannel_einslivem3u:
         category   Favoriten
         title      Eins Live
         url        http://metafiles.gl-systemhaus.de/wdr/channel_einslive.m3u
       Httpopmlradiotimecomtuneashxid=s10637partnerid=16:
         category   Favoriten
         title      sunshine live
         url        http://opml.radiotime.com/Tune.ashx?id=s10637&partnerId=16
       Httpopmlradiotimecomtuneashxid=s107543partnerid=16filter=spopular:
         category   Favoriten
         title      SAW-90er (Germany)
         url        http://opml.radiotime.com/Tune.ashx?id=s107543&partnerId=16&filter=s:popular
       Httpopmlradiotimecomtuneashxid=s142194partnerid=16:
         category   Favoriten
         title      Absolut Radio
         url        http://opml.radiotime.com/Tune.ashx?id=s142194&partnerId=16
       Httpopmlradiotimecomtuneashxid=s17732formats=aacoggmp3wmprowmawmvoicepartnerid=16serial=80908505cdbaa829bb6fd41b44292e3d:
         category   Favoriten
         title      radio SAW
         url        http://opml.radiotime.com/Tune.ashx?id=s17732&formats=aac,ogg,mp3,wmpro,wma,wmvoice&partnerId=16&serial=80908505cdbaa829bb6fd41b44292e3d
       Httpopmlradiotimecomtuneashxid=s2393formats=aacoggmp3wmprowmawmvoicepartnerid=16serial=80908505cdbaa829bb6fd41b44292e3d:
         category   Favoriten
         title      PsyRadio FM
         url        http://opml.radiotime.com/Tune.ashx?id=s2393&formats=aac,ogg,mp3,wmpro,wma,wmvoice&partnerId=16&serial=80908505cdbaa829bb6fd41b44292e3d
       Httpopmlradiotimecomtuneashxid=s56260partnerid=16:
         category   Favoriten
         title      MDR JUMP 89.0 (Adult Contemporary)
         url        http://opml.radiotime.com/Tune.ashx?id=s56260&partnerId=16
       Httpopmlradiotimecomtuneashxid=s58004partnerid=16:
         category   Favoriten
         title      NRJ Energy Sachsen
         url        http://opml.radiotime.com/Tune.ashx?id=s58004&partnerId=16
       Httpopmlradiotimecomtuneashxid=s74406partnerid=16:
         category   Favoriten
         title      NRJ Dance
         url        http://opml.radiotime.com/Tune.ashx?id=s74406&partnerId=16
       Httpopmlradiotimecomtuneashxid=s74409partnerid=16:
         category   Favoriten
         title      NRJ Rock
         url        http://opml.radiotime.com/Tune.ashx?id=s74409&partnerId=16
       Httpopmlradiotimecomtuneashxid=s84589formats=aacoggmp3wmprowmawmvoicepartnerid=16serial=80908505cdbaa829bb6fd41b44292e3d:
         category   Favoriten
         title      Radio Dresden 103.5 (Top 40 Hits)
         url        http://opml.radiotime.com/Tune.ashx?id=s84589&formats=aac,ogg,mp3,wmpro,wma,wmvoice&partnerId=16&serial=80908505cdbaa829bb6fd41b44292e3d
       Httpopmlradiotimecomtuneashxid=s95883formats=aacoggmp3wmawmvoicepartnerid=16serial=80908505cdbaa829bb6fd41b44292e3d:
         category   Favoriten
         title      1Dance FM (Vereinigte Staaten)
         url        http://opml.radiotime.com/Tune.ashx?id=s95883&formats=aac,ogg,mp3,wma,wmvoice&partnerId=16&serial=80908505cdbaa829bb6fd41b44292e3d
       Httpopmlradiotimecomtuneashxid=s96818partnerid=16:
         category   Favoriten
         title      NRJ Pop
         url        http://opml.radiotime.com/Tune.ashx?id=s96818&partnerId=16
       Httpopmlradiotimecomtuneashxid=s96837partnerid=16:
         category   Favoriten
         title      NRJ Hot
         url        http://opml.radiotime.com/Tune.ashx?id=s96837&partnerId=16
       Loopcontentmysqueezeboxcomstaticsoundseffectsambulancemp3:
         category   Soundeffekte
         title      Martinshorn
         url        loop://content.mysqueezebox.com/static/sounds/effects/ambulance.mp3
       Loopcontentmysqueezeboxcomstaticsoundseffectsblendermp3:
         category   Soundeffekte
         title      Mixer
         url        loop://content.mysqueezebox.com/static/sounds/effects/blender.mp3
       Loopcontentmysqueezeboxcomstaticsoundseffectscitymp3:
         category   Soundeffekte
         title      Stadt
         url        loop://content.mysqueezebox.com/static/sounds/effects/city.mp3
       Loopcontentmysqueezeboxcomstaticsoundseffectscoinsmp3:
         category   Soundeffekte
         title      Münzen
         url        loop://content.mysqueezebox.com/static/sounds/effects/coins.mp3
       Loopcontentmysqueezeboxcomstaticsoundseffectscrossing_bellsmp3:
         category   Soundeffekte
         title      Glockengeläut
         url        loop://content.mysqueezebox.com/static/sounds/effects/crossing_bells.mp3
       Loopcontentmysqueezeboxcomstaticsoundseffectselectro_fuzzmp3:
         category   Soundeffekte
         title      Elektrisches Britzeln
         url        loop://content.mysqueezebox.com/static/sounds/effects/electro_fuzz.mp3
       Loopcontentmysqueezeboxcomstaticsoundseffectsfoghornmp3:
         category   Soundeffekte
         title      Nebelhorn
         url        loop://content.mysqueezebox.com/static/sounds/effects/foghorn.mp3
       Loopcontentmysqueezeboxcomstaticsoundseffectsfreight_train_passingmp3:
         category   Soundeffekte
         title      Vorbeifahrender Güterzug
         url        loop://content.mysqueezebox.com/static/sounds/effects/freight_train_passing.mp3
       Loopcontentmysqueezeboxcomstaticsoundseffectsfreight_trainmp3:
         category   Soundeffekte
         title      Güterzug
         url        loop://content.mysqueezebox.com/static/sounds/effects/freight_train.mp3
       Loopcontentmysqueezeboxcomstaticsoundseffectshair_dryermp3:
         category   Soundeffekte
         title      Fön
         url        loop://content.mysqueezebox.com/static/sounds/effects/hair_dryer.mp3
       Loopcontentmysqueezeboxcomstaticsoundseffectsmagneto_vapormp3:
         category   Soundeffekte
         title      Magneto Vapor
         url        loop://content.mysqueezebox.com/static/sounds/effects/magneto_vapor.mp3
       Loopcontentmysqueezeboxcomstaticsoundseffectsmotorcyclesmp3:
         category   Soundeffekte
         title      Motorräder
         url        loop://content.mysqueezebox.com/static/sounds/effects/motorcycles.mp3
       Loopcontentmysqueezeboxcomstaticsoundseffectsscuba_divermp3:
         category   Soundeffekte
         title      Taucher
         url        loop://content.mysqueezebox.com/static/sounds/effects/scuba_diver.mp3
       Loopcontentmysqueezeboxcomstaticsoundseffectsspooky_feedbackmp3:
         category   Soundeffekte
         title      Unheimliche Rückkopplung
         url        loop://content.mysqueezebox.com/static/sounds/effects/spooky_feedback.mp3
       Loopcontentmysqueezeboxcomstaticsoundseffectssteam_train_whistlemp3:
         category   Soundeffekte
         title      Dampflokomotive und -pfeife
         url        loop://content.mysqueezebox.com/static/sounds/effects/steam_train_whistle.mp3
       Loopcontentmysqueezeboxcomstaticsoundseffectssub_alertmp3:
         category   Soundeffekte
         title      U-Boot-Wecker
         url        loop://content.mysqueezebox.com/static/sounds/effects/sub_alert.mp3
       Loopcontentmysqueezeboxcomstaticsoundseffectstea_kettlemp3:
         category   Soundeffekte
         title      Teekessel
         url        loop://content.mysqueezebox.com/static/sounds/effects/tea_kettle.mp3
       Loopcontentmysqueezeboxcomstaticsoundseffectstrafficmp3:
         category   Soundeffekte
         title      Verkehr
         url        loop://content.mysqueezebox.com/static/sounds/effects/traffic.mp3
       Loopcontentmysqueezeboxcomstaticsoundseffectswind_chime_flourishmp3:
         category   Soundeffekte
         title      Windspiel mit Schwung
         url        loop://content.mysqueezebox.com/static/sounds/effects/wind_chime_flourish.mp3
       Loopcontentmysqueezeboxcomstaticsoundseffectswind_chimemp3:
         category   Soundeffekte
         title      Windspiel
         url        loop://content.mysqueezebox.com/static/sounds/effects/wind_chime.mp3
       Loopcontentmysqueezeboxcomstaticsoundsmusicalbarn_firemp3:
         category   Musikgeräusche
         title      Scheunenbrand
         url        loop://content.mysqueezebox.com/static/sounds/musical/barn_fire.mp3
       Loopcontentmysqueezeboxcomstaticsoundsmusicalblue_henrymp3:
         category   Musikgeräusche
         title      Blue Henry
         url        loop://content.mysqueezebox.com/static/sounds/musical/blue_henry.mp3
       Loopcontentmysqueezeboxcomstaticsoundsmusicalblue_orchidmp3:
         category   Musikgeräusche
         title      Blaue Orchidee
         url        loop://content.mysqueezebox.com/static/sounds/musical/blue_orchid.mp3
       Loopcontentmysqueezeboxcomstaticsoundsmusicalbongo_techmp3:
         category   Musikgeräusche
         title      Bongo Tech
         url        loop://content.mysqueezebox.com/static/sounds/musical/bongo_tech.mp3
       Loopcontentmysqueezeboxcomstaticsoundsmusicalbrainfluidmp3:
         category   Musikgeräusche
         title      Hirnflüssigkeit
         url        loop://content.mysqueezebox.com/static/sounds/musical/brainfluid.mp3
       Loopcontentmysqueezeboxcomstaticsoundsmusicalbutterymp3:
         category   Musikgeräusche
         title      Cafeteria
         url        loop://content.mysqueezebox.com/static/sounds/musical/buttery.mp3
       Loopcontentmysqueezeboxcomstaticsoundsmusicalcappucinomp3:
         category   Musikgeräusche
         title      Cappucino
         url        loop://content.mysqueezebox.com/static/sounds/musical/cappucino.mp3
       Loopcontentmysqueezeboxcomstaticsoundsmusicalcool_catsmp3:
         category   Musikgeräusche
         title      Coole Katzen
         url        loop://content.mysqueezebox.com/static/sounds/musical/cool_cats.mp3
       Loopcontentmysqueezeboxcomstaticsoundsmusicalcornflowermp3:
         category   Musikgeräusche
         title      Kornblume
         url        loop://content.mysqueezebox.com/static/sounds/musical/cornflower.mp3
       Loopcontentmysqueezeboxcomstaticsoundsmusicalcrystalizemp3:
         category   Musikgeräusche
         title      Kristall
         url        loop://content.mysqueezebox.com/static/sounds/musical/crystalize.mp3
       Loopcontentmysqueezeboxcomstaticsoundsmusicalexperimentalmp3:
         category   Musikgeräusche
         title      Experimentell
         url        loop://content.mysqueezebox.com/static/sounds/musical/experimental.mp3
       Loopcontentmysqueezeboxcomstaticsoundsmusicalhibiscusmp3:
         category   Musikgeräusche
         title      Hibiskus
         url        loop://content.mysqueezebox.com/static/sounds/musical/hibiscus.mp3
       Loopcontentmysqueezeboxcomstaticsoundsmusicaljunk_armormp3:
         category   Musikgeräusche
         title      Schrott
         url        loop://content.mysqueezebox.com/static/sounds/musical/junk_armor.mp3
       Loopcontentmysqueezeboxcomstaticsoundsmusicalmelancholy_daymp3:
         category   Musikgeräusche
         title      Melancholischer Tag
         url        loop://content.mysqueezebox.com/static/sounds/musical/melancholy_day.mp3
       Loopcontentmysqueezeboxcomstaticsoundsmusicalslickbabymp3:
         category   Musikgeräusche
         title      Slickbaby
         url        loop://content.mysqueezebox.com/static/sounds/musical/slickbaby.mp3
       Loopcontentmysqueezeboxcomstaticsoundsmusicalslog_it_outmp3:
         category   Musikgeräusche
         title      Rauferei
         url        loop://content.mysqueezebox.com/static/sounds/musical/slog_it_out.mp3
       Loopcontentmysqueezeboxcomstaticsoundsmusicalsoft_horizonmp3:
         category   Musikgeräusche
         title      Weicher Horizont
         url        loop://content.mysqueezebox.com/static/sounds/musical/soft_horizon.mp3
       Loopcontentmysqueezeboxcomstaticsoundsmusicalsri_lamamp3:
         category   Musikgeräusche
         title      Sri Lama
         url        loop://content.mysqueezebox.com/static/sounds/musical/sri_lama.mp3
       Loopcontentmysqueezeboxcomstaticsoundsmusicalstargazermp3:
         category   Musikgeräusche
         title      Sternengucker
         url        loop://content.mysqueezebox.com/static/sounds/musical/stargazer.mp3
       Loopcontentmysqueezeboxcomstaticsoundsmusicalsuper_cheesemp3:
         category   Musikgeräusche
         title      Superkäse
         url        loop://content.mysqueezebox.com/static/sounds/musical/super_cheese.mp3
       Loopcontentmysqueezeboxcomstaticsoundsmusicaltail_honkermp3:
         category   Musikgeräusche
         title      Hupe
         url        loop://content.mysqueezebox.com/static/sounds/musical/tail_honker.mp3
       Loopcontentmysqueezeboxcomstaticsoundsmusicaltongue_cheekmp3:
         category   Musikgeräusche
         title      Zunge und Wange
         url        loop://content.mysqueezebox.com/static/sounds/musical/tongue_cheek.mp3
       Loopcontentmysqueezeboxcomstaticsoundsmusicaltranslabmp3:
         category   Musikgeräusche
         title      TransLab
         url        loop://content.mysqueezebox.com/static/sounds/musical/translab.mp3
       Loopcontentmysqueezeboxcomstaticsoundsmusicaltweedledummp3:
         category   Musikgeräusche
         title      Tweedledum
         url        loop://content.mysqueezebox.com/static/sounds/musical/tweedledum.mp3
       Loopcontentmysqueezeboxcomstaticsoundsmusicaltwensamp3:
         category   Musikgeräusche
         title      Twensa
         url        loop://content.mysqueezebox.com/static/sounds/musical/twensa.mp3
       Loopcontentmysqueezeboxcomstaticsoundsnaturalbabbling_brookmp3:
         category   Naturgeräusche
         title      Plätschernder Bach
         url        loop://content.mysqueezebox.com/static/sounds/natural/babbling_brook.mp3
       Loopcontentmysqueezeboxcomstaticsoundsnaturalbubblesmp3:
         category   Naturgeräusche
         title      Seifenblasen
         url        loop://content.mysqueezebox.com/static/sounds/natural/bubbles.mp3
       Loopcontentmysqueezeboxcomstaticsoundsnaturalcricketsmp3:
         category   Naturgeräusche
         title      Grillen
         url        loop://content.mysqueezebox.com/static/sounds/natural/crickets.mp3
       Loopcontentmysqueezeboxcomstaticsoundsnaturalfiremp3:
         category   Naturgeräusche
         title      Feuer
         url        loop://content.mysqueezebox.com/static/sounds/natural/fire.mp3
       Loopcontentmysqueezeboxcomstaticsoundsnaturalhard_rain_thundermp3:
         category   Naturgeräusche
         title      Heftiger Regen und Donner
         url        loop://content.mysqueezebox.com/static/sounds/natural/hard_rain_thunder.mp3
       Loopcontentmysqueezeboxcomstaticsoundsnaturalheartbeat_fastmp3:
         category   Naturgeräusche
         title      Schnelles Herzklopfen
         url        loop://content.mysqueezebox.com/static/sounds/natural/heartbeat_fast.mp3
       Loopcontentmysqueezeboxcomstaticsoundsnaturalheartbeatmp3:
         category   Naturgeräusche
         title      Herzschlag
         url        loop://content.mysqueezebox.com/static/sounds/natural/heartbeat.mp3
       Loopcontentmysqueezeboxcomstaticsoundsnaturalhorse_walkingmp3:
         category   Naturgeräusche
         title      Gehendes Pferd
         url        loop://content.mysqueezebox.com/static/sounds/natural/horse_walking.mp3
       Loopcontentmysqueezeboxcomstaticsoundsnaturalhorse_whinnymp3:
         category   Naturgeräusche
         title      Pferdewiehern
         url        loop://content.mysqueezebox.com/static/sounds/natural/horse_whinny.mp3
       Loopcontentmysqueezeboxcomstaticsoundsnaturallapping_wavesmp3:
         category   Naturgeräusche
         title      Schwappende Wellen
         url        loop://content.mysqueezebox.com/static/sounds/natural/lapping_waves.mp3
       Loopcontentmysqueezeboxcomstaticsoundsnaturalmeadowlarkmp3:
         category   Naturgeräusche
         title      Vogelgezwitscher
         url        loop://content.mysqueezebox.com/static/sounds/natural/meadowlark.mp3
       Loopcontentmysqueezeboxcomstaticsoundsnaturalocean_surfmp3:
         category   Naturgeräusche
         title      Brandung
         url        loop://content.mysqueezebox.com/static/sounds/natural/ocean_surf.mp3
       Loopcontentmysqueezeboxcomstaticsoundsnaturalrain_outsidemp3:
         category   Naturgeräusche
         title      Regen draußen
         url        loop://content.mysqueezebox.com/static/sounds/natural/rain_outside.mp3
       Loopcontentmysqueezeboxcomstaticsoundsnaturalrain_splashingmp3:
         category   Naturgeräusche
         title      Regentropfen
         url        loop://content.mysqueezebox.com/static/sounds/natural/rain_splashing.mp3
       Loopcontentmysqueezeboxcomstaticsoundsnaturalrain_thundermp3:
         category   Naturgeräusche
         title      Regen und Donner
         url        loop://content.mysqueezebox.com/static/sounds/natural/rain_thunder.mp3
       Loopcontentmysqueezeboxcomstaticsoundsnaturalrivermp3:
         category   Naturgeräusche
         title      Fluss
         url        loop://content.mysqueezebox.com/static/sounds/natural/river.mp3
       Loopcontentmysqueezeboxcomstaticsoundsnaturalrobinsmp3:
         category   Naturgeräusche
         title      Rotkehlchen
         url        loop://content.mysqueezebox.com/static/sounds/natural/robins.mp3
       Loopcontentmysqueezeboxcomstaticsoundsnaturalrooster_crowmp3:
         category   Naturgeräusche
         title      Krähender Hahn
         url        loop://content.mysqueezebox.com/static/sounds/natural/rooster_crow.mp3
       Loopcontentmysqueezeboxcomstaticsoundsnaturalruralmp3:
         category   Naturgeräusche
         title      Land
         url        loop://content.mysqueezebox.com/static/sounds/natural/rural.mp3
       Loopcontentmysqueezeboxcomstaticsoundsnaturalshore_seagullsmp3:
         category   Naturgeräusche
         title      Küste & Möwen
         url        loop://content.mysqueezebox.com/static/sounds/natural/shore_seagulls.mp3
       Loopcontentmysqueezeboxcomstaticsoundsnaturalspring_peepersmp3:
         category   Naturgeräusche
         title      Froschquaken
         url        loop://content.mysqueezebox.com/static/sounds/natural/spring_peepers.mp3
       Loopcontentmysqueezeboxcomstaticsoundsnaturalstream_birdsmp3:
         category   Naturgeräusche
         title      Vögel am Bach
         url        loop://content.mysqueezebox.com/static/sounds/natural/stream_birds.mp3
       Loopcontentmysqueezeboxcomstaticsoundsnaturalstreammp3:
         category   Naturgeräusche
         title      Stream
         url        loop://content.mysqueezebox.com/static/sounds/natural/stream.mp3
       Loopcontentmysqueezeboxcomstaticsoundsnaturaltropical_ambiencemp3:
         category   Naturgeräusche
         title      Tropengeräusche
         url        loop://content.mysqueezebox.com/static/sounds/natural/tropical_ambience.mp3
       Loopcontentmysqueezeboxcomstaticsoundsnaturalwavesmp3:
         category   Naturgeräusche
         title      Wellen
         url        loop://content.mysqueezebox.com/static/sounds/natural/waves.mp3
       Loopcontentmysqueezeboxcomstaticsoundsnaturalwind_whistlemp3:
         category   Naturgeräusche
         title      Pfeifender Wind
         url        loop://content.mysqueezebox.com/static/sounds/natural/wind_whistle.mp3
       Loopcontentmysqueezeboxcomstaticsoundsnaturalwindmp3:
         category   Naturgeräusche
         title      Wind
         url        loop://content.mysqueezebox.com/static/sounds/natural/wind.mp3
       Randomplayalbum:
         category   Zufallsmix
         title      Albummix
         url        randomplay://album
       Randomplaycontributor:
         category   Zufallsmix
         title      Interpretenmix
         url        randomplay://contributor
       Randomplaytrack:
         category   Zufallsmix
         title      Titelmix
         url        randomplay://track
       Randomplayyear:
         category   Zufallsmix
         title      Jahrgangsmix
         url        randomplay://year
     Elapsedtime:
       TS         1439133281.31568
       VAL        0
     Myplaylists:
     Playlisturls:
       -79718080  http://mp3.ffh.de/ffhchannels/eurodance.aac
     Text2speech:
     Ttsoptions:
Attributes:
   IODev      Squeezebox_Server_Modul
   amplifier  play
   amplifierDelayOff 20
   cmdIcon    volumeDown:rc_VOLMINUS@silver volumeUp:rc_VOLPLUS@silver
   coverartheight 50
   coverartwidth 50
   devStateIcon OFF:audio_rec on:audio_rec@red
   donotnotify false
   event-on-update-reading power,currentArtist
   eventMap   off:OFF play:ON
   fadeinsecs 10
   group      Geräte
   icon       it_radio
   idismac    true
   room       Aktoren,Radio
   serverautoon true
   sortby     01
   ttslanguage de
   ttslink    http://translate.google.com/translate_tts?ie=UTF-8
   volumeLimit 100
   volumeStep 5
   webCmd     OFF:ON:volumeDown:volumeUp:volume

Gruß aus Sachsen. FHEM auf Cubietruck. Vormals EZControl XS1 User.

rudolfkoenig

Ich habe kein SqueezeBox, und mit einem dummy und den angehaengten Daten konnte ich das Problem nicht nachvollziehen. Ich vermute, dass selbst mit passenden Hardware das nicht ohne weiteres moeglich ist, und das Problem anderswo liegt. Koenntest du das Problem mit einem gesetzten "attr global stacktrace" provozieren, und das Log hier anhaengen?

Ich kann mir (z.Zt) nicht vorstellen, dass dieses Problem mit leeren Readings zu tun hat, da Readings nicht durch eventMap beeinflusst werden.

Navigator

Also ich habe jetzt Verbose 5 und Stacktrace 1 global gesetzt, gespeichert und FHEM neu gestartet. Leider zeigt der Auszug aus dem Log an betreffender Stelle keine weiteren Details.  :-\

2015.08.09 18:47:00 2: Perfmon: ready to watch out for delays greater than one second
2015.08.09 18:47:00 1: Including fhem.cfg
2015.08.09 18:47:00 3: telnetPort: port 7072 opened
2015.08.09 18:47:00 3: WEB: port 8083 opened
2015.08.09 18:47:00 3: WEBphone: port 8084 opened
2015.08.09 18:47:00 3: WEBtablet: port 8085 opened
2015.08.09 18:47:01 2: eventTypes: loaded 863 events from ./log/eventTypes.txt
2015.08.09 18:47:01 3: Opening CUL_0 device /dev/ttyACM0
2015.08.09 18:47:01 3: Setting CUL_0 serial parameters to 9600,8,N,1
2015.08.09 18:47:01 3: CUL_0 device opened
2015.08.09 18:47:01 3: CUL_0: Possible commands: BbCFiAZEGMKUYRTVWXefmltux
Prototype after '@' for main::Text2Speech_SplitString : @$$$$ at ./FHEM/98_Text2Speech.pm line 465, <$fh> line 660.
2015.08.09 18:47:03 3: Opening TRX_0 device /dev/ttyUSB0
2015.08.09 18:47:03 3: Setting TRX_0 serial parameters to 38400,8,N,1
2015.08.09 18:47:03 3: TRX_0 device opened
2015.08.09 18:47:04 1: TRX: Init OK
2015.08.09 18:47:04 1: TRX: Init status: '433.92MHz transceiver, firmware=225, protocols enabled: Lighting4 HOMEEASY AC '
2015.08.09 18:47:04 1: HMLAN_Parse: HMusb new condition disconnected
2015.08.09 18:47:04 3: Opening HMusb device 127.0.0.1:1234
2015.08.09 18:47:04 3: HMusb device opened
2015.08.09 18:47:04 1: HMLAN_Parse: HMusb new condition init
2015.08.09 18:47:05 1: Including ./log/fhem.save
Use of uninitialized value in string eq at fhem.pl line 3379, <$fh> line 243.
Use of uninitialized value in join or string at fhem.pl line 3393, <$fh> line 243.
Use of uninitialized value in string eq at fhem.pl line 3379, <$fh> line 247.
Use of uninitialized value in join or string at fhem.pl line 3393, <$fh> line 247.
2015.08.09 18:47:06 3: Device Badtuer added to ActionDetector with 000:50 time
2015.08.09 18:47:06 3: Opening Squeezebox_Server_Modul device 127.0.0.1:9090
2015.08.09 18:47:06 3: Squeezebox_Server_Modul device opened
2015.08.09 18:47:06 3: SB_SERVER_DoInit(Squeezebox_Server_Modul): STATE: opened power: ?
2015.08.09 18:47:06 3: SB_SERVER_DoInit(Squeezebox_Server_Modul): SB-Server is back again.
2015.08.09 18:47:06 1: usb create starting
2015.08.09 18:47:07 1: usb create end
2015.08.09 18:47:07 2: SecurityCheck:  WEB,WEBtablet has no basicAuth attribute. telnetPort has no password/globalpassword attribute.  Restart FHEM for a new check if the problem is fixed, or set the global attribute motd to none to supress this message.
2015.08.09 18:47:07 0: Featurelevel: 5.6
2015.08.09 18:47:07 0: Server started with 218 defined entities (version $Id: fhem.pl 9002 2015-07-29 05:46:10Z rudolfkoenig $, os linux, user fhem, pid 23753)
2015.08.09 18:47:07 1: Perfmon: possible freeze starting at 18:47:01, delay is 6.448
2015.08.09 18:47:07 1: HMLAN_Parse: HMusb new condition ok
Gruß aus Sachsen. FHEM auf Cubietruck. Vormals EZControl XS1 User.

Navigator

Kann ich sonst noch irgendetwas tun um das Geschehen einzugrenzen? Lösche ich das Attribut eventMap in diesem Device sind auch die Meldungen im Log verschwunden.
Gruß aus Sachsen. FHEM auf Cubietruck. Vormals EZControl XS1 User.

ChrisD

Hallo,

Hier ist eine kleine Anleitung wie die Meldung reproduziert werden kann:

- mit leerem (Demo) Projekt starten
- in der Kommandozeile eingeben:

define d dummy
attr d eventMap 0:off 1:on
{readingsSingleUpdate( $defs{"d"}, "r1", "", 1 )}

- Save config anklicken
- FHEM beenden
- erneut starten
-> Meldungen im Log
Zitat
Use of uninitialized value in string eq at fhem.pl line 3379, <$fh> line 5.
Use of uninitialized value in join or string at fhem.pl line 3393, <$fh> line 5.

Die Erklärung was passiert hat Dittel bereits gepostet.

Grüße,

ChrisD

rudolfkoenig

Danke fuers demo-config, habe fhem.pl geaendert, so dass die Warnung nicht mehr kommt.

Navigator

Gruß aus Sachsen. FHEM auf Cubietruck. Vormals EZControl XS1 User.