homebridge-keylights icon indicating copy to clipboard operation
homebridge-keylights copied to clipboard

Infinite loop in spread the word

Open rebornix opened this issue 5 years ago • 2 comments

It's definitely an issue in module stw but not sure how it's being triggered

(node:2263) UnhandledPromiseRejectionWarning: RangeError: Maximum call stack size exceeded
    at RecordRegistry.tracePTR (/homebridge/node_modules/homebridge-keylights/node_modules/spread-the-word/dist/RecordRegistry.js:54:13)
    at RecordRegistry.tracePTR (/homebridge/node_modules/homebridge-keylights/node_modules/spread-the-word/dist/RecordRegistry.js:59:57)
    at RecordRegistry.tracePTR (/homebridge/node_modules/homebridge-keylights/node_modules/spread-the-word/dist/RecordRegistry.js:59:57)
    at RecordRegistry.tracePTR (/homebridge/node_modules/homebridge-keylights/node_modules/spread-the-word/dist/RecordRegistry.js:59:57)
    at RecordRegistry.tracePTR (/homebridge/node_modules/homebridge-keylights/node_modules/spread-the-word/dist/RecordRegistry.js:59:57)
    at RecordRegistry.tracePTR (/homebridge/node_modules/homebridge-keylights/node_modules/spread-the-word/dist/RecordRegistry.js:59:57)
    at RecordRegistry.tracePTR (/homebridge/node_modules/homebridge-keylights/node_modules/spread-the-word/dist/RecordRegistry.js:59:57)
    at RecordRegistry.tracePTR (/homebridge/node_modules/homebridge-keylights/node_modules/spread-the-word/dist/RecordRegistry.js:59:57)
    at RecordRegistry.tracePTR (/homebridge/node_modules/homebridge-keylights/node_modules/spread-the-word/dist/RecordRegistry.js:59:57)
    at RecordRegistry.tracePTR (/homebridge/node_modules/homebridge-keylights/node_modules/spread-the-word/dist/RecordRegistry.js:59:57)

Fix should go to upstream but the module seems not maintained anymore.

rebornix avatar Jan 17 '21 04:01 rebornix

Hmm, seems like it. I'll have a look.

jnmau avatar Jan 17 '21 11:01 jnmau

Though this issue is a little older, it's just now affecting me as well. Are there any workarounds? Thank you.

sirkirby avatar Nov 23 '22 20:11 sirkirby

Issue should be resolved now, since stw has been replaced with bonjour-service in the latest release.

jnmau avatar Jun 21 '24 19:06 jnmau