Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error starting homebridge with Sonos after update #61

Open
wjgolding opened this issue Nov 10, 2018 · 0 comments
Open

Error starting homebridge with Sonos after update #61

wjgolding opened this issue Nov 10, 2018 · 0 comments

Comments

@wjgolding
Copy link

Getting error after updating Sonos to latest version. Updated homebridge to latest using sudo npm update -g homebridge-sonos@latest

Nov 10 10:58:41 pi homebridge[28726]: /usr/lib/node_modules/homebridge-sonos/index.js:176
Nov 10 10:58:41 pi homebridge[28726]: topology.zones.forEach(function (group) {
Nov 10 10:58:41 pi homebridge[28726]: ^
Nov 10 10:58:41 pi homebridge[28726]: TypeError: Cannot read property 'forEach' of null
Nov 10 10:58:41 pi homebridge[28726]: at SonosAccessory. (/usr/lib/node_modules/homebridge-sonos/index.js:176:55)
Nov 10 10:58:41 pi homebridge[28726]: at /usr/lib/node_modules/homebridge-sonos/node_modules/sonos/lib/sonos.js:708:7
Nov 10 10:58:41 pi homebridge[28726]: at Parser. (/usr/lib/node_modules/homebridge-sonos/node_modules/xml2js/lib/xml2js.js:255:20)
Nov 10 10:58:41 pi homebridge[28726]: at emitOne (events.js:96:13)
Nov 10 10:58:41 pi homebridge[28726]: at Parser.emit (events.js:188:7)
Nov 10 10:58:41 pi homebridge[28726]: at Object.saxParser.onclosetag (/usr/lib/node_modules/homebridge-sonos/node_modules/xml2js/lib/xml2js.js:225:24)
Nov 10 10:58:41 pi homebridge[28726]: at emit (/usr/lib/node_modules/homebridge-sonos/node_modules/sax/lib/sax.js:615:33)
Nov 10 10:58:41 pi homebridge[28726]: at emitNode (/usr/lib/node_modules/homebridge-sonos/node_modules/sax/lib/sax.js:620:3)
Nov 10 10:58:41 pi homebridge[28726]: at closeTag (/usr/lib/node_modules/homebridge-sonos/node_modules/sax/lib/sax.js:861:5)
Nov 10 10:58:41 pi homebridge[28726]: at Object.write (/usr/lib/node_modules/homebridge-sonos/node_modules/sax/lib/sax.js:1293:29)
Nov 10 10:58:41 pi homebridge[28726]: at Parser.exports.Parser.Parser.parseString (/usr/lib/node_modules/homebridge-sonos/node_modules/xml2js/lib/xml2js.js:273:29)
Nov 10 10:58:41 pi homebridge[28726]: at Parser.parseString (/usr/lib/node_modules/homebridge-sonos/node_modules/xml2js/lib/xml2js.js:6:61)
Nov 10 10:58:41 pi homebridge[28726]: at Object.exports.parseString (/usr/lib/node_modules/homebridge-sonos/node_modules/xml2js/lib/xml2js.js:296:19)
Nov 10 10:58:41 pi homebridge[28726]: at Request._callback (/usr/lib/node_modules/homebridge-sonos/node_modules/sonos/lib/sonos.js:691:12)
Nov 10 10:58:41 pi homebridge[28726]: at Request.self.callback (/usr/lib/node_modules/homebridge-sonos/node_modules/request/request.js:129:22)
Nov 10 10:58:41 pi homebridge[28726]: at emitTwo (events.js:106:13)
Nov 10 10:58:41 pi homebridge[28726]: at Request.emit (events.js:191:7)
Nov 10 10:58:41 pi homebridge[28726]: at Request. (/usr/lib/node_modules/homebridge-sonos/node_modules/request/request.js:873:14)
Nov 10 10:58:41 pi homebridge[28726]: at emitOne (events.js:101:20)
Nov 10 10:58:41 pi homebridge[28726]: at Request.emit (events.js:188:7)
Nov 10 10:58:41 pi homebridge[28726]: at IncomingMessage. (/usr/lib/node_modules/homebridge-sonos/node_modules/request/request.js:824:12)
Nov 10 10:58:41 pi homebridge[28726]: at emitNone (events.js:91:20)
Nov 10 10:58:41 pi systemd[1]: homebridge.service: main process exited, code=exited, status=1/FAILURE
Nov 10 10:58:41 pi systemd[1]: Unit homebridge.service entered failed state.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant