intiface / intiface-tutorial

Browser based tutorial for Buttplug setup

Home Page:https://tutorial.buttplug.world

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Device reconnection not handled on send command screen

blackspherefollower opened this issue · comments

Stack trace:

Apologies! An error has occurred. You may be able to continue, but some parts may not work properly.

Error: <<removeclass>>: no elements matched the selector "#devicediv".

Stack Trace:
value@https://tutorial.buttplug.world/:2272:17102
handler/<@https://tutorial.buttplug.world/ line 2272 > eval:1410:9
./node_modules/events/events.js/EventEmitter.prototype.emit@https://cdn.jsdelivr.net/npm/buttplug@0.8.0/dist/web/buttplug.min.js:8:40382
ParseMessagesInternal@https://cdn.jsdelivr.net/npm/buttplug@0.8.0/dist/web/buttplug.min.js:23:47404
ButtplugClient/this.ParseMessages@https://cdn.jsdelivr.net/npm/buttplug@0.8.0/dist/web/buttplug.min.js:23:44441
./node_modules/events/events.js/EventEmitter.prototype.emit@https://cdn.jsdelivr.net/npm/buttplug@0.8.0/dist/web/buttplug.min.js:8:40382
ButtplugBrowserWebsocketConnector/this.ParseIncomingMessage@https://cdn.jsdelivr.net/npm/buttplug@0.8.0/dist/web/buttplug.min.js:23:40122
ButtplugBrowserWebsocketConnector/this.Connect/</</</<@https://cdn.jsdelivr.net/npm/buttplug@0.8.0/dist/web/buttplug.min.js:23:39655

It appears that the device added/removed events are not being handled correctly.
Device removal fails to remove the device on either the device scanning page or the send command page. Re-adding the device again causes duplicate devices on the scanning page and the above stacktrace on the send command page.

Originally reported via Discourse https://metafetish.club/t/error-during-interactive-tutorial/403/3 by zas