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.
    • 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

                                  438
                                  Online

                                  31.9k
                                  Users

                                  80.1k
                                  Topics

                                  1.3m
                                  Posts

                                  vis
                                  8
                                  20
                                  1371
                                  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