WinNUT-Client icon indicating copy to clipboard operation
WinNUT-Client copied to clipboard

The text must be shorter than 64 characters Error

Open julianx03 opened this issue 4 years ago • 2 comments

Hello

Everytime my ups go into battery mode, the nut client shows me that error message and disconnects from the server:

[Id 3: 08.05.2021 12:57:01] Verbindung zum Nut Host IP-Addresse: 3493 fehlgeschlagen: Der Text muss kürzer als 64 Zeichen sein.
Parametername: Text
Der tatsächliche Wert war WinNUT - 2.0
In Verbindung gebracht
Online

Translation:

[Id 3: 08.05.2021 12:57:01] Connection to Nut Host IP address: 3493 failed: The text must be shorter than 64 characters.
Parameter name: Text
The actual value was WinNUT - 2.0
Connected
Online

What is the Problem?

julianx03 avatar May 08 '21 11:05 julianx03

Same error here, but it appears always, not only in battery mode.

Exception type: System.ArgumentOutOfRangeException
Exception message: Der Text muss kürzer als 64 Zeichen sein.
Parametername: Text
Der tatsächliche Wert war WinNUT-Client - 2.1
In Verbindung gebracht
Online
Batterie OK.
Exception stack trace: 
   bei System.Windows.Forms.NotifyIcon.set_Text(String value)
   bei WinNUT_Client.WinNUT.Event_UpdateNotifyIconStr(String Reason, String Message)
   bei WinNUT_Client.WinNUT.Update_UPS_Data()
   bei WinNUT_Client.WinNUT.Retrieve_UPS_Datas(Object sender, EventArgs e)
   bei System.Windows.Forms.Timer.OnTick(EventArgs e)
   bei System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
   bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

thenktor avatar Jun 08 '21 09:06 thenktor

To everyone following this, please follow our latest issue at https://github.com/nutdotnet/WinNUT-Client/issues/5, there's a new pre-release that should fix this. Please provide your feedback there.

gbakeman avatar Aug 07 '22 17:08 gbakeman