KlausSchaefers / quant-ux

Quant-UX - Prototype, Test and Learn
GNU General Public License v3.0
1.9k stars 195 forks source link

Simulator shows blank screen plus QR code #282

Open rozek opened 5 months ago

rozek commented 5 months ago

Ok, so I played around a bit, added most of the "Wireframe" widgets to a single screen and then tried to "Simulate"...but the simulator just displayed a blank screen together with a QR code - accompanied by the following error messages in the browser console:

RenderMixin.vue:90 TypeError: Cannot read properties of undefined (reading 'forEach') at a.wireContainer (RenderMixin.vue:447:1) at a.createWidget (RenderMixin.vue:432:1) at a.createScreen (RenderMixin.vue:215:1) at a.renderScreen (RenderMixin.vue:67:1) at a.render (RenderMixin.vue:34:1) at a.startSimilator (Simulator.vue:477:1) renderScreen @ RenderMixin.vue:90 render @ RenderMixin.vue:34 startSimilator @ Simulator.vue:477 await in startSimilator (async) setModel @ Simulator.vue:383 (anonymous) @ _Dialogs.vue:1039 setTimeout (async) _showMobileTest @ _Dialogs.vue:1037 startSimilator @ _Dialogs.vue:888 (anonymous) @ lang.js:13 RenderMixin.vue:91 Simualtor.render() > Cannot read properties of undefined (reading 'forEach') renderScreen @ RenderMixin.vue:91 render @ RenderMixin.vue:34 startSimilator @ Simulator.vue:477 await in startSimilator (async) setModel @ Simulator.vue:383 (anonymous) @ _Dialogs.vue:1039 setTimeout (async) _showMobileTest @ _Dialogs.vue:1037 startSimilator @ _Dialogs.vue:888 (anonymous) @ lang.js:13 RenderMixin.vue:92 TypeError: Cannot read properties of undefined (reading 'forEach') at a.wireContainer (RenderMixin.vue:447:1) at a.createWidget (RenderMixin.vue:432:1) at a.createScreen (RenderMixin.vue:215:1) at a.renderScreen (RenderMixin.vue:67:1) at a.render (RenderMixin.vue:34:1) at a.startSimilator (Simulator.vue:477:1) renderScreen @ RenderMixin.vue:92 render @ RenderMixin.vue:34 startSimilator @ Simulator.vue:477 await in startSimilator (async) setModel @ Simulator.vue:383 (anonymous) @ _Dialogs.vue:1039 setTimeout (async) _showMobileTest @ _Dialogs.vue:1037 startSimilator @ _Dialogs.vue:888 (anonymous) @ lang.js:13 Logger.js:43 Error TypeError: Cannot read properties of undefined (reading 'forEach') at a.wireContainer (RenderMixin.vue:447:1) at a.createWidget (RenderMixin.vue:432:1) at a.createScreen (RenderMixin.vue:215:1) at a.renderScreen (RenderMixin.vue:67:1) at a.render (RenderMixin.vue:34:1) at a.startSimilator (Simulator.vue:477:1)

rozek commented 5 months ago

Oh, I may have found the underlying cause for the blank simulator screen: as one of my last widgets I added a "Screen Segment" without specifying a screen segment - and the simulator does not seem to like that...

KlausSchaefers commented 5 months ago

Thanks for finding that bug. I will fix it later this week

Andreas Rozek @.***> schrieb am Sa., 23. März 2024, 17:10:

Oh, I may have found the underlying cause for the blank simulator screen: as one of my last widgets I added a "Screen Segment" without specifying a screen segment - and the simulator does not seem to like that...

— Reply to this email directly, view it on GitHub https://github.com/KlausSchaefers/quant-ux/issues/282#issuecomment-2016550123, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABWHOQDMEOIY5H2IEMQ53OLYZWZPDAVCNFSM6AAAAABFEZBVQOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMJWGU2TAMJSGM . You are receiving this because you are subscribed to this thread.Message ID: @.***>