Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. Test Adapter minuvis 2.x

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Test Adapter minuvis 2.x

    This topic has been deleted. Only users with topic management privileges can see it.
    • mcm1957
      mcm1957 @flisse last edited by

      @flisse
      Ok
      Dann vergiss mal meinen Input.

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

        @flisse

        Hier baut es auch nicht.
        Da scheint sqlite aus den Sourcen gebaut zu werden, ich kapier aber gerade nicht was da alles fehlt. Und ein aktuelles python 3.12 wird wohl auch empfohlen.

        Es springt hier jedenfalls mit diesen Meldungen aus dem Gleis:

        iobroker add minuaru auto --debug
        NPM version: 10.7.0
        Installing iobroker.minuaru@1.1.0... (System call)
        
        > better-sqlite3@7.6.2 install
        > prebuild-install || npm run build-release
        
        prebuild-install warn install No prebuilt binaries found (target=20.15.0 runtime=node arch=arm64 libc= platform=linux)
        
        > better-sqlite3@7.6.2 build-release
        > node-gyp rebuild --release
        
        gyp info it worked if it ends with ok
        gyp info using node-gyp@10.1.0
        gyp info using node@20.15.0 | linux | arm64
        gyp info find Python using Python version 3.12.4 found at "/usr/bin/python3"
        
        gyp info spawn /usr/bin/python3
        gyp info spawn args [
        gyp info spawn args '/opt/iobroker/node_modules/node-gyp/gyp/gyp_main.py',
        gyp info spawn args 'binding.gyp',
        gyp info spawn args '-f',
        gyp info spawn args 'make',
        gyp info spawn args '-I',
        gyp info spawn args '/opt/iobroker/node_modules/better-sqlite3/build/config.gypi',
        gyp info spawn args '-I',
        gyp info spawn args '/opt/iobroker/node_modules/node-gyp/addon.gypi',
        gyp info spawn args '-I',
        gyp info spawn args '/home/iobroker/.cache/node-gyp/20.15.0/include/node/common.gypi',
        gyp info spawn args '-Dlibrary=shared_library',
        gyp info spawn args '-Dvisibility=default',
        gyp info spawn args '-Dnode_root_dir=/home/iobroker/.cache/node-gyp/20.15.0',
        gyp info spawn args '-Dnode_gyp_dir=/opt/iobroker/node_modules/node-gyp',
        gyp info spawn args '-Dnode_lib_file=/home/iobroker/.cache/node-gyp/20.15.0/<(target_arch)/node.lib',
        gyp info spawn args '-Dmodule_root_dir=/opt/iobroker/node_modules/better-sqlite3',
        gyp info spawn args '-Dnode_engine=v8',
        gyp info spawn args '--depth=.',
        gyp info spawn args '--no-parallel',
        gyp info spawn args '--generator-output',
        gyp info spawn args 'build',
        gyp info spawn args '-Goutput_dir=.'
        gyp info spawn args ]
        gyp info spawn make
        gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
        make: Entering directory '/opt/iobroker/node_modules/better-sqlite3/build'
          TOUCH ba23eeee118cd63e16015df367567cb043fed872.intermediate
          ACTION deps_sqlite3_gyp_locate_sqlite3_target_copy_builtin_sqlite3 ba23eeee118cd63e16015df367567cb043fed872.intermediate
          TOUCH Release/obj.target/deps/locate_sqlite3.stamp
          CC(target) Release/obj.target/sqlite3/gen/sqlite3/sqlite3.o
        rm -f Release/obj.target/deps/sqlite3.a Release/obj.target/deps/sqlite3.a.ar-file-list; mkdir -p `dirname Release/obj.target/deps/sqlite3.a`
        ar crs Release/obj.target/deps/sqlite3.a @Release/obj.target/deps/sqlite3.a.ar-file-list
          COPY Release/sqlite3.a
          CXX(target) Release/obj.target/better_sqlite3/src/better_sqlite3.o
        In file included from ./src/better_sqlite3.lzz:11,
                         from ../src/better_sqlite3.cpp:4:
        /home/iobroker/.cache/node-gyp/20.15.0/include/node/node.h:1248:7: warning: cast between incompatible function types from ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Context>)’ to ‘node::addon_context_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Context>, void*)’} [-Wcast-function-type]
         1248 |       (node::addon_context_register_func) (regfunc),                  \
              |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        /home/iobroker/.cache/node-gyp/20.15.0/include/node/node.h:1266:3: note: in expansion of macro ‘NODE_MODULE_CONTEXT_AWARE_X’
         1266 |   NODE_MODULE_CONTEXT_AWARE_X(modname, regfunc, NULL, 0)
              |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
        /home/iobroker/.cache/node-gyp/20.15.0/include/node/node.h:1297:3: note: in expansion of macro ‘NODE_MODULE_CONTEXT_AWARE’
         1297 |   NODE_MODULE_CONTEXT_AWARE(NODE_GYP_MODULE_NAME,                     \
              |   ^~~~~~~~~~~~~~~~~~~~~~~~~
        ./src/better_sqlite3.lzz:67:1: note: in expansion of macro ‘NODE_MODULE_INIT’
        ./src/util/macros.lzz: In function ‘void SetPrototypeGetter(v8::Isolate*, v8::Local<v8::External>, v8::Local<v8::FunctionTemplate>, const char*, v8::AccessorGetterCallback)’:
        ./src/util/macros.lzz:157:21: error: ‘v8::AccessorSignature’ has not been declared
        ./src/util/binder.lzz: In static member function ‘static bool Binder::IsPlainObject(v8::Isolate*, v8::Local<v8::Object>)’:
        ./src/util/binder.lzz:37:51: error: ‘class v8::Object’ has no member named ‘CreationContext’; did you mean ‘GetCreationContext’?
        ./src/util/data.lzz: In function ‘v8::Local<v8::Value> Data::GetValueJS(v8::Isolate*, sqlite3_stmt*, int, bool)’:
        ./src/util/data.lzz:73:92: warning: this statement may fall through [-Wimplicit-fallthrough=]
        ./src/util/data.lzz:73:197: note: here
        ./src/util/data.lzz: In function ‘v8::Local<v8::Value> Data::GetValueJS(v8::Isolate*, sqlite3_value*, bool)’:
        ./src/util/data.lzz:77:81: warning: this statement may fall through [-Wimplicit-fallthrough=]
        ./src/util/data.lzz:77:175: note: here
        make: *** [better_sqlite3.target.mk:118: Release/obj.target/better_sqlite3/src/better_sqlite3.o] Error 1
        rm ba23eeee118cd63e16015df367567cb043fed872.intermediate
        make: Leaving directory '/opt/iobroker/node_modules/better-sqlite3/build'
        gyp ERR! build error 
        gyp ERR! stack Error: `make` failed with exit code: 2
        gyp ERR! stack at ChildProcess.<anonymous> (/opt/iobroker/node_modules/node-gyp/lib/build.js:209:23)
        gyp ERR! System Linux 6.6.31+rpt-rpi-v8
        gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-gyp" "rebuild" "--release"
        gyp ERR! cwd /opt/iobroker/node_modules/better-sqlite3
        gyp ERR! node -v v20.15.0
        gyp ERR! node-gyp -v v10.1.0
        gyp ERR! not ok 
        npm error code 1
        npm error path /opt/iobroker/node_modules/better-sqlite3
        npm error command failed
        npm error command sh -c prebuild-install || npm run build-release
        
        npm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2024-07-08T19_10_46_128Z-debug-0.log
        prebuild-install warn install No prebuilt binaries found (target=20.15.0 runtime=node arch=arm64 libc= platform=linux)
        gyp info it worked if it ends with ok
        gyp info using node-gyp@10.1.0
        gyp info using node@20.15.0 | linux | arm64
        gyp info find Python using Python version 3.12.4 found at "/usr/bin/python3"
        gyp info spawn /usr/bin/python3
        gyp info spawn args [
        gyp info spawn args '/opt/iobroker/node_modules/node-gyp/gyp/gyp_main.py',
        gyp info spawn args 'binding.gyp',
        gyp info spawn args '-f',
        gyp info spawn args 'make',
        gyp info spawn args '-I',
        gyp info spawn args '/opt/iobroker/node_modules/better-sqlite3/build/config.gypi',
        gyp info spawn args '-I',
        gyp info spawn args '/opt/iobroker/node_modules/node-gyp/addon.gypi',
        gyp info spawn args '-I',
        gyp info spawn args '/home/iobroker/.cache/node-gyp/20.15.0/include/node/common.gypi',
        gyp info spawn args '-Dlibrary=shared_library',
        gyp info spawn args '-Dvisibility=default',
        gyp info spawn args '-Dnode_root_dir=/home/iobroker/.cache/node-gyp/20.15.0',
        gyp info spawn args '-Dnode_gyp_dir=/opt/iobroker/node_modules/node-gyp',
        gyp info spawn args '-Dnode_lib_file=/home/iobroker/.cache/node-gyp/20.15.0/<(target_arch)/node.lib',
        gyp info spawn args '-Dmodule_root_dir=/opt/iobroker/node_modules/better-sqlite3',
        gyp info spawn args '-Dnode_engine=v8',
        gyp info spawn args '--depth=.',
        gyp info spawn args '--no-parallel',
        gyp info spawn args '--generator-output',
        gyp info spawn args 'build',
        gyp info spawn args '-Goutput_dir=.'
        gyp info spawn args ]
        gyp info spawn make
        gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
        In file included from ./src/better_sqlite3.lzz:11,
                         from ../src/better_sqlite3.cpp:4:
        /home/iobroker/.cache/node-gyp/20.15.0/include/node/node.h:1248:7: warning: cast between incompatible function types from ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Context>)’ to ‘node::addon_context_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Context>, void*)’} [-Wcast-function-type]
         1248 |       (node::addon_context_register_func) (regfunc),                  \
              |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        /home/iobroker/.cache/node-gyp/20.15.0/include/node/node.h:1266:3: note: in expansion of macro ‘NODE_MODULE_CONTEXT_AWARE_X’
         1266 |   NODE_MODULE_CONTEXT_AWARE_X(modname, regfunc, NULL, 0)
              |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
        /home/iobroker/.cache/node-gyp/20.15.0/include/node/node.h:1297:3: note: in expansion of macro ‘NODE_MODULE_CONTEXT_AWARE’
         1297 |   NODE_MODULE_CONTEXT_AWARE(NODE_GYP_MODULE_NAME,                     \
              |   ^~~~~~~~~~~~~~~~~~~~~~~~~
        ./src/better_sqlite3.lzz:67:1: note: in expansion of macro ‘NODE_MODULE_INIT’
        ./src/util/macros.lzz: In function ‘void SetPrototypeGetter(v8::Isolate*, v8::Local<v8::External>, v8::Local<v8::FunctionTemplate>, const char*, v8::AccessorGetterCallback)’:
        ./src/util/macros.lzz:157:21: error: ‘v8::AccessorSignature’ has not been declared
        ./src/util/binder.lzz: In static member function ‘static bool Binder::IsPlainObject(v8::Isolate*, v8::Local<v8::Object>)’:
        ./src/util/binder.lzz:37:51: error: ‘class v8::Object’ has no member named ‘CreationContext’; did you mean ‘GetCreationContext’?
        ./src/util/data.lzz: In function ‘v8::Local<v8::Value> Data::GetValueJS(v8::Isolate*, sqlite3_stmt*, int, bool)’:
        ./src/util/data.lzz:73:92: warning: this statement may fall through [-Wimplicit-fallthrough=]
        ./src/util/data.lzz:73:197: note: here
        ./src/util/data.lzz: In function ‘v8::Local<v8::Value> Data::GetValueJS(v8::Isolate*, sqlite3_value*, bool)’:
        ./src/util/data.lzz:77:81: warning: this statement may fall through [-Wimplicit-fallthrough=]
        ./src/util/data.lzz:77:175: note: here
        make: *** [better_sqlite3.target.mk:118: Release/obj.target/better_sqlite3/src/better_sqlite3.o] Error 1
        gyp ERR! build error 
        gyp ERR! stack Error: `make` failed with exit code: 2
        gyp ERR! stack at ChildProcess.<anonymous> (/opt/iobroker/node_modules/node-gyp/lib/build.js:209:23)
        gyp ERR! System Linux 6.6.31+rpt-rpi-v8
        gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-gyp" "rebuild" "--release"
        gyp ERR! cwd /opt/iobroker/node_modules/better-sqlite3
        gyp ERR! node -v v20.15.0
        gyp ERR! node-gyp -v v10.1.0
        gyp ERR! not ok 
        npm error code 1
        npm error path /opt/iobroker/node_modules/better-sqlite3
        npm error command failed
        npm error command sh -c prebuild-install || npm run build-release
        
        npm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2024-07-08T19_10_46_128Z-debug-0.log
        host.chet Cannot install iobroker.minuaru@1.1.0: 1
        
        
        mcm1957 1 Reply Last reply Reply Quote 0
        • mcm1957
          mcm1957 @Thomas Braun last edited by

          @Homoran

          Kann eigentlich wer erklären warum der Adapter.minuaru im topic zu minuvis diskutiert wird???

          Ev wär da Abspaltung angesagt..

          Homoran SVallant 2 Replies Last reply Reply Quote 0
          • Homoran
            Homoran Global Moderator Administrators @mcm1957 last edited by

            @mcm1957 sagte in Test Adapter minuvis 2.x:

            warum der Adapter.minuaru

            ist etwa hier https://forum.iobroker.net/post/1156123 reingerutscht.
            ich hatte den Eindruck das gehört zusammen

            1 Reply Last reply Reply Quote 0
            • SVallant
              SVallant @mcm1957 last edited by

              @mcm1957 Gibt es dafür eine Funktion oder einfach neuer Thread ?

              1 Reply Last reply Reply Quote 0
              • SVallant
                SVallant @flisse last edited by

                @flisse beim SQL-Adapter https://github.com/ioBroker/ioBroker.sql habe ich das gefunden:

                *SQLite DB must not be installed extra. It is just a file on disk, but to install it you require build tools on your system. For linux, just write:

                sudo apt-get install build-essential

                For windows:

                c:>npm install --global --production windows-build-tools*

                Vielleicht fehlt dir das ....

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

                  @svallant

                  Nein, das ist es nicht.
                  Denn:

                  echad@chet:~ $ apt policy build-essential
                  build-essential:
                    Installed: 12.10
                    Candidate: 12.10
                    Version table:
                   *** 12.10 500
                          500 http://deb.debian.org/debian trixie/main arm64 Packages
                          100 /var/lib/dpkg/status
                  echad@chet:~ $
                  
                  mcm1957 1 Reply Last reply Reply Quote 0
                  • mcm1957
                    mcm1957 @Thomas Braun last edited by

                    Der Vollständigkeit halber möchte ich darauf hinweisen dass der Adapter minuvis seit längerem keine Updstes mehr erhalten hat. Weiters hat der Adspter (noch) nicht das minimale Guthub basierte Testing eingebunden.

                    1 Reply Last reply Reply Quote 1
                    • F
                      flisse last edited by

                      @SVallant
                      Wir der Adapter denn noch weiterentwickelt?

                      SVallant 1 Reply Last reply Reply Quote 0
                      • SVallant
                        SVallant @flisse last edited by

                        @flisse Moin, ja. Aber derzeit funktioniert bei minuvis alles ohne Probleme. Ein Update der Abhängigkeiten und der Tests wird es diesen Winter geben

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

                        Support us

                        ioBroker
                        Community Adapters
                        Donate

                        611
                        Online

                        31.7k
                        Users

                        79.8k
                        Topics

                        1.3m
                        Posts

                        visualisation visualisierung
                        15
                        125
                        10977
                        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