elanthia-online / illthorn

Electron-based FE
18 stars 10 forks source link

Turning on thoughts stream produces an undefined type #143

Closed jasedit closed 1 year ago

jasedit commented 3 years ago

On the latest master, running the command :stream thoughts on opens a window, but produces the following error:

Uncaught (in promise) TypeError: Cannot read property 'getAttribute' of undefined
    at Streams._callee6$ (streams.js:211)
    at tryCatch (runtime.js:63)
    at Generator.invoke [as _invoke] (runtime.js:293)
    at Generator.next (runtime.js:118)
    at asyncGeneratorStep (asyncToGenerator.js:3)
    at _next (asyncToGenerator.js:25)
    at asyncToGenerator.js:32
    at new Promise (<anonymous>)
    at Streams.<anonymous> (asyncToGenerator.js:21)
    at Streams.redraw (streams.js:6)
jasedit commented 3 years ago

If it helps at all, this appears to only happen when enabling the stream - I did a force reload, and a theme change, and it appears that the thought window now grabs thoughts.