NEWS
Logitech Harmony Adapter
-
Ich hoffe Pman konnte es anschauen. Weil ich nicht mal Harmony habe.
-
Habe eben ein issue auf githaub eröffnet
Gruß
Rainer
-
Ich kann den Fehler reproduzieren, muss aber noch herausfinden woran es liegt. So weit ich das sehe nutzt das eingebundene harmonyhubjs-client ein Paket node-xmpp-client, dort muss sich etwas verändert haben in der letzten Version (1.0.0).
Workaround:
cd /opt/iobroker/node_modules/iobroker.harmony/node_modules/harmonyhubjs-client npm remove node-xmpp-client npm install node-xmpp-client@1.0.0-alpha23
-
In Version 0.5.3 sollte nun wieder alles funktionieren.
-
So, ich bin wieder ein Stück weiter … mit dieser tatkräftigen Hilfe hier!
Ich hab diese alpha23 version installier - wie oben angegeben und mit npm --installed list geprüft, danach den controller wieder gestartet.
Unter Instanzen geht die config weiter hin nicht, gleiche Fensterinhalte wie von mir zuerst beschrieben.
Ich hab das dann mal "ignoriert" und hab unter "Objekte" mir die Zeile "system.adapter.harmony.0" angesehn, die zeigt, dass der adapter läuft. In der Zeile kann man AUCH die config (Zahnrad-Icon rechts) einsehen.
In dem Config Fenster kann man auch die Harmony account Informationen eingeben! Das hab ich gemacht und auch dort den Namen auf "Harmony Hub" eingestellt.
Und siehe da, es klappt und ein paar Sekunden später sehe ich, dass die Hub-Properties als JSON übertragen werden.
Ein beherzter Neustart /Resync des iobroker controllers liefert dann unter Objekte eine neue Zeile "harmony.0", darunter "Harmony Hub" und darunter die Hub Werte.
Ist doch schon ganz nett und ich bedanke mich nochmals
Ich werde das jetzt auch nochmal unter Win testen, vielleicht ist es dort "einfacher"
-
Das erklärt auch, warum ey unter einer bestehenden Installation funktioniert.
Dort ist die Konfiguration ja bereits richtig.
Hast du es nicht mit der 0.5.3 gemacht?
Das workaround stand ja für die alte Version.
Gruß
Rainer
Gesendet von meinem LIFETAB_S785X mit Tapatalk
-
die Adapters Seite zeigt in der Spalte "version" = 0.5.2 und in "installed" 0.5.3 (ich glaube, das kommt erst seit dem _alpha23 install). Wenn ich den Adapter remove und dann neu installiere, ist er immer 0.5.2. Keine Bemerkung, dass da ein 0.5.3 verfügbar ist.
PS: unter windows 10 bleibt der Fehler. Ich hab Python 2.73 und Visual Studio 2015 installiert, danach noch versucht "gyp" und dann "node-gyp" zu installieren aber das brachte für den Adapter nix. Was mich ein wenig wundert sind die Meldunge für Win NT 6.2 und die "Code:ELIFECYCLE" Passage. Sind da Abfragen auf das System und/oder Signaturen drin, die vieleicht schief laufen. Für die VSBUILD habe ich msvs_version=2015 gesetzt und das funktionierte auch!?
-
Mach mal im Installationsverzeichnis
iobroker upload harmony
Gesendet von meinem LIFETAB_S785X mit Tapatalk
261_bildschirmfoto_2018-04-25_um_22.45.45.jpg -
Den Fehler bei der Konfiguration kann ich nicht nachvollziehen. Ich habe die Instanz, den Adapter und alle Einstellungen gelöscht. Beim installieren des Adapters wird eine Instanz hinzugefügt und gestartet. Es werden natürlich keine Objekte angelegt, da ich den Hub noch nicht ausgewählt habe. Im Konfigurationsdialog kann ich nun den Hub Namen eintragen oder über die Hubsuche auswählen, beides geht. Beim Speichern der Konfig wird der Adapter neugestartet und lädt danach korrekt alle Daten vom Hub und legt die Objekte an. Die Zugangsdaten sind ausgegraut, weil diese im Moment garnicht vom Adapter genutzt werden, daran kann es also nicht gelegen haben.
-
Bei meiner Neuinstallation ist nach dem Update auf 0.5.3 alles ok, Datenpunkte sind angelegt.
Gruß
Rainer
144_chat.png
144_zustaende.png -
Habe heute auf node.js auf Version 4.1.2 geupdatet, leider bringt jetzt der Harmony Adapter mir Fehler bzw. lässt er sich auch nicht mehr neu installieren.
Hier das log;
$ ./iobroker add harmony npm install iobroker.harmony --production --prefix "/opt/iobroker" (System call) In file included from /root/.node-gyp/4.1.2/include/node/node.h:42:0, from ../../nan/nan.h:24, from ../src/binding.cc:18: /root/.node-gyp/4.1.2/include/node/v8.h:336:1: error: expected unqualified-id before ëusingí /root/.node-gyp/4.1.2/include/node/v8.h:469:1: error: expected unqualified-id before ëusingí/root/.node-gyp/4.1.2/include/node/v8.h:852:1: error: expected unqualified-id before ëusingí In file included from ../../nan/nan.h:182:0, from ../src/binding.cc:18: ../../nan/nan_maybe_43_inl.h:13:1: error: expected unqualified-id before ëusingí ../../nan/nan_maybe_43_inl.h:16:1: error: expected unqualified-id before ëusingí ../../nan/nan_maybe_43_inl.h:19:12: error: ëMaybeí does not name a type ../../nan/nan_maybe_43_inl.h:24:12: error: ëMaybeí does not name a type ../../nan/nan_maybe_43_inl.h:31:1: error: ëMaybeLocalí does not name a type ../../nan/nan_maybe_43_inl.h:36:1: error: ëMaybeLocalí does not name a type ../../nan/nan_maybe_43_inl.h:41:1: error: ëMaybeí does not name a type ../../nan/nan_maybe_43_inl.h:46:1: error: ëMaybeLocalí does not name a type ../../nan/nan_maybe_43_inl.h:51:1: error: ëMaybeLocalí does not name a type ../../nan/nan_maybe_43_inl.h:60:1: error: ëMaybeLocalí does not name a type ../../nan/nan_maybe_43_inl.h:65:12: error: ëMaybeLocalí does not name a type ../../nan/nan_maybe_43_inl.h:70:12: error: ëMaybeí does not name a type ../../nan/nan_maybe_43_inl.h:77:12: error: ëMaybeí does not name a type ../../nan/nan_maybe_43_inl.h:84:12: error: ëMaybeí does not name a type ../../nan/nan_maybe_43_inl.h:92:12: error: ëMaybeLocalí does not name a type ../../nan/nan_maybe_43_inl.h:99:1: error: ëMaybeLocalí does not name a type ../../nan/nan_maybe_43_inl.h:109:12: error: ëMaybeí does not name a type../../nan/nan_maybe_43_inl.h:115:12: error: ëMaybeí does not name a type ../../nan/nan_maybe_43_inl.h:119:12: error: ëMaybeí does not name a type ../../nan/nan_maybe_43_inl.h:126:1: error: ëMaybeí does not name a type ../../nan/nan_maybe_43_inl.h:131:1: error: ëMaybeLocalí does not name a type ../../nan/nan_maybe_43_inl.h:136:1: error: ëMaybeLocalí does not name a type ../../nan/nan_maybe_43_inl.h:140:12: error: ëMaybeí does not name a type ../../nan/nan_maybe_43_inl.h:146:12: error: ëMaybeLocalí does not name a type ../../nan/nan_maybe_43_inl.h:151:12: error: ëMaybeí does not name a type ../../nan/nan_maybe_43_inl.h:157:12: error: ëMaybeí does not name a type ../../nan/nan_maybe_43_inl.h:163:12: error: ëMaybeí does not name a type ../../nan/nan_maybe_43_inl.h:169:12: error: ëMaybeí does not name a type ../../nan/nan_maybe_43_inl.h:175:12: error: ëMaybeLocalí does not name a type ../../nan/nan_maybe_43_inl.h:181:12: error: ëMaybeLocalí does not name a type ../../nan/nan_maybe_43_inl.h:187:12: error: ëMaybeLocalí does not name a type ../../nan/nan_maybe_43_inl.h:195:12: error: ëMaybeLocalí does not name a type ../../nan/nan_maybe_43_inl.h:202:1: error: ëMaybeLocalí does not name a type ../../nan/nan_maybe_43_inl.h:206:12: error: ëMaybeí does not name a type ../../nan/nan_maybe_43_inl.h:210:12: error: ëMaybeí does not name a type ../../nan/nan_maybe_43_inl.h:214:12: error: ëMaybeí does not name a type ../../nan/nan_maybe_43_inl.h:218:12: error: ëMaybeLocalí does not name a type In file included from ../../nan/nan.h:187:0, from ../src/binding.cc:18: ../../nan/nan_converters.h:14:11: error: ëMaybeLocalí does not name a type ../../nan/nan_converters.h:16:56: error: ëMaybeí does not name a type ../../nan/nan_converters.h:26:1: error: ëreturn_tí does not name a type../../nan/nan_converters.h:27:1: error: ëreturn_tí does not name a type ../../nan/nan_converters.h:28:1: error: ëreturn_tí does not name a type ../../nan/nan_converters.h:29:1: error: ëreturn_tí does not name a type ../../nan/nan_converters.h:30:1: error: ëreturn_tí does not name a type ../../nan/nan_converters.h:31:1: error: ëreturn_tí does not name a type ../../nan/nan_converters.h:32:1: error: ëreturn_tí does not name a type ../../nan/nan_converters.h:42:1: error: ëreturn_tí does not name a type ../../nan/nan_converters.h:43:1: error: ëreturn_tí does not name a type ../../nan/nan_converters.h:44:1: error: ëreturn_tí does not name a type ../../nan/nan_converters.h:45:1: error: ëreturn_tí does not name a type ../../nan/nan_converters.h:46:1: error: ëreturn_tí does not name a type In file included from ../../nan/nan_converters.h:59:0, from ../../nan/nan.h:187, from ../src/binding.cc:18: ../../nan/nan_converters_43_inl.h:18:1: error: ëreturn_tí in ëstruct Nan::imp::ToFactory<v8::boolean>í does not name a type ../../nan/nan_converters_43_inl.h:19:1: error: ëreturn_tí in ëstruct Nan::imp::ToFactory<v8::number>í does not name a type ../../nan/nan_converters_43_inl.h:20:1: error: ëreturn_tí in ëstruct Nan::imp::ToFactory<v8::string>í does not name a type ../../nan/nan_converters_43_inl.h:21:1: error: ëreturn_tí in ëstruct Nan::imp::ToFactory<v8::object>í does not name a type ../../nan/nan_converters_43_inl.h:22:1: error: ëreturn_tí in ëstruct Nan::imp::ToFactory<v8::integer>í does not name a type ../../nan/nan_converters_43_inl.h:23:1: error: ëreturn_tí in ëstruct Nan::imp::ToFactory<v8::uint32>í does not name a type ../../nan/nan_converters_43_inl.h:24:1: error: ëreturn_tí in ëstruct Nan::imp::ToFactory<v8::int32>í does not name a type ../../nan/nan_converters_43_inl.h:34:1: error: ëreturn_tí in ëstruct Nan::imp::ToFactory<bool>í does not name a type ../../nan/nan_converters_43_inl.h:35:1: error: ëreturn_tí in ëstruct Nan::imp::ToFactory<double>í does not name a type ../../nan/nan_converters_43_inl.h:36:1: error: ëreturn_tí in ëstruct Nan::imp::ToFactory<long long/int="">í does not name a type ../../nan/nan_converters_43_inl.h:37:1: error: ëreturn_tí in ëstruct Nan::imp::ToFactory<unsigned int="">í does not name a type ../../nan/nan_converters_43_inl.h:38:1: error: ëreturn_tí in ëstruct Nan::imp::ToFactory<int>í does not name a type In file included from ../../nan/nan.h:188:0, from ../src/binding.cc:18: ../../nan/nan_new.h: In function ëv8::Local Nan::imp::To(v8::Local<v8::integer>) [with T = v8::Integer]í: ../../nan/nan_new.h:21:32: error: no matching function for call to ëTo(v8::Local<v8::integer>&)í ../../nan/nan_new.h:21:32: note: candidate is: ../../nan/nan_converters.h:53:38: note: template <class t="">typename Nan::imp::ToFactory::return_t Nan::To(v8::Local<v8::value>) ../../nan/nan_new.h: In function ëv8::Local Nan::imp::To(v8::Local<v8::integer>) [with T = v8::Int32]í: ../../nan/nan_new.h:28:30: error: no matching function for call to ëTo(v8::Local<v8::integer>&)í ../../nan/nan_new.h:28:30: note: candidate is: ../../nan/nan_converters.h:53:38: note: template <class t="">typename Nan::imp::ToFactory::return_t Nan::To(v8::Local<v8::value>) ../../nan/nan_new.h: In function ëv8::Local Nan::imp::To(v8::Local<v8::integer>) [with T = v8::Uint32]í: ../../nan/nan_new.h:35:31: error: no matching function for call to ëTo(v8::Local<v8::integer>&)í ../../nan/nan_new.h:35:31: note: candidate is: ../../nan/nan_converters.h:53:38: note: template <class t="">typename Nan::imp::ToFactory::return_t Nan::To(v8::Local<v8::value>) ../../nan/nan_new.h: At global scope: ../../nan/nan_new.h:43:11: error: ëMaybeLocalí does not name a type ../../nan/nan_new.h:75:17: error: ëreturn_tí does not name a type ../../nan/nan_new.h:141:17: error: ëreturn_tí does not name a type../../nan/nan_new.h:147:17: error: ëreturn_tí does not name a type ../../nan/nan_new.h:148:17: error: ëreturn_tí does not name a type ../../nan/nan_new.h:160:17: error: ëreturn_tí does not name a type ../../nan/nan_new.h:161:17: error: ëreturn_tí does not name a type ../../nan/nan_new.h:162:17: error: ëreturn_tí does not name a type ../../nan/nan_new.h:163:17: error: ëreturn_tí does not name a type../../nan/nan_new.h:165:17: error: ëreturn_tí does not name a type ../../nan/nan_new.h:166:17: error: ëreturn_tí does not name a type ../../nan/nan_new.h:182:17: error: ëreturn_tí does not name a type../../nan/nan_new.h:183:17: error: ëreturn_tí does not name a type In file included from ../../nan/nan_new.h:189:0, from ../../nan/nan.h:188, from ../src/binding.cc:18: ../../nan/nan_implementation_12_inl.h:56:1: error: ëreturn_tí in ëstruct Nan::imp::Factory<v8::date>í does not name a type ../../nan/nan_implementation_12_inl.h: In static member function ëstatic Nan::imp::FactoryBase<v8::function>::return_t Nan::imp::Factory<v8::function>::New(Nan::FunctionCallback, v8::Local<v8::value>)í: ../../nan/nan_implementation_12_inl.h:90:46: error: ëNewInstanceí was not declared in this scope ../../nan/nan_implementation_12_inl.h: In static member function ëstatic Nan::imp::FactoryBase<v8::functiontemplate>::return_t Nan::imp::Factory<v8::functiontemplate>::New(Nan::FunctionCallback, v8::Local<v8::value>, v8::Local<v8::signature>)í: ../../nan/nan_implementation_12_inl.h:118:48: error: ëNewInstanceí was not declared in this scope ../../nan/nan_implementation_12_inl.h: At global scope:../../nan/nan_implementation_12_inl.h:197:1: error: ëreturn_tí in ëstruct Nan::imp::Factory<v8::regexp>í does not name a type ../../nan/nan_implementation_12_inl.h:216:1: error: ëreturn_tí in ëstruct Nan::imp::Factory<v8::script>í does not name a type ../../nan/nan_implementation_12_inl.h:222:1: error: ëreturn_tí in ëstruct Nan::imp::Factory<v8::script>í does not name a type ../../nan/nan_implementation_12_inl.h:254:1: error: ëreturn_tí in ëstruct Nan::imp::Factory<v8::string>í does not name a type../../nan/nan_implementation_12_inl.h:262:1: error: ëreturn_tí in ëstruct Nan::imp::Factory<v8::string>í does not name a type ../../nan/nan_implementation_12_inl.h:268:1: error: ëreturn_tí in ëstruct Nan::imp::Factory<v8::string>í does not name a type ../../nan/nan_implementation_12_inl.h:275:1: error: ëreturn_tí in ëstruct Nan::imp::Factory<v8::string>í does not name a type ../../nan/nan_implementation_12_inl.h:281:1: error: ëreturn_tí in ëstruct Nan::imp::Factory<v8::string>í does not name a type ../../nan/nan_implementation_12_inl.h:286:1: error: ëreturn_tí in ëstruct Nan::imp::Factory<v8::string>í does not name a type ../../nan/nan_implementation_12_inl.h:347:1: error: ëreturn_tí in ëstruct Nan::imp::Factory<v8::unboundscript>í does not name a type../../nan/nan_implementation_12_inl.h:354:1: error: ëreturn_tí in ëstruct Nan::imp::Factory<v8::unboundscript>í does not name a type In file included from ../../nan/nan.h:188:0, from ../src/binding.cc:18: ../../nan/nan_new.h:291:1: error: ëreturn_tí in ëstruct Nan::imp::Factory<v8::string>í does not name a type ../../nan/nan_new.h:297:1: error: ëreturn_tí in ëstruct Nan::imp::Factory<v8::string>í does not name a type../../nan/nan_new.h:303:1: error: ëreturn_tí in ëstruct Nan::imp::Factory<v8::string>í does not name a type ../../nan/nan_new.h:309:1: error: ëreturn_tí in ëstruct Nan::imp::Factory<v8::string>í does not name a type ../../nan/nan_new.h:315:1: error: ëreturn_tí in ëstruct Nan::imp::Factory<v8::string>í does not name a type ../../nan/nan_new.h:321:1: error: ëreturn_tí in ëstruct Nan::imp::Factory<v8::string>í does not name a type ../../nan/nan_new.h:327:1: error: ëreturn_tí in ëstruct Nan::imp::Factory<v8::regexp>í does not name a type In file included from ../src/binding.cc:18:0:../../nan/nan.h: In function ëv8::Local <v8::value>Nan::Error(const char*)í: ../../nan/nan.h:639:3: error: ëNan::imp::FactoryBase<v8::boolean>::return_tí has no member named ëToLocalCheckedí ../../nan/nan.h: In function ëvoid Nan::ThrowError(const char*)í:../../nan/nan.h:639:3: error: ëNan::imp::FactoryBase<v8::boolean>::return_tí has no member named ëToLocalCheckedí ../../nan/nan.h: In function ëv8::Local <v8::value>Nan::RangeError(const char*)í:../../nan/nan.h:640:3: error: ëNan::imp::FactoryBase<v8::boolean>::return_tí has no member named ëToLocalCheckedí ../../nan/nan.h: In function ëvoid Nan::ThrowRangeError(const char*)í:../../nan/nan.h:640:3: error: ëNan::imp::FactoryBase<v8::boolean>::return_tí has no member named ëToLocalCheckedí ../../nan/nan.h: In function ëv8::Local <v8::value>Nan::ReferenceError(const char*)í:../../nan/nan.h:641:3: error: ëNan::imp::FactoryBase<v8::boolean>::return_tí has no member named ëToLocalCheckedí ../../nan/nan.h: In function ëvoid Nan::ThrowReferenceError(const char*)í: ../../nan/nan.h:641:3: error: ëNan::imp::FactoryBase<v8::boolean>::return_tí has no member named ëToLocalCheckedí ../../nan/nan.h: In function ëv8::Local <v8::value>Nan::SyntaxError(const char*)í:../../nan/nan.h:642:3: error: ëNan::imp::FactoryBase<v8::boolean>::return_tí has no member named ëToLocalCheckedí ../../nan/nan.h: In function ëvoid Nan::ThrowSyntaxError(const char*)í:../../nan/nan.h:642:3: error: ëNan::imp::FactoryBase<v8::boolean>::return_tí has no member named ëToLocalCheckedí ../../nan/nan.h: In function ëv8::Local <v8::value>Nan::TypeError(const char*)í:../../nan/nan.h:643:3: error: ëNan::imp::FactoryBase<v8::boolean>::return_tí has no member named ëToLocalCheckedí ../../nan/nan.h: In function ëvoid Nan::ThrowTypeError(const char*)í: ../../nan/nan.h:643:3: error: ëNan::imp::FactoryBase<v8::boolean>::return_tí has no member named ëToLocalCheckedí ../../nan/nan.h: At global scope:../../nan/nan.h:651:14: error: ëMaybeLocalí does not name a type ../../nan/nan.h:673:14: error: ëMaybeLocalí does not name a type ../../nan/nan.h:689:14: error: ëMaybeLocalí does not name a type ../../nan/nan.h:702:14: error: ëMaybeLocalí does not name a type ../../nan/nan.h:719:14: error: ëMaybeLocalí does not name a type ../../nan/nan.h:725:14: error: ëMaybeLocalí does not name a type ../../nan/nan.h:733:14: error: ëMaybeLocalí does not name a type ../../nan/nan.h:740:14: error: ëMaybeLocalí does not name a type ../../nan/nan.h:746:14: error: ëMaybeLocalí does not name a type ../../nan/nan.h: In member function ëvoid Nan::Callback::SetFunction(const v8::Local<v8::function>&)í:../../nan/nan.h:1366:40: error: ëSetí was not declared in this scope ../../nan/nan.h:1366:40: note: suggested alternative:/root/.node-gyp/4.1.2/include/node/v8.h:3021:17: note: ëv8::Setí ../../nan/nan.h: In member function ëvoid Nan::AsyncWorker::SaveToPersistent(const char*, const v8::Local<v8::value>&)í:../../nan/nan.h:1488:41: error: ëNan::imp::FactoryBase<v8::boolean>::return_tí has no member named ëToLocalCheckedí ../../nan/nan.h: In member function ëv8::Local <v8::value>Nan::AsyncWorker::GetFromPersistent(const char*) constí:../../nan/nan.h:1506:45: error: ëNan::imp::FactoryBase<v8::boolean>::return_tí has no member named ëToLocalCheckedí ../../nan/nan.h: In member function ëvirtual void Nan::AsyncWorker::HandleErrorCallback()í:../../nan/nan.h:1540:58: error: no matching function for call to ëNew(const char*)í ../../nan/nan.h:1540:58: note: candidates are: ../../nan/nan_implementation_12_inl.h:390:21: note: template <class t,/class/m="">v8::Local Nan::New(const v8::Persistent<s, m="">&) ../../nan/nan_implementation_12_inl.h:395:21: note: template <class t,/class/m="">v8::Local Nan::New(const Nan::Persistent<t, m="">&) ../../nan/nan_new.h:201:1: note: template <class t="">typename Nan::imp::Factory::return_t Nan::New() ../../nan/nan_new.h:207:1: note: template <class t,/class/a0="">typename Nan::imp::Factory::return_t Nan::New(A0) ../../nan/nan_new.h:213:1: note: template <class t,/class/a0,/a1="">typename Nan::imp::Factory::return_t Nan::New(A0, A1) ../../nan/nan_new.h:219:1: note: template <class t,/class/a0,/a1,/a2="">typename Nan::imp::Factory::return_t Nan::New(A0, A1, A2) ../../nan/nan_new.h:225:1: note: template <class t,/class/a0,/a1,/a2,/a3="">typename Nan::imp::Factory::return_t Nan::New(A0, A1, A2, A3) ../../nan/nan_new.h:237:1: note: template <class t="">typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::value>) ../../nan/nan_new.h:245:1: note: template <class t,/class/a2="">typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::value>, A2) ../../nan/nan.h: In function ëvoid Nan::SetMethod(const T&, const char*, Nan::FunctionCallback)í:../../nan/nan.h:1829:16: error: there are no arguments to ëGetFunctioní that depend on a template parameter, so a declaration of ëGetFunctioní must be available [-fpermissive] ../../nan/nan.h:1829:16: note: (if you use ë-fpermissiveí, G++ will accept your code, but allowing the use of an undeclared name is deprecated) ../../nan/nan.h:1830:45: error: ëNan::imp::FactoryBase<v8::boolean>::return_tí has no member named ëToLocalCheckedí ../../nan/nan.h: In function ëvoid Nan::SetPrototypeMethod(v8::Local<v8::functiontemplate>, const char*, Nan::FunctionCallback)í:../../nan/nan.h:1842:32: error: ëGetFunctioní was not declared in this scope ../../nan/nan.h:1843:45: error: ëNan::imp::FactoryBase<v8::boolean>::return_tí has no member named ëToLocalCheckedí ../../nan/nan.h: In function ëvoid Nan::SetAccessor(v8::Local<v8::objecttemplate>, v8::Local<v8::string>, Nan::GetterCallback, Nan::SetterCallback, v8::Local<v8::value>, v8::AccessControl, v8::PropertyAttribute, Nan::imp::Sig)í:../../nan/nan.h:1868:47: error: ëNewInstanceí was not declared in this scope ../../nan/nan.h: In function ëbool Nan::SetAccessor(v8::Local<v8::object>, v8::Local<v8::string>, Nan::GetterCallback, Nan::SetterCallback, v8::Local<v8::value>, v8::AccessControl, v8::PropertyAttribute)í:../../nan/nan.h:1911:51: error: ëNewInstanceí was not declared in this scope ../../nan/nan.h: In function ëvoid Nan::SetNamedPropertyHandler(v8::Local<v8::objecttemplate>, Nan::PropertyGetterCallback, Nan::PropertySetterCallback, Nan::PropertyQueryCallback, Nan::PropertyDeleterCallback, Nan::PropertyEnumeratorCallback, v8::Local<v8::value>)í:../../nan/nan.h:1959:47: error: ëNewInstanceí was not declared in this scope ../../nan/nan.h: In function ëvoid Nan::SetIndexedPropertyHandler(v8::Local<v8::objecttemplate>, Nan::IndexGetterCallback, Nan::IndexSetterCallback, Nan::IndexQueryCallback, Nan::IndexDeleterCallback, Nan::IndexEnumeratorCallback, v8::Local<v8::value>)í:../../nan/nan.h:2029:47: error: ëNewInstanceí was not declared in this scope In file included from ../src/binding.cc:18:0:../../nan/nan.h: In function ëvoid Nan::Export(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE, const char*, Nan::FunctionCallback)í: ../../nan/nan.h:2090:35: error: no matching function for call to ëNew(const char*&)í ../../nan/nan.h:2090:35: note: candidates are: ../../nan/nan_implementation_12_inl.h:390:21: note: template <class t,/class/m="">v8::Local Nan::New(const v8::Persistent<s, m="">&)../../nan/nan_implementation_12_inl.h:395:21: note: template <class t,/class/m="">v8::Local Nan::New(const Nan::Persistent<t, m="">&) ../../nan/nan_new.h:201:1: note: template <class t="">typename Nan::imp::Factory::return_t Nan::New() ../../nan/nan_new.h:207:1: note: template <class t,/class/a0="">typename Nan::imp::Factory::return_t Nan::New(A0) ../../nan/nan_new.h:213:1: note: template <class t,/class/a0,/a1="">typename Nan::imp::Factory::return_t Nan::New(A0, A1) ../../nan/nan_new.h:219:1: note: template <class t,/class/a0,/a1,/a2="">typename Nan::imp::Factory::return_t Nan::New(A0, A1, A2) ../../nan/nan_new.h:225:1: note: template <class t,/class/a0,/a1,/a2,/a3="">typename Nan::imp::Factory::return_t Nan::New(A0, A1, A2, A3) ../../nan/nan_new.h:237:1: note: template <class t="">typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::value>) ../../nan/nan_new.h:245:1: note: template <class t,/class/a2="">typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::value>, A2) ../../nan/nan.h:2091:47: error: ëGetFunctioní was not declared in this scope ../../nan/nan.h:2091:65: error: ëSetí was not declared in this scope../../nan/nan.h:2091:65: note: suggested alternative: /root/.node-gyp/4.1.2/include/node/v8.h:3021:17: note: ëv8::Setí ../../nan/nan.h: In constructor ëNan::Tap::Tap(v8::Local<v8::value>)í:../../nan/nan.h:2098:30: error: no matching function for call to ëTo(v8::Local<v8::value>&)í ../../nan/nan.h:2098:30: note: candidate is: ../../nan/nan_converters.h:53:38: note: template <class t="">typename Nan::imp::ToFactory::return_t Nan::To(v8::Local<v8::value>) ../../nan/nan.h: In member function ëvoid Nan::Tap::ok(bool, const char*)í:../../nan/nan.h:2111:33: error: ëNan::imp::FactoryBase<v8::boolean>::return_tí has no member named ëToLocalCheckedí ../../nan/nan.h: In member function ëvoid Nan::Tap::pass(const char*)í: ../../nan/nan.h:2117:30: error: ëNan::imp::FactoryBase<v8::boolean>::return_tí has no member named ëToLocalCheckedí ../src/binding.cc: At global scope: ../src/binding.cc:31:11: error: ëv8::Handleí has not been declared ../src/binding.cc:61:26: error: ëHandleí has not been declared../src/binding.cc:61:32: error: expected ë,í or ë...í before ë<í token ../src/binding.cc: In static member function ëstatic void {anonymous}::Iconv::Initialize(int)í:../src/binding.cc:66:5: error: ëobjí was not declared in this scope ../src/binding.cc:66:37: error: no matching function for call to ëNew(const char [5])í ../src/binding.cc:66:37: note: candidates are: ../../nan/nan_implementation_12_inl.h:390:21: note: template <class t,/class/m="">v8::Local Nan::New(const v8::Persistent<s, m="">&)../../nan/nan_implementation_12_inl.h:395:21: note: template <class t,/class/m="">v8::Local Nan::New(const Nan::Persistent<t, m="">&) ../../nan/nan_new.h:201:1: note: template <class t="">typename Nan::imp::Factory::return_t Nan::New() ../../nan/nan_new.h:207:1: note: template <class t,/class/a0="">typename Nan::imp::Factory::return_t Nan::New(A0) ../../nan/nan_new.h:213:1: note: template <class t,/class/a0,/a1="">typename Nan::imp::Factory::return_t Nan::New(A0, A1) ../../nan/nan_new.h:219:1: note: template <class t,/class/a0,/a1,/a2="">typename Nan::imp::Factory::return_t Nan::New(A0, A1, A2) ../../nan/nan_new.h:225:1: note: template <class t,/class/a0,/a1,/a2,/a3="">typename Nan::imp::Factory::return_t Nan::New(A0, A1, A2, A3) ../../nan/nan_new.h:237:1: note: template <class t="">typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::value>) ../../nan/nan_new.h:245:1: note: template <class t,/class/a2="">typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::value>, A2) ../src/binding.cc:68:40: error: no matching function for call to ëNew(const char [8])í ../src/binding.cc:68:40: note: candidates are: ../../nan/nan_implementation_12_inl.h:390:21: note: template <class t,/class/m="">v8::Local Nan::New(const v8::Persistent<s, m="">&) ../../nan/nan_implementation_12_inl.h:395:21: note: template <class t,/class/m="">v8::Local Nan::New(const Nan::Persistent<t, m="">&) ../../nan/nan_new.h:201:1: note: template <class t="">typename Nan::imp::Factory::return_t Nan::New() ../../nan/nan_new.h:207:1: note: template <class t,/class/a0="">typename Nan::imp::Factory::return_t Nan::New(A0) ../../nan/nan_new.h:213:1: note: template <class t,/class/a0,/a1="">typename Nan::imp::Factory::return_t Nan::New(A0, A1) ../../nan/nan_new.h:219:1: note: template <class t,/class/a0,/a1,/a2="">typename Nan::imp::Factory::return_t Nan::New(A0, A1, A2) ../../nan/nan_new.h:225:1: note: template <class t,/class/a0,/a1,/a2,/a3="">typename Nan::imp::Factory::return_t Nan::New(A0, A1, A2, A3) ../../nan/nan_new.h:237:1: note: template <class t="">typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::value>) ../../nan/nan_new.h:245:1: note: template <class t,/class/a2="">typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::value>, A2) ../src/binding.cc:72:5: error: no matching function for call to ëNew(const char [7])í../src/binding.cc:72:5: note: candidates are: ../../nan/nan_implementation_12_inl.h:390:21: note: template <class t,/class/m="">v8::Local Nan::New(const v8::Persistent<s, m="">&) ../../nan/nan_implementation_12_inl.h:395:21: note: template <class t,/class/m="">v8::Local Nan::New(const Nan::Persistent<t, m="">&) ../../nan/nan_new.h:201:1: note: template <class t="">typename Nan::imp::Factory::return_t Nan::New() ../../nan/nan_new.h:207:1: note: template <class t,/class/a0="">typename Nan::imp::Factory::return_t Nan::New(A0) ../../nan/nan_new.h:213:1: note: template <class t,/class/a0,/a1="">typename Nan::imp::Factory::return_t Nan::New(A0, A1) ../../nan/nan_new.h:219:1: note: template <class t,/class/a0,/a1,/a2="">typename Nan::imp::Factory::return_t Nan::New(A0, A1, A2) ../../nan/nan_new.h:225:1: note: template <class t,/class/a0,/a1,/a2,/a3="">typename Nan::imp::Factory::return_t Nan::New(A0, A1, A2, A3) ../../nan/nan_new.h:237:1: note: template <class t="">typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::value>) ../../nan/nan_new.h:245:1: note: template <class t,/class/a2="">typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::value>, A2) ../src/binding.cc:73:5: error: no matching function for call to ëNew(const char [7])í../src/binding.cc:73:5: note: candidates are: ../../nan/nan_implementation_12_inl.h:390:21: note: template <class t,/class/m="">v8::Local Nan::New(const v8::Persistent<s, m="">&) ../../nan/nan_implementation_12_inl.h:395:21: note: template <class t,/class/m="">v8::Local Nan::New(const Nan::Persistent<t, m="">&) ../../nan/nan_new.h:201:1: note: template <class t="">typename Nan::imp::Factory::return_t Nan::New() ../../nan/nan_new.h:207:1: note: template <class t,/class/a0="">typename Nan::imp::Factory::return_t Nan::New(A0) ../../nan/nan_new.h:213:1: note: template <class t,/class/a0,/a1="">typename Nan::imp::Factory::return_t Nan::New(A0, A1) ../../nan/nan_new.h:219:1: note: template <class t,/class/a0,/a1,/a2="">typename Nan::imp::Factory::return_t Nan::New(A0, A1, A2) ../../nan/nan_new.h:225:1: note: template <class t,/class/a0,/a1,/a2,/a3="">typename Nan::imp::Factory::return_t Nan::New(A0, A1, A2, A3) ../../nan/nan_new.h:237:1: note: template <class t="">typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::value>) ../../nan/nan_new.h:245:1: note: template <class t,/class/a2="">typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::value>, A2) ../src/binding.cc:74:5: error: no matching function for call to ëNew(const char [6])í ../src/binding.cc:74:5: note: candidates are: ../../nan/nan_implementation_12_inl.h:390:21: note: template <class t,/class/m="">v8::Local Nan::New(const v8::Persistent<s, m="">&) ../../nan/nan_implementation_12_inl.h:395:21: note: template <class t,/class/m="">v8::Local Nan::New(const Nan::Persistent<t, m="">&) ../../nan/nan_new.h:201:1: note: template <class t="">typename Nan::imp::Factory::return_t Nan::New() ../../nan/nan_new.h:207:1: note: template <class t,/class/a0="">typename Nan::imp::Factory::return_t Nan::New(A0) ../../nan/nan_new.h:213:1: note: template <class t,/class/a0,/a1="">typename Nan::imp::Factory::return_t Nan::New(A0, A1) ../../nan/nan_new.h:219:1: note: template <class t,/class/a0,/a1,/a2="">typename Nan::imp::Factory::return_t Nan::New(A0, A1, A2) ../../nan/nan_new.h:225:1: note: template <class t,/class/a0,/a1,/a2,/a3="">typename Nan::imp::Factory::return_t Nan::New(A0, A1, A2, A3) ../../nan/nan_new.h:237:1: note: template <class t="">typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::value>) ../../nan/nan_new.h:245:1: note: template <class t,/class/a2="">typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::value>, A2) make: *** [Release/obj.target/iconv/src/binding.o] Error 1 gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:270:23) gyp ERR! stack at emitTwo (events.js:87:13)gyp ERR! stack at ChildProcess.emit (events.js:172:7) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12) gyp ERR! System Linux 4.1.6-v7+gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"gyp ERR! cwd /opt/iobroker/node_modules/iobroker.harmony/node_modules/harmonyhubjs-client/node_modules/node-xmpp-core/node_modules/ltx/node_modules/node-expat/node_modules/iconv gyp ERR! node -v v4.1.2 gyp ERR! node-gyp -v v3.0.3 gyp ERR! not ok npm ERR! Linux 4.1.6-v7+ npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "iobroker.harmony" "--production" "--prefix" "/opt/iobroker" npm ERR! node v4.1.2npm ERR! npm v2.14.4 npm ERR! code ELIFECYCLE npm ERR! iconv@2.1.10 install: `node-gyp rebuild` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the iconv@2.1.10 install script 'node-gyp rebuild'.npm ERR! This is most likely a problem with the iconv package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system:npm ERR! node-gyp rebuild npm ERR! You can get their info via: npm ERR! npm owner ls iconv npm ERR! There is likely additional logging output above. npm ERR! Please include the following file with any support request: npm ERR! /npm-debug.log ERROR: host.raspberrypi2 Cannot install iobroker.harmony: 1 ERROR: process exited with code 25</v8::value></class></v8::value></class></class></class></class></class></class></t,></class></s,></class></v8::value></class></v8::value></class></class></class></class></class></class></t,></class></s,></class></v8::value></class></v8::value></class></class></class></class></class></class></t,></class></s,></class></v8::value></class></v8::value></class></class></class></class></class></class></t,></class></s,></class></v8::value></class></v8::value></class></class></class></class></class></class></t,></class></s,></class></v8::boolean></v8::boolean></v8::value></class></v8::value></v8::value></v8::value></class></v8::value></class></class></class></class></class></class></t,></class></s,></class></v8::value></v8::objecttemplate></v8::value></v8::objecttemplate></v8::value></v8::string></v8::object></v8::value></v8::string></v8::objecttemplate></v8::boolean></v8::functiontemplate></v8::boolean></v8::value></class></v8::value></class></class></class></class></class></class></t,></class></s,></class></v8::boolean></v8::value></v8::boolean></v8::value></v8::function></v8::boolean></v8::boolean></v8::value></v8::boolean></v8::boolean></v8::value></v8::boolean></v8::boolean></v8::value></v8::boolean></v8::boolean></v8::value></v8::boolean></v8::boolean></v8::value></v8::regexp></v8::string></v8::string></v8::string></v8::string></v8::string></v8::string></v8::unboundscript></v8::unboundscript></v8::string></v8::string></v8::string></v8::string></v8::string></v8::string></v8::script></v8::script></v8::regexp></v8::signature></v8::value></v8::functiontemplate></v8::functiontemplate></v8::value></v8::function></v8::function></v8::date></v8::value></class></v8::integer></v8::integer></v8::value></class></v8::integer></v8::integer></v8::value></class></v8::integer></v8::integer></int></unsigned></long></double></bool></v8::int32></v8::uint32></v8::integer></v8::object></v8::string></v8::number></v8::boolean>
Was kann ich tun? Besser wieder zurück auf eine 12.x.x Version?
Gruß Frank
-
Das ist das Problem mit iconv Paket.
Das habe ich gefunden:
https://github.com/bnoordhuis/node-icon … -147357686
` > node-gyp is picking up what I suspect is the distro-maintained version of node.js and that's missing the REPLACE_INVALID_UTF8 patch. Running export npm_config_nodedir=$HOME/.nvm/versions/node/v4.1.2 should fix it.
Note that this is not an issue with node-iconv, but with nan, and it's not really nan's fault either - there is no way for it to distinguish between versions with the patch, and ones without.
node-gyp -v v0.10.6
That is a really, really ancient version of node-gyp. `
-
Hallo Bluefox,
wenn ich es jetzt richtig verstanden habe sollte ich in der Console
> export npm_config_nodedir=$HOME/.nvm/versions/node/v4.1.2
eingeben.Bringt aber nichts, habe immer noch die gleichen Fehler, wenn ich den Harmony Adapter installieren will.
-
Von welcher node Version kamst du?
Bei mir wird node-gyp neu erstellt, das dauert dann ein wenig:
npm install iobroker.harmony > node-stringprep@0.6.2 install /opt/iobroker/node_modules/iobroker.harmony/node_modules/harmonyhubjs-client/node_modules/node-stringprep > node-gyp rebuild
Vielleicht mal npm cache clean und npm cache clean -g machen, den Harmony Adapter komplett löschen und nochmal versuchen.
Jetzt ist auch schon nodejs 4.2.0 mit LTS raus.
-
Ich glaube es war v11.7 oder so, auf jeden Fall ne 11er Version.
Nutzt du auch die v4.1.2, Pman?
Habe jetzt nochmal
npm cache clean
npm cache clean -g
npm install iobroker-harmony
dann kommt zum Schluss wieder Error. Muss leider ein Screenshot vom Smartphone anhängen.
-
Nutzt du Debian Jessie? Ich glaube node 4.x ist nicht kompatibel mit Wheezy. Außerdem ist ein Update eines bereits installierten ioBroker direkt von den alten Versionen vor 4.x schwierig, da etliche Abhängigkeiten neu erstellt werden müssen. Ich habe ioBroker komplett neu installiert mit allen nötigen Adaptern und danach dann das alte data-Verzeichnis rein kopiert.
Auf jeden fall sollten build.essentials installiert sein (apt-get install build-essential), für node-gyp außerdem auch python 2.7.x (python –version)
Ich habe mit 4.0.0 angefangen und bin seit heute auf 4.2, gab nie Probleme nach den Updates innerhab der 4.x Versionen.
-
Hmm ok. Nein hab noch Wheezy drauf.
Na klasse, hätte ich dann besser sein lassen mit der v4.x.x, wobei ich sonst eigentlich keine Probleme habe laut log. Läuft auch soweit alles, bis auf den Harmony.
In dem Linux Kram bin ich leider blutiger Anfänger. Ich habe vor paar Monaten erstmals iobroker auf meinem Raspi2 installiert nach der Anleitung von Homoran.
Evtl. könntest du mir vllt etwas helfen wie ich jetzt am Besten vorgehe. Entweder wieder zurück zu einer 12er Version oder neu aufsetzen.
Ich kenne leider die ganzen Befehle nicht.
Edit: Kann ich so auch wieder zurück zu einer "alten" Version? So hab ich das Update auf v4.1.2 gemacht
cd /opt iobroker stop cd apt-get remove node apt-get remove nodejs wget https://nodejs.org/dist/latest/node-v4.1.2-linux-armv7l.tar.gz tar -xvf node-v4.1.2-linux-armv7l.tar.gz cd node-v4.1.2-linux-armv7l/ sudo cp -R * /usr/local/ hash -r node -v cd /opt iobroker start
-
Ich glaube z. B. der gcc ist zu alt bei wheezy.
Wenn du das neue nodejs mit apt-get weg bekommst müsstest du danach wieder das alte wie gewohnt installieren.
-
Mist, geht natürlich nicht :x
Hast du sonst noch eine Idee? Ansonsten müsste ich wohl neu aufsetzen. Kann ich nach dem neu aufsetzen einfach die ganzen Adapter neu installieren und dann den "alten" iobroker-data Ordner wieder einfügen?
Sorry, dass ich jetzt gerade deinen Thread so zu texte, hat ja jetzt nix mehr mit deinem Adapter zu tun
-
Ja genau, das sollte klappen.