Ankündigung

Einklappen
Keine Ankündigung bisher.

KNX ETS Import

Einklappen
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

    #31
    Hallo Jan,

    danke ist gefixt.

    Ich überlege noch einmal, woher das kommen könnte.

    Bis bald

    Marcus

    Kommentar


      #32
      Super! Beim erneuten Import stimmen jetzt auch die Berechtigungen!
      Merci

      Kommentar


        #33
        Hi,
        ich habe das problem jetzt auch in meiner Test instanz. Das einzige was ich da gemacht habe war

        callidomus.gui build und callidomus.gui start.

        allerdings habe ich das problem nicht nur bei der knx. sondern auch in allen meinen Plugins.

        callidomus:/data/callidomus/local/plugins> ll
        total 60
        -rw-r--r-- 1 admin admin 0B 29 Aug 21:58 __init__.py
        drwxr-xr-x 3 root admin 512B 24 Aug 22:05 dlms/
        drwxr-xr-x 2 root admin 512B 12 Aug 22:35 dmx/
        drwxr-xr-x 2 root admin 512B 12 Aug 22:35 enocean/
        drwxr-xr-x 2 root admin 512B 12 Aug 22:35 hue/
        drwxr-xr-x 2 root admin 512B 11 Aug 23:20 mail/
        drwxr-xr-x 2 root admin 512B 12 Aug 22:35 mqtt/
        drwxr-xr-x 3 root admin 512B 22 Aug 23:32 pushbullet/
        drwxr-xr-x 2 root admin 512B 12 Aug 22:36 rrd/
        drwxr-xr-x 2 root admin 512B 12 Aug 22:36 sma/
        drwxr-xr-x 2 root admin 512B 12 Aug 22:36 sml/
        drwxr-xr-x 2 root admin 512B 12 Aug 22:36 snom/
        drwxr-xr-x 3 root admin 512B 14 Aug 19:47 speech/
        drwxr-xr-x 3 root admin 512B 11 Aug 00:22 squeezebox/
        drwxr-xr-x 4 root admin 512B 15 Aug 22:18 whatsapp/
        drwxr-xr-x 2 root admin 512B 12 Aug 22:36 wol/
        VG
        Jürgen

        Kommentar


          #34
          Hallo,

          ich konnte das Problem mit dem falschen Eigentümer nachvollziehen und fixen.

          Nach einem

          Code:
          callidomus.admin update
          reboot
          ist es beseitigt.

          Bis bald

          Marcus

          Kommentar


            #35
            Hi Marcus,
            die rechte sind aber nach dem update und reboot gleich. Falls es hilft auf dem Rechner ist der Support Zugang auf. (IP 192.168.102.63)
            VG
            Jürgen

            Kommentar


              #36
              Ich habe den Import heute auch probiert - schlägt bei mir mit folgender Fehlermeldung fehl:

              Code:
              callidomus:/data/callidomus/local> /mfs/core/bin/cd_import_ets.py /tmp/raderfeld.knxproj
              Parsing ETS project file: /tmp/raderfeld.knxproj
              Traceback (most recent call last):
                File "/mfs/core/bin/cd_import_ets.py", line 85, in <module>
                  parse_knxproj(sys.argv[1])
                File "/mfs/core/bin/cd_import_ets.py", line 29, in parse_knxproj
                  ga_id = ga_obj['id']
                File "/usr/local/lib/python3.5/site-packages/bs4/element.py", line 958, in __getitem__
                  return self.attrs[key]
              KeyError: 'id'

              Kommentar


                #37
                Hi Marcus,

                was auch nicht funktioniert nachdem diese Rechteproblem auftritt das man seine Installation mit

                "callidomus.admin i_know_what_i_am_doing_reset"

                rettet.

                Wenn ich das ausführe bekomme ich folgenden output

                Code:
                callidomus:/home/admin> callidomus.admin i_know_what_i_am_doing_reset
                rm: "." and ".." may not be removed
                rm: "." and ".." may not be removed
                callidomus:/home/admin>
                Wenn dir nix mehr einfällt mach ich halt eine neu installation. Die Installation is so nicht mehr zu gebrauchen.

                VG
                Jürgen

                Kommentar


                  #38
                  Hallo Marcus, habe gestern endlich mit Callidomus gestartet und die aktuelle Version auf einem APU2C4 ohne Probleme installiert. Meine ETS Export Datei habe ich in den /tmp kopiert und die Berechtigung auf 777 gesetzt. Leider kommt bei ETS Import folgender Fehler:

                  mfs/core/bin/cd_import_ets.py /tmp/tw13.knxproj <
                  Parsing ETS project file: /tmp/tw13.knxproj
                  Traceback (most recent call last):
                  File "/mfs/core/bin/cd_import_ets.py", line 85, in <module>
                  parse_knxproj(sys.argv[1])
                  File "/mfs/core/bin/cd_import_ets.py", line 42, in parse_knxproj
                  dpt = int(dpt.split('-')[1])
                  ValueError: invalid literal for int() with base 10: '1 DPT'

                  Gibt es irgend welche Zeichen die nicht erlaubt sind?

                  Viele Grüße aus Wiesbaden
                  Matthias

                  Kommentar


                    #39
                    Hallo Marcus. Ich habe auch ein Problem mit dem ETS-Import: Nachdem der initiale Import problemlos klappte, habe ich inzwischen einiges in der ETS geändert und wollte nun erneut importieren. Das Script hat auch keinen Fehler geworfen oder so, aber im GUI werden nach wie vor nur die "alten" GAs aufgelistet. Magst Du Dir das mal ansehen?

                    GUI rebuild durchgeführt, Shift+Reload im Chrome gemacht.

                    EDIT: Marcus, vergiss es! Ich Vollhorst habe aus Gewohnheit die OPC-Datei exportiert gehabt, nicht die Projektdatei!
                    Zuletzt geändert von trollvottel; 09.10.2016, 21:36.

                    Kommentar


                      #40
                      Hallo Matthias,

                      mache bitte einmal ein core update und probiere es noch einmal.

                      Code:
                      callidomus.core update
                      Wenn es nicht klappt, schicke mir bitte die ETS Datei an support@, dann fixe ich es.

                      Bis bald

                      Marcus

                      Kommentar


                        #41
                        Mensch Marcus,

                        zum Sonntag Abend - so schnell und es klappt direkt:

                        fs/core/bin/cd_import_ets.py /tmp/Tannenweg13.knxproj <
                        Parsing ETS project file: /tmp/Tannenweg13.knxproj
                        Writing 206 GAs to /data/callidomus/local/gui/static/plugins/KNX/ga.json
                        Writing 206 GAs to /var/callidomus/gui/plugins/KNX/ga.json
                        callidomus:/data/callidomus/local>

                        Vielen Dank & Grüße
                        Matthias

                        Kommentar

                        Lädt...
                        X