Sigurd Mytting
2010-10-09 08:40:21 UTC
Hi,
upgraded to 3.6.0 yesterday - it looks great!
But there is a small problem: it seems mcc won't handle norwegian
characters in port descriptions.
2010-10-09 09:35:58,708: [ERROR] nav.mcc.utils - Could not encode KVM
Str�mskinne 1 to latin-1: 'latin-1' codec can't encode character
u'\ufffd' in position 7: ordinal not in range(256)
I don't really care about the description beeing correctly displayed,
but mcc stops after this and no more cricket config is generated.
Looks like this happens when convert_unicode_to_latin1 in
nav/mcc/utils.py returns the unicode object instead of a latin-1 string.
My workaround is to just return an empty string instead of the unicode
object.
Thanks for all the work you guys put into NAV, truly exceptional
software solving everyday problems for a lot of us!
Cheers,
-Sigurd
upgraded to 3.6.0 yesterday - it looks great!
But there is a small problem: it seems mcc won't handle norwegian
characters in port descriptions.
2010-10-09 09:35:58,708: [ERROR] nav.mcc.utils - Could not encode KVM
Str�mskinne 1 to latin-1: 'latin-1' codec can't encode character
u'\ufffd' in position 7: ordinal not in range(256)
I don't really care about the description beeing correctly displayed,
but mcc stops after this and no more cricket config is generated.
Looks like this happens when convert_unicode_to_latin1 in
nav/mcc/utils.py returns the unicode object instead of a latin-1 string.
My workaround is to just return an empty string instead of the unicode
object.
Thanks for all the work you guys put into NAV, truly exceptional
software solving everyday problems for a lot of us!
Cheers,
-Sigurd