Nagstamon icon indicating copy to clipboard operation
Nagstamon copied to clipboard

UnicodeEncodeError on password

Open SQLozano opened this issue 4 years ago • 5 comments

After updating the password, nagstamon is no longer able to connect to the server, returning instead the following error: UnicodeEncodeError: 'latin-1' codec can't encode character '\u20ac' in position 7: ordinal not in range(256)

OS: Windows 10 Nagstamon: 3.4.1

SQLozano avatar Jun 02 '20 07:06 SQLozano

What monitoring server do you connect to? Does the webserver in front of it speak Unicode UTF8?

HenriWahl avatar Jul 28 '20 15:07 HenriWahl

Another idea: can you please try the latest testing release from https://nagstamon.ifw-dresden.de/download/#testing ?

HenriWahl avatar Jul 29 '20 15:07 HenriWahl

We have 2 different nagios servers, both speaking Unicode UTF8, and throwing the same error message. The testing release throws the same error message too.

SQLozano avatar Aug 05 '20 15:08 SQLozano

Since Python 3 all strings are unicode so I am not sure where to look at. Are you able to run Nagstamon from source in a console window so the full error message could be seen?

HenriWahl avatar Dec 22 '20 14:12 HenriWahl

Still the same? Or did you meanwhile change the password? :smiley:

HenriWahl avatar Sep 30 '21 20:09 HenriWahl

Closing due to no response- might be fixed meanwhile by newer version.

HenriWahl avatar Oct 02 '22 19:10 HenriWahl