IPS 7.0 und IPSLibrary

Das hatte ich so auch schon gefunden aber bei mir ist im Objektbaum und auch nicht in der Visu so eine Katekorie muss ich die noch irgendwie Installieren?

Ich habe bis jetzt auch nicht das Webfront benutzt sondern IPS .

Nutzt du denn überhaupt Module der IPSLibrary? Wenn ja, welche Module?

Ja IPS View IPS Disigner IPS Conect aber irgendwie hab ich jetzt das gefühl das geht gar nicht um das normale IPS View hab ich aber irgendwie so verstanden.

Genau, du bist gar nicht angesprochen :slight_smile:

Hier geht es um die Module der IPSLibrary - quasi dem Vorläufer der IPS Module mi einer eigenen Modulverwaltung.

Sorry danke für die Antworten da hab ich das wohl falsch interpretiert

Hallo Michael,

ist das Modul schon IPS 7.0 fit?
Habe es mal auf meinem Testrechner installiert und es kommt eine Fehlermeldung.

19.10.2023, 18:12:00 | FlowHandler          | Kann Daten nicht zur Instanz #31138 weiterleiten: 
Fatal error: Uncaught ArgumentCountError: Too few arguments to function IPSLogger_PhpErrorHandler(), 4 passed in C:\ProgramData\Symcon\modules\.store\de.nall.chan.homematic.extended\Systemvariablen\module.php on line 647 and exactly 5 expected in C:\ProgramData\Symcon\scripts\IPSLibrary\app\core\IPSLogger\IPSLogger_PhpErrorHandler.inc.php:24
Stack trace:
#0 C:\ProgramData\Symcon\modules\.store\de.nall.chan.homematic.extended\Systemvariablen\module.php(647): IPSLogger_PhpErrorHandler(8192, 'Function utf8_e...', 'C:\\ProgramData\\...', 647)
#1 C:\ProgramData\Symcon\modules\.store\de.nall.chan.homematic.extended\Systemvariablen\module.php(206): HomeMaticSystemvariablen->ReadSysVars()
#2 C:\Windows\System32\-(3): HomeMaticSystemvariablen->ReceiveData('{"DataID":"{98F...')
#3 {main}
  thrown in C:\ProgramData\Symcon\scripts\IPSLibrary\app\core\IPSLogger\IPSLogger_PhpErrorHandler.inc.php on line 24

Fatal error: Uncaught ArgumentCountError: Too few arguments to function IPSLogger_PhpErrorHandler(), 4 passed and exactly 5 expected in C:\ProgramData\Symcon\scripts\IPSLibrary\app\core\IPSLogger\IPSLogger_PhpErrorHandler.inc.php:24
Stack trace:
#0 [internal function]: IPSLogger_PhpErrorHandler(2, 'Cannot detect T...', 'C:\\ProgramData\\...', 53)
#1 C:\ProgramData\Symcon\scripts\IPSLibrary\app\core\IPSLogger\IPSLogger_Output.inc.php(53): IPS_SemaphoreEnter('IPSLogger_Write...', 1000)
#2 C:\ProgramData\Symcon\scripts\IPSLibrary\app\core\IPSLogger\IPSLogger_Output.inc.php(84): IPSLogger_WriteFile('C:\\ProgramData\\...', 'IPSLogger_20231...', 'IPSymcon-Err-PH...', 18588)
#3 C:\ProgramData\Symcon\scripts\IPSLibrary\app\core\IPSLogger\IPSLogger_Output.inc.php(506): IPSLogger_OutFile(1, 'Error', 'PHP', 'Error: Uncaught...')
#4 C:\ProgramData\Symcon\scripts\IPSLibrary\app\core\IPSLogger\IPSLogger_Output.inc.php(39): IPSLogger_invokeLoggers(1, 'Error', 'PHP', 'Error: Uncaught...', '\n  137 in scrip...', 0)
#5 C:\ProgramData\Symcon\scripts\IPSLibrary\app\core\IPSLogger\IPSLogger.inc.php(137): IPSLogger_Out(1, 'Error', 'PHP', 'Error: Uncaught...')
#6 C:\ProgramData\Symcon\scripts\IPSLibrary\app\core\IPSLogger\IPSLogger_PhpErrorHandler.inc.php(33): IPSLogger_Err('PHP', 'Error: Uncaught...')
#7 C:\ProgramData\Symcon\scripts\IPSLibrary\app\core\IPSLogger\IPSLogger_PhpErrorHandler.inc.php(121): IPSLogger_PhpErrorHandler(1, 'Uncaught Argume...', 'C:\\ProgramData\\...', 24, NULL)
#8 [internal function]: IPSLogger_PhpFatalErrorHandler()
#9 {main}
  thrown in C:\ProgramData\Symcon\scripts\IPSLibrary\app\core\IPSLogger\IPSLogger_PhpErrorHandler.inc.php on line 24

Die Instanz 31138 ist „Systemvariablen Homematic“
Liegt das am Modul oder habe ich noch ein anderes Problem?

Gruß Alex

Hier ist das Thema für dein Problem und auch die Lösung dazu :wink:
Michael

Danke Michael.

Meine Module sind eigentlich auf dem neuesten Stand. Habe den IPSLogger vor dem Umstieg auf IPS 7 ein update gemacht.

Wo kann ich den Fehler suchen?

VG Alex

Komisch, diese Änderungen wurden bei mir durch das Update gar nicht durchgeführt.
Jetzt habe ich es manuell durchgeführt und es funktioniert wieder.

Danke für’s verschieben Michael.

Gruß Alex

Hallo,

hab heute das aktuelle Update von IP Symcon eingespielt. Nach der Installation von diesem hat bei mir das ganze System gesponnen. Es wurden keine Skipte mehr ausgeführt. Die Fehlermeldung jedes Mal sah so wie bei Alexandro aus. Alles zeigte auf den IPSLogger_PhpErrorHandler als ich die Datei auf machen wollte, konnte er diese nicht öffnen wurde dann neu erstellt und war somit leer. Auf der HP kam ich auch nicht mehr auf die IPS Library um eventuell ein Update zu machen. Es ging nicht mehr. Auch eine "Installation darüber war aufgrund der Nichtausführung von Skripten nicht mehr möglich. Also hab ich die komplette IPS Library im Objektbaum gelöscht und auch auf Dateiebene im Verzeichnis entfernt. Jetzt lief eigendlich alles soweit wieder und die Skripte wurden auch wieder ausgeführt. Also dachte ich mir ich installiere es einfach neu, jetzt bekomme ich diese Anzeige (Bild). Hat jemand eine Lösung für mich ?

Dankeschön

Gruß Dirk

Windows 10 / IPS Kernel 7.0

Wie hast du es neu installiert, mit der Modul baseloader.php?

Hallo,

wie beschrieben. Skript baseloader.php kopiert und ausgeführt.

Gruß Dirk

Versuch mal die Scripte unter Program/IPSLibrary/install nacheinander zu starten.

Schau dir auch mal die Datei __autoload.php im Scriptverzeichnis an.
Dort sollte so etwas drin stehen:

    include_once IPS_GetKernelDir()."scripts/IPSLibrary/app/core/IPSUtils/IPSUtils.inc.php";
    
    IPSUtils_Include("IPSLogger_PhpErrorHandler.inc.php", "IPSLibrary::app::core::IPSLogger");

Ansonsten bin ich raus.

Danach Dienst neu starten.

VG Alex

1 „Gefällt mir“

Tja, ich stecke auch drin in einem IPSLibrary-Problem nach dem Update auf die V7. Ich hatte vor dem Update leider kein Update der Lib gemacht.

Drauf gekommen bin ich durch Probleme mit dem Modul „Rechenmodule“, bei dem jetzt die Berechnungen von Variablen nicht mehr läuft und mit:

Fatal error: Uncaught ArgumentCountError: Too few arguments to function IPSLogger_PhpErrorHandler(), 4 passed and exactly 5 expected in /var/lib/symcon/scripts/IPSLibrary/app/core/IPSLogger/IPSLogger_PhpErrorHandler.inc.php:24

abbricht.
Das Script für die IPSLibrary „Step1 - Baseloader“ und alle anderen wird nicht ausgeführt, auch da gibt es eine ähnliche Fehlermeldung:

Installation of ModuleManager

Fatal error: Uncaught ArgumentCountError: Too few arguments to function IPSLogger_PhpErrorHandler(), 4 passed in /var/lib/symcon/scripts/IPSLibrary/app/core/IPSUtils/IPSUtils.inc.php on line 41 and exactly 5 expected in /var/lib/symcon/scripts/IPSLibrary/app/core/IPSLogger/IPSLogger_PhpErrorHandler.inc.php:24
Stack trace:
#0 /var/lib/symcon/scripts/IPSLibrary/app/core/IPSUtils/IPSUtils.inc.php(41): IPSLogger_PhpErrorHandler(8192, ‚Optional parame…‘, ‚/var/lib/symcon…‘, 377)
#1 /var/lib/symcon/scripts/IPSLibrary/app/core/IPSUtils/IPSUtils.inc.php(41): include_once()
#2 /var/lib/symcon/scripts/IPSLibrary/install/IPSModuleManager/IPSModuleManager.class.php(14): IPSUtils_Include(‚/var/lib/symcon…‘, ‚IPSLibrary::ins…‘)
#3 /var/lib/symcon/scripts/IPSLibrary/app/core/IPSUtils/IPSUtils.inc.php(41): include_once(‚/var/lib/symcon…‘)
#4 /var/lib/symcon/scripts/IPSLibrary_BaseLoader.ips.php(38): IPSUtils_Include(‚/var/lib/symcon…‘, ‚IPSLibrary::ins…‘)
#5 /var/lib/symcon/scripts/59981.ips.php(26): include(‚/var/lib/symcon…‘)
#6 {main}
thrown in /var/lib/symcon/scripts/IPSLibrary/app/core/IPSLogger/IPSLogger_PhpErrorHandler.inc.php on line 24

Fatal error: Uncaught ArgumentCountError: Too few arguments to function IPSLogger_PhpErrorHandler(), 4 passed in /var/lib/symcon/scripts/IPSLibrary/app/core/IPSLogger/IPSLogger_Output.inc.php on line 99 and exactly 5 expected in /var/lib/symcon/scripts/IPSLibrary/app/core/IPSLogger/IPSLogger_PhpErrorHandler.inc.php:24
Stack trace:
#0 /var/lib/symcon/scripts/IPSLibrary/app/core/IPSLogger/IPSLogger_Output.inc.php(99): IPSLogger_PhpErrorHandler(8192, ‚Function utf8_d…‘, ‚/var/lib/symcon…‘, 99)
#1 /var/lib/symcon/scripts/IPSLibrary/app/core/IPSLogger/IPSLogger_Output.inc.php(507): IPSLogger_OutLog4IPS(1, ‚Error‘, ‚PHP‘, ‚Error: Uncaught…‘)
#2 /var/lib/symcon/scripts/IPSLibrary/app/core/IPSLogger/IPSLogger_Output.inc.php(39): IPSLogger_invokeLoggers(1, ‚Error‘, ‚PHP‘, ‚Error: Uncaught…‘, ‚\n 134 in IPSLi…‘, 0)
#3 /var/lib/symcon/scripts/IPSLibrary/app/core/IPSLogger/IPSLogger.inc.php(134): IPSLogger_Out(1, ‚Error‘, ‚PHP‘, ‚Error: Uncaught…‘)
#4 /var/lib/symcon/scripts/IPSLibrary/app/core/IPSLogger/IPSLogger_PhpErrorHandler.inc.php(33): IPSLogger_Err(‚PHP‘, ‚Error: Uncaught…‘)
#5 /var/lib/symcon/scripts/IPSLibrary/app/core/IPSLogger/IPSLogger_PhpErrorHandler.inc.php(121): IPSLogger_PhpErrorHandler(1, ‚Uncaught Argume…‘, ‚/var/lib/symcon…‘, 24, NULL)
#6 [internal function]: IPSLogger_PhpFatalErrorHandler()
#7 {main}
thrown in /var/lib/symcon/scripts/IPSLibrary/app/core/IPSLogger/IPSLogger_PhpErrorHandler.inc.php on line 24

Auch im Webfront bricht IPSLibrary ab und kann nicht mehr aktualisiert werden.

Das Rechenmodul würde ich schon sehr gerne einsetzen! Hat jemand Ideen?

Entweder nochmal auf 6.x zurück oder die im Eingangspost beschriebenen Änderungen durchführen. Dann sollte es wieder gut sein.

Selbes problem hier, update auf 7.0 und danach kam

jemand schon eine idee für das problem ?

Danke im vorraus

Fatal error: Uncaught ArgumentCountError: Too few arguments to function IPSLogger_PhpErrorHandler(), 4 passed in C:\ProgramData\Symcon\modules.store\at.brownson.ipsviewdesigner\IPSViewDesigner\module.php on line 153 and exactly 5 expected in C:\ProgramData\Symcon\scripts\IPSLibrary\app\core\IPSLogger\IPSLogger_PhpErrorHandler.inc.php:24 Stack trace: #0 C:\ProgramData\Symcon\modules.store\at.brownson.ipsviewdesigner\IPSViewDesigner\module.php(153): IPSLogger_PhpErrorHandler(2, ‚Undefined array…‘, ‚C:\ProgramData\…‘, 153) #1 C:\Windows\System32-(3): IPSViewDesigner->ProcessHookData() #2 C:\Windows\System32-(4): HookInstance->ProcessHookData() #3 {main} thrown in C:\ProgramData\Symcon\scripts\IPSLibrary\app\core\IPSLogger\IPSLogger_PhpErrorHandler.inc.php on line 24 Fatal error: Uncaught ArgumentCountError: Too few arguments to function IPSLogger_PhpErrorHandler(), 4 passed in C:\ProgramData\Symcon\scripts\IPSLibrary\app\core\IPSLogger\IPSLogger_Output.inc.php on line 99 and exactly 5 expected in C:\ProgramData\Symcon\scripts\IPSLibrary\app\core\IPSLogger\IPSLogger_PhpErrorHandler.inc.php:24 Stack trace: #0 C:\ProgramData\Symcon\scripts\IPSLibrary\app\core\IPSLogger\IPSLogger_Output.inc.php(99): IPSLogger_PhpErrorHandler(8192, ‚Function utf8_d…‘, ‚C:\ProgramData\…‘, 99) #1 C:\ProgramData\Symcon\scripts\IPSLibrary\app\core\IPSLogger\IPSLogger_Output.inc.php(507): IPSLogger_OutLog4IPS(1, ‚Error‘, ‚PHP‘, ‚Error: Uncaught…‘) #2 C:\ProgramData\Symcon\scripts\IPSLibrary\app\core\IPSLogger\IPSLogger_Output.inc.php(39): IPSLogger_invokeLoggers(1, ‚Error‘, ‚PHP‘, ‚Error: Uncaught…‘, ‚\n 134 in scrip…‘, 0) #3 C:\ProgramData\Symcon\scripts\IPSLibrary\app\core\IPSLogger\IPSLogger.inc.php(134): IPSLogger_Out(1, ‚Error‘, ‚PHP‘, ‚Error: Uncaught…‘) #4 C:\ProgramData\Symcon\scripts\IPSLibrary\app\core\IPSLogger\IPSLogger_PhpErrorHandler.inc.php(33): IPSLogger_Err(‚PHP‘, ‚Error: Uncaught…‘) #5 C:\ProgramData\Symcon\scripts\IPSLibrary\app\core\IPSLogger\IPSLogger_PhpErrorHandler.inc.php(121): IPSLogger_PhpErrorHandler(1, ‚Uncaught Argume…‘, ‚C:\ProgramData\…‘, 24, NULL) #6 [internal function]: IPSLogger_PhpFatalErrorHandler() #7 {main} thrown in C:\ProgramData\Symcon\scripts\IPSLibrary\app\core\IPSLogger\IPSLogger_PhpErrorHandler.inc.php on line 24

Vielen Dank bumaas, mit einigem Gefrickel hab ich es dann geschafft.

Für alle, die sich mit dem Ändern von Skripten im Linux nicht so leicht tun:
Die Pfade für die Dateien
IPSLogger_PhpErrorHandler.inc.php
/var/lib/symcon/scripts/IPSLibrary/app/core/IPSLogger

IPSHighcharts.inc.php
/var/lib/symcon/scripts/IPSLibrary/app/modules/Charts/IPSHighcharts

IPSTwilight.ips.php
/var/lib/symcon/scripts/IPSLibrary/app/modules/Weather/IPSTwilight

Die notwendigen Änderungen in den Dateien stehen dann im ersten Post unter VERALTET

Bei mir hat es nach einem Neustart des Systems dann wieder die IPSLibrary im Webfront angezeigt und ich konnte Updates Laden. War vermutlich etwas einfacher als ein Rollback.

Steht im ersten Beitrag :banghead:

Ja, weil die Änderungen in der Library enthalten sind.
Aber die muss man halt auch VOR dem Symcon Update einspielen.
So wie es in der Migrationsanleitung steht.
Michael

1 „Gefällt mir“

Guten Abend,

also ich hab es überprüft. Steht alles bei mir drin.

Ich hab inzwischen ja über eine Neuinstallation über den Baseloader gemacht. Leider hier trotzdem keine Funktion.

@bumaas Da ich neu installiert habe sind die Änderungen drin. Und trotzdem keine Funktion.

Etwas Ratlos…

Gruß Dirk