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

Nach Installation von VIS2 2.9.20 zeigt VIS1 & VIS2 Editor und VIS1 Runtime nur weiss #322

Closed
1 task done
wendy2702 opened this issue Jan 18, 2024 · 0 comments · Fixed by #323
Closed
1 task done
Labels
bug 🐞 Something isn't working

Comments

@wendy2702
Copy link

No existing issues.

  • There is no existing issue for my problem.

Describe the bug

Issue ist aus diesem Beitrag https://forum.iobroker.net/post/1114294 und dem Wunsch von @foxriver76 entstanden:

Gerade mal VIS 2 neu installiert. Lizenz hatte ich schon.

VIS 2 Editor und VIS1 Editor nur noch weisse Seite im Browser. Auch nach löschen sämtlicher Browserdaten (Chrome und FF)

Nach dem löschen geht wenigstens von VIS1 die Runtime wieder.

Habe 2 Projekte aktiv.

Nach installation von VIS2 kommt beim VIS1 Editor Aufruf das in der Konsole für mein Main Projekt:

Uncaught SyntaxError: Unexpected non-whitespace character after JSON at position 5 (line 1 column 6)
at JSON.parse (<anonymous>)
at Object.unserialize (loStorage.js:2:567)
at r.get (loStorage.js:2:1871)
at Function.get (loStorage.js:2:2346)
at Object.bindInstance (vis.js:576:54)
at Object.initNext (vis.js:705:14)
at Object.<anonymous> (vis.js:603:18)
at Object.loadWidgetSets (vis.js:568:34)
at Object.init (vis.js:602:14)
at vis.js:3661:29

Und das für mein Second:

Uncaught SyntaxError: Unexpected non-whitespace character after JSON at position 5 (line 1 column 6)
at JSON.parse (<anonymous>)
at Object.unserialize (loStorage.js:2:567)
at r.get (loStorage.js:2:1871)
at Function.get (loStorage.js:2:2346)
at Object.bindInstance (vis.js:576:54)
at Object.initNext (vis.js:705:14)
at Object.<anonymous> (vis.js:603:18)
at Object.loadWidgetSets (vis.js:568:34)
at Object.init (vis.js:602:14)
at vis.js:3694:29

Im Vis 2 Editor kommt das in der Konsole:

visEngine.jsx:1549 Someone installs handler without to remove it!

Mt.registerChangeHandler @ visEngine.jsx:1549

Ct @ visCanWidget.jsx:93

Wo @ react-dom.production.min.js:147

Ls @ react-dom.production.min.js:198

yi @ react-dom.production.min.js:292

xl @ react-dom.production.min.js:280

zl @ react-dom.production.min.js:280

gl @ react-dom.production.min.js:280

rl @ react-dom.production.min.js:271

ll @ react-dom.production.min.js:273

Na @ react-dom.production.min.js:127

(anonym) @ react-dom.production.min.js:283

Vl @ react-dom.production.min.js:281

ol @ react-dom.production.min.js:270

V @ scheduler.production.min.js:13

T @ scheduler.production.min.js:14

14 weitere Frames anzeigen

Weniger anzeigen

react-dom.production.min.js:189 TypeError: Cannot add property g00002, object is not extensible

    at d (visUtils.jsx:386:37)

    at Ct.setupSubscriptions (visCanWidget.jsx:114:9)

    at new Ct (visCanWidget.jsx:91:14)

    at Wo (react-dom.production.min.js:147:172)

    at Ls (react-dom.production.min.js:198:97)

    at yi (react-dom.production.min.js:292:172)

    at xl (react-dom.production.min.js:280:389)

    at zl (react-dom.production.min.js:280:320)

    at gl (react-dom.production.min.js:280:180)

    at rl (react-dom.production.min.js:271:88)

us @ react-dom.production.min.js:189

c.callback @ react-dom.production.min.js:189

Po @ react-dom.production.min.js:144

Hi @ react-dom.production.min.js:262

xi @ react-dom.production.min.js:260

Mi @ react-dom.production.min.js:259

(anonym) @ react-dom.production.min.js:283

Vl @ react-dom.production.min.js:281

ll @ react-dom.production.min.js:273

Na @ react-dom.production.min.js:127

(anonym) @ react-dom.production.min.js:283

Vl @ react-dom.production.min.js:281

ol @ react-dom.production.min.js:270

V @ scheduler.production.min.js:13

T @ scheduler.production.min.js:14

15 weitere Frames anzeigen

Weniger anzeigen

react-dom.production.min.js:189 TypeError: Cannot add property g00002, object is not extensible

    at d (visUtils.jsx:386:37)

    at new c (visRxWidget.tsx:173:9)

    at new x (BasicHtml.jsx:23:1)

    at Wo (react-dom.production.min.js:147:172)

    at Ls (react-dom.production.min.js:198:97)

    at yi (react-dom.production.min.js:292:172)

    at xl (react-dom.production.min.js:280:389)

    at zl (react-dom.production.min.js:280:320)

    at gl (react-dom.production.min.js:280:180)

    at rl (react-dom.production.min.js:271:88)

us @ react-dom.production.min.js:189

c.callback @ react-dom.production.min.js:189

Po @ react-dom.production.min.js:144

Hi @ react-dom.production.min.js:262

xi @ react-dom.production.min.js:260

Mi @ react-dom.production.min.js:259

(anonym) @ react-dom.production.min.js:283

Vl @ react-dom.production.min.js:281

ll @ react-dom.production.min.js:273

Na @ react-dom.production.min.js:127

(anonym) @ react-dom.production.min.js:283

Vl @ react-dom.production.min.js:281

ol @ react-dom.production.min.js:270

V @ scheduler.production.min.js:13

T @ scheduler.production.min.js:14

15 weitere Frames anzeigen

react-dom.production.min.js:189 TypeError: Cannot add property g00002, object is not extensible

    at d (visUtils.jsx:386:37)

    at Ct.setupSubscriptions (visCanWidget.jsx:114:9)

    at new Ct (visCanWidget.jsx:91:14)

    at Wo (react-dom.production.min.js:147:172)

    at Ls (react-dom.production.min.js:198:97)

    at yi (react-dom.production.min.js:292:172)

    at xl (react-dom.production.min.js:280:389)

    at zl (react-dom.production.min.js:280:320)

    at gl (react-dom.production.min.js:280:180)

    at rl (react-dom.production.min.js:271:88)

us @ react-dom.production.min.js:189

c.callback @ react-dom.production.min.js:189

Po @ react-dom.production.min.js:144

Hi @ react-dom.production.min.js:262

xi @ react-dom.production.min.js:260

Mi @ react-dom.production.min.js:259

(anonym) @ react-dom.production.min.js:283

Vl @ react-dom.production.min.js:281

ll @ react-dom.production.min.js:273

Na @ react-dom.production.min.js:127

(anonym) @ react-dom.production.min.js:283

Vl @ react-dom.production.min.js:281

ol @ react-dom.production.min.js:270

V @ scheduler.production.min.js:13

T @ scheduler.production.min.js:14

15 weitere Frames anzeigen

Weniger anzeigen

4react-dom.production.min.js:189 TypeError: Cannot add property g00002, object is not extensible

    at d (visUtils.jsx:386:37)

    at new c (visRxWidget.tsx:173:9)

    at new x (BasicHtml.jsx:23:1)

    at Wo (react-dom.production.min.js:147:172)

    at Ls (react-dom.production.min.js:198:97)

    at yi (react-dom.production.min.js:292:172)

    at xl (react-dom.production.min.js:280:389)

    at zl (react-dom.production.min.js:280:320)

    at gl (react-dom.production.min.js:280:180)

    at rl (react-dom.production.min.js:271:88)

To Reproduce

Denke eine erneute Installation von VIS2 ruft das Problem hervor.

Expected behavior

VIS1 und VIS2 Editor sollten parallel funktionieren und auch VIS1 Runtime

Screenshots & Logfiles

Logs Browser Konsole siehe oben.

Adapter version

2.9.20

js-controller version

5.0.17

Node version

18.19.0

Operating system

Bookworm

Additional context

No response

@wendy2702 wendy2702 added the bug 🐞 Something isn't working label Jan 18, 2024
foxriver76 added a commit that referenced this issue Jan 19, 2024
foxriver76 added a commit that referenced this issue Jan 19, 2024
* fixed bug, that opacity is applied twice on image edit mode overlay

- closes #315

* rm comment

* fixed crash case when fixing widgets

- closes #322

---------

Signed-off-by: Max Hauser <moritz.heusinger@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐞 Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant