Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Visualisierung
    4. VIS2 Editor wird nicht angezeigt

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    VIS2 Editor wird nicht angezeigt

    This topic has been deleted. Only users with topic management privileges can see it.
    • L
      LoxDUS last edited by

      @homoran OK, Browserkonsole?

      Meinst du die Logs?
      Ich habe die VIS2 Instanz mal auf DEBUG umgestellt, deswegen der Neustart:

      2024-07-12 08:44:18.631  - info: host.ioBroker stopInstance system.adapter.vis-2.0 (force=false, process=true)
      2024-07-12 08:44:18.688  - info: host.ioBroker stopInstance system.adapter.vis-2.0 send kill signal
      2024-07-12 08:44:18.648  - info: vis-2.0 (2641535) Got terminate signal TERMINATE_YOURSELF
      2024-07-12 08:44:18.678  - info: vis-2.0 (2641535) terminating
      2024-07-12 08:44:18.684  - info: vis-2.0 (2641535) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
      2024-07-12 08:44:19.188  - info: vis-2.0 (2641535) terminating
      2024-07-12 08:44:19.443  - info: host.ioBroker instance system.adapter.vis-2.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
      2024-07-12 08:44:21.964  - info: host.ioBroker instance system.adapter.vis-2.0 started with pid 2846176
      2024-07-12 08:44:23.725  - debug: vis-2.0 (2846176) Redis Objects: Use Redis connection: 127.0.0.1:9001
      2024-07-12 08:44:23.824  - debug: vis-2.0 (2846176) Objects client ready ... initialize now
      2024-07-12 08:44:23.827  - debug: vis-2.0 (2846176) Objects create System PubSub Client
      2024-07-12 08:44:23.829  - debug: vis-2.0 (2846176) Objects create User PubSub Client
      2024-07-12 08:44:23.958  - debug: vis-2.0 (2846176) Objects client initialize lua scripts
      2024-07-12 08:44:23.973  - debug: vis-2.0 (2846176) Objects connected to redis: 127.0.0.1:9001
      2024-07-12 08:44:24.073  - debug: vis-2.0 (2846176) Redis States: Use Redis connection: 127.0.0.1:9000
      2024-07-12 08:44:24.119  - debug: vis-2.0 (2846176) States create System PubSub Client
      2024-07-12 08:44:24.123  - debug: vis-2.0 (2846176) States create User PubSub Client
      2024-07-12 08:44:24.246  - debug: vis-2.0 (2846176) States connected to redis: 127.0.0.1:9000
      2024-07-12 08:44:24.440  - debug: vis-2.0 (2846176) Plugin sentry Initialize Plugin (enabled=true)
      2024-07-12 08:44:25.156  - info: vis-2.0 (2846176) starting. Version 2.9.32 in /opt/iobroker/node_modules/iobroker.vis-2, node: v20.14.0, js-contr
      oller: 5.0.19
      2024-07-12 08:44:27.074  - info: vis-2.0 (2846176) vis-2 license is OK.
      2024-07-12 08:45:00.069  - info: javascript.0 (2421248) script.js.common.LichtSteuerung: -> Luftfeuchtigkeit im Bad ist höher als in Zuluft -> Ventilator an schalten
      2024-07-12 08:48:53.685  - info: web.0 (2422357) ==> Connected system.user.admin from ::ffff:192.168.178.147
      
      

      Sehe dort keine Fehler...

      Viele Grüße,

      Artur

      Homoran 1 Reply Last reply Reply Quote 0
      • Homoran
        Homoran Global Moderator Administrators @LoxDUS last edited by

        @loxdus sagte in VIS2 Editor wird nicht angezeigt:

        Meinst du die Logs?

        nein, die Browserkonsole.
        meistens F12, Reiter Konsole

        L 1 Reply Last reply Reply Quote -1
        • L
          LoxDUS @Homoran last edited by

          @homoran

          1c67e8d4-b16c-4034-861a-bb3a4ce30bf7-image.png

          e41a9903-6087-4375-b3b4-40bf63ac18e4-image.png

          jogibear9988 1 Reply Last reply Reply Quote 0
          • jogibear9988
            jogibear9988 @LoxDUS last edited by

            @loxdus

            https://github.com/ioBroker/ioBroker.vis-2/blob/73e941f2cb7564f18038ec50833f303c71ade7c1/packages/iobroker.vis-2/src/src/Utils/utils.tsx#L232

            vlt. fehlt bei dem permissions.read ein ?
            aber kein plan, ob das hier null sein kann...

            1 Reply Last reply Reply Quote 0
            • L
              LoxDUS last edited by

              @jogibear9988 @jogibear9988

              Habe jetzt mal ein wenig in der Browser Konsole rumgeklickt. Beim ersten Fehler wird die Zeile "**const permissions = ...."
              mit dem TypeError: "TypeError: Cannot read properties of undefined (reading 'permissions')" angemeckert. Der Code befindet sich in dem Modul: vis-2 -> static -> js ->Utils -> utils.tsx

              /**
               * Check if the user has access to the project in given mode
               *
               * @param options project, user and mode information
               */
              export function hasProjectAccess(options: CheckAccessOptions): boolean {
                  const { project, user, editMode } = options;
              
                  **const permissions = project.___settings.permissions?.[user] ?? DEFAULT_PERMISSIONS;**
              
                  if (editMode && permissions.write) {
                      return true;
                  }
              
                  return !editMode && permissions.read;
              }
              
              

              ... da ist also ein '?' enthalten

              1 Reply Last reply Reply Quote 0
              • Bluefox
                Bluefox @LoxDUS last edited by

                @loxdus Hallo! Einfach auf 2.9.64 updaten

                Nashra L 2 Replies Last reply Reply Quote 0
                • Nashra
                  Nashra Most Active Forum Testing @Bluefox last edited by

                  @bluefox sagte in VIS2 Editor wird nicht angezeigt:

                  @loxdus Hallo! Einfach auf 2.9.64 updaten

                  Moin, die Version schon seit einigen Tagen installiert, wird leider auch nicht angezeigt.
                  admin - 6.7.14
                  javascript - 8.4.1
                  js-controller - 5.0.19

                  Homoran 1 Reply Last reply Reply Quote 0
                  • Homoran
                    Homoran Global Moderator Administrators @Nashra last edited by

                    @nashra upload gemacht?
                    Browsercache gelöscht?

                    Nashra 1 Reply Last reply Reply Quote 0
                    • Nashra
                      Nashra Most Active Forum Testing @Homoran last edited by

                      @homoran sagte in VIS2 Editor wird nicht angezeigt:

                      @nashra upload gemacht?
                      Browsercache gelöscht?

                      Jawohl Sir, hatte ich 😊
                      Hab es mir einfach über den Editor selbst angelegt 😁

                      Bluefox 1 Reply Last reply Reply Quote 0
                      • Bluefox
                        Bluefox @Nashra last edited by

                        @nashra was sagt die Browser Konsole?

                        Nashra 1 Reply Last reply Reply Quote 0
                        • Nashra
                          Nashra Most Active Forum Testing @Bluefox last edited by

                          @bluefox sagte in VIS2 Editor wird nicht angezeigt:

                          @nashra was sagt die Browser Konsole?

                          Screenshot 2024-07-14 153309.png

                          Bluefox 1 Reply Last reply Reply Quote 0
                          • Bluefox
                            Bluefox @Nashra last edited by

                            @nashra angeblich macht vis-materialdesign Probleme. Gibt es die Möglichkeit es zu deinstallieren?

                            Nashra 1 Reply Last reply Reply Quote 0
                            • Nashra
                              Nashra Most Active Forum Testing @Bluefox last edited by Nashra

                              @bluefox sagte in VIS2 Editor wird nicht angezeigt:

                              @nashra angeblich macht vis-materialdesign Probleme. Gibt es die Möglichkeit es zu deinstallieren?

                              Sorry hier liegt ein Missverständnis vor, ich bezog mich auf den Beitrag von @LoxDUS
                              und der Anzeige in der Übersicht, das dort nicht VIS-2 angezeigt wird nach der Installation
                              und ich das eben manuell angelegt habe.
                              Screenshot 2024-07-15 090011.png
                              material-design meldet zwar Fehler aber VIS-2 läuft sonst bei mir ohne Probleme

                              1 Reply Last reply Reply Quote 0
                              • R
                                ralalla last edited by

                                Habe ein Problem mit der vis 2. Kann den Editor in Chrome öffnen.
                                Im Firefox bleibt das Bild jedoch leer.

                                Kann hiermit jemand was anfangen?

                                Layout-Darstellung wurde erzwungen, bevor die Seite vollständig geladen war. Falls Stylesheet noch nicht geladen sind, kann dies zu einem kurzzeitigen Darstellung des Inhalts ohne Formatierung führen. jquery-1.11.2.min.js:4:29776
                                iobroker.vis-2@2.9.32 using theme "colored" bootstrap.jsx:16:8
                                
                                ██╗ ██████╗ ██████╗ ██████╗  ██████╗ ██╗  ██╗███████╗██████╗ 
                                ██║██╔═══██╗██╔══██╗██╔══██╗██╔═══██╗██║ ██╔╝██╔════╝██╔══██╗
                                ██║██║   ██║██████╔╝██████╔╝██║   ██║█████╔╝ █████╗  ██████╔╝
                                ██║██║   ██║██╔══██╗██╔══██╗██║   ██║██╔═██╗ ██╔══╝  ██╔══██╗
                                ██║╚██████╔╝██████╔╝██║  ██║╚██████╔╝██║  ██╗███████╗██║  ██║
                                ╚═╝ ╚═════╝ ╚═════╝ ╚═╝  ╚═╝ ╚═════╝ ╚═╝  ╚═╝╚══════╝╚═╝  ╚═╝
                                Prompt.js:15:12
                                Nice to see you here! :) Join our dev community here https://github.com/ioBroker/ioBroker or here https://github.com/iobroker-community-adapters Prompt.js:16:12
                                Help us to create open source project with reactJS! Prompt.js:17:12
                                See you :) Prompt.js:18:12
                                Einige Cookies verwenden das empfohlene "SameSite"-Attribut inkorrekt. 3
                                Cannot read project file "main/vis-views.json": Not exists Runtime.jsx:444:24
                                TypeError: o.___settings is undefined
                                    _ utils.tsx:224
                                    children Runtime.jsx:920
                                    showSmallProjectsDialog Runtime.jsx:919
                                    render App.jsx:1866
                                    React 8
                                    V scheduler.production.min.js:13
                                    j scheduler.production.min.js:14
                                react-dom.production.min.js:189:29
                                    React 9
                                    V scheduler.production.min.js:13
                                    j scheduler.production.min.js:14
                                Uncaught TypeError: o.___settings is undefined
                                    _ utils.tsx:224
                                    children Runtime.jsx:920
                                    showSmallProjectsDialog Runtime.jsx:919
                                    render App.jsx:1866
                                    React 8
                                    V scheduler.production.min.js:13
                                    j scheduler.production.min.js:14
                                utils.tsx:224:21
                                Source-Map-Fehler: request failed with status 404
                                Ressourcen-Adresse: http://192.168.178.148:8082/lib/js/socket.io.js
                                Source-Map-Adresse: socket.io.js.map
                                
                                
                                Bluefox 1 Reply Last reply Reply Quote -1
                                • Bluefox
                                  Bluefox @ralalla last edited by

                                  @ralalla sagte in VIS2 Editor wird nicht angezeigt:

                                  Habe ein Problem mit der vis 2. Kann den Editor in Chrome öffnen.
                                  Im Firefox bleibt das Bild jedoch leer.

                                  Kann hiermit jemand was anfangen?

                                  Layout-Darstellung wurde erzwungen, bevor die Seite vollständig geladen war. Falls Stylesheet noch nicht geladen sind, kann dies zu einem kurzzeitigen Darstellung des Inhalts ohne Formatierung führen. jquery-1.11.2.min.js:4:29776
                                  iobroker.vis-2@2.9.32 using theme "colored" bootstrap.jsx:16:8
                                  
                                  ██╗ ██████╗ ██████╗ ██████╗  ██████╗ ██╗  ██╗███████╗██████╗ 
                                  ██║██╔═══██╗██╔══██╗██╔══██╗██╔═══██╗██║ ██╔╝██╔════╝██╔══██╗
                                  ██║██║   ██║██████╔╝██████╔╝██║   ██║█████╔╝ █████╗  ██████╔╝
                                  ██║██║   ██║██╔══██╗██╔══██╗██║   ██║██╔═██╗ ██╔══╝  ██╔══██╗
                                  ██║╚██████╔╝██████╔╝██║  ██║╚██████╔╝██║  ██╗███████╗██║  ██║
                                  ╚═╝ ╚═════╝ ╚═════╝ ╚═╝  ╚═╝ ╚═════╝ ╚═╝  ╚═╝╚══════╝╚═╝  ╚═╝
                                  Prompt.js:15:12
                                  Nice to see you here! :) Join our dev community here https://github.com/ioBroker/ioBroker or here https://github.com/iobroker-community-adapters Prompt.js:16:12
                                  Help us to create open source project with reactJS! Prompt.js:17:12
                                  See you :) Prompt.js:18:12
                                  Einige Cookies verwenden das empfohlene "SameSite"-Attribut inkorrekt. 3
                                  Cannot read project file "main/vis-views.json": Not exists Runtime.jsx:444:24
                                  TypeError: o.___settings is undefined
                                      _ utils.tsx:224
                                      children Runtime.jsx:920
                                      showSmallProjectsDialog Runtime.jsx:919
                                      render App.jsx:1866
                                      React 8
                                      V scheduler.production.min.js:13
                                      j scheduler.production.min.js:14
                                  react-dom.production.min.js:189:29
                                      React 9
                                      V scheduler.production.min.js:13
                                      j scheduler.production.min.js:14
                                  Uncaught TypeError: o.___settings is undefined
                                      _ utils.tsx:224
                                      children Runtime.jsx:920
                                      showSmallProjectsDialog Runtime.jsx:919
                                      render App.jsx:1866
                                      React 8
                                      V scheduler.production.min.js:13
                                      j scheduler.production.min.js:14
                                  utils.tsx:224:21
                                  Source-Map-Fehler: request failed with status 404
                                  Ressourcen-Adresse: http://192.168.178.148:8082/lib/js/socket.io.js
                                  Source-Map-Adresse: socket.io.js.map
                                  
                                  

                                  Das Problem ist schon längst in 2.9.64 gelöst

                                  1 Reply Last reply Reply Quote 0
                                  • L
                                    LoxDUS @Bluefox last edited by

                                    @bluefox
                                    Habe jetzt aus GITHUB die Version 2.9.64 installiert.
                                    Weil mir der Adapter selber nur die Version 2.9.32 angeboten hat:
                                    1dfc1558-96a1-4428-ac16-f9d4770034dd-image.png

                                    Nun funktioniert VIS2 auch bei mir.

                                    Danke für eure Unterstützung,

                                    Artur

                                    Thomas Braun 1 Reply Last reply Reply Quote 0
                                    • Thomas Braun
                                      Thomas Braun Most Active @LoxDUS last edited by

                                      @loxdus

                                      Liegt im Beta-Repo:

                                      github:	2.10.6
                                      latest:	2.9.64 for 58 days
                                      stable:	2.9.32 for 5 months
                                      
                                      mcm1957 1 Reply Last reply Reply Quote 0
                                      • mcm1957
                                        mcm1957 @Thomas Braun last edited by

                                        @thomas-braun said in VIS2 Editor wird nicht angezeigt:

                                        @loxdus

                                        Liegt im Beta-Repo:

                                        github:	2.10.6
                                        latest:	2.9.64 for 58 days
                                        stable:	2.9.32 for 5 months
                                        

                                        Jep - da gibts nen Bug im Reminderjob. Danke fürs Posten des überfälligen Updates.
                                        Bin schon dran den Bug zu fixen. Bug betrifft nur Adapeter die Monorepos benutzen.

                                        1 Reply Last reply Reply Quote 0
                                        • First post
                                          Last post

                                        Support us

                                        ioBroker
                                        Community Adapters
                                        Donate

                                        419
                                        Online

                                        31.9k
                                        Users

                                        80.1k
                                        Topics

                                        1.3m
                                        Posts

                                        vis
                                        8
                                        20
                                        1361
                                        Loading More Posts
                                        • Oldest to Newest
                                        • Newest to Oldest
                                        • Most Votes
                                        Reply
                                        • Reply as topic
                                        Log in to reply
                                        Community
                                        Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                        The ioBroker Community 2014-2023
                                        logo