Lots of "TypeError: Cannot read property '0' of undefined" i

Hi ,

Today I opened for the first time my /var/logs/volumio.log to discover whenever a new song is pushed to the queue, several TypeError messages are logged.

2018-02-19T09:10:25.919Z - error:  TypeError: Cannot read property '0' of undefined
    at /volumio/app/plugins/music_service/upnp_browser/index.js:80:67
    at /volumio/app/plugins/music_service/upnp_browser/index.js:591:21
    at Parser.<anonymous> (/volumio/node_modules/xml2js/lib/xml2js.js:489:18)
    at emitOne (events.js:96:13)
    at Parser.emit (events.js:188:7)
    at Object.onclosetag (/volumio/node_modules/xml2js/lib/xml2js.js:447:26)
    at emit (/volumio/node_modules/sax/lib/sax.js:640:35)
    at emitNode (/volumio/node_modules/sax/lib/sax.js:645:5)
    at closeTag (/volumio/node_modules/sax/lib/sax.js:905:7)
    at Object.write (/volumio/node_modules/sax/lib/sax.js:1452:13)
    at Parser.exports.Parser.Parser.parseString (/volumio/node_modules/xml2js/lib/xml2js.js:508:31)
    at Parser.parseString (/volumio/node_modules/xml2js/lib/xml2js.js:7:59)
    at /volumio/app/plugins/music_service/upnp_browser/index.js:590:24
    at Request.handleRequestResponse [as _callback] (/volumio/node_modules/unirest/index.js:463:26)
    at Request.self.callback (/volumio/node_modules/unirest/node_modules/request/request.js:187:22)
    at emitTwo (events.js:106:13)
    at Request.emit (events.js:191:7)

No idea what this means, because I cannot relate to a visual glitch, but this doens’t look ok

Hi, I have exactly the same error stack
Version: 2.348

But apparantly everything is working fine

Same issue here.

Volumio 2.389
RaspeberryPi 3
IQaudIO DAC PRO
Ethernet static IP
Marco

I have exactly the same error.

  • Version: 2.457
  • Static WLAN
  • no plugins
  • Raspberry Pi B+

But looks like most everything is working fine

Regards

Yes, this is an harmless error. It has however been fixed in a new version which will be released shortly.