kolab python Error

Jan Kowalsky jankow at datenkollektiv.net
Tue Dec 27 18:44:53 CET 2016


Hi Henning,

at the first glance it looks similar to:
https://issues.kolab.org/show_bug.cgi?id=5361

What pykolab version do you use? Which system and wich lang settings?

At least if you are on any not-ascii LANG env it may be relateted to the
description off "add-domain". In german there is an u diphthong (ü) in
description of add-domain. This could cause the problem.

~# kolab help
acl-cleanup               - Clean up ACLs that use identifiers that no
longer exist
add-alias                 - Add alias.
add-domain                - Hinzufügen einer neuen Domäne.
add-group                 - Not yet implemented


on my lang settings with:

echo $LANG
de_DE.UTF-8

and 0.7.10-0~kolab4 I get no problems whith "kolab help" - but with
other kolab commands like kolab dm (depending on the mailbox name).

Best regards
Jan

Am 24.12.2016 um 13:36 schrieb Henning:
> Hi,
> 
> anyone can help me with that?
> 
> ~$ sudo kolab help
> acl-cleanup               - Clean up ACLs that use identifiers that no
> longer exist
> add-alias                 - Add alias.
> Traceback (most recent call last):
>   File "/usr/sbin/kolab", line 39, in <module>
>     kolab = Cli()
>   File "/usr/lib/python2.7/dist-packages/pykolab/cli/__init__.py", line
> 69, in __init__
>     commands.execute('_'.join(to_execute))
>   File "/usr/lib/python2.7/dist-packages/pykolab/cli/commands.py", line
> 138, in execute
>     commands[cmd_name]['function'](conf.cli_args, kw)
>   File "/usr/lib/python2.7/dist-packages/pykolab/cli/commands.py", line
> 90, in list_commands
>     print "%-25s - %s" %
> (_command.replace('_','-'),__commands[_command]['description'])
>   File "/usr/lib/python2.7/codecs.py", line 351, in write
>     data, consumed = self.encode(object, self.errors)
> UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 34:
> ordinal not in range(128)
> 
> Best regards and happy holidays,
> 
> Henning
> _______________________________________________
> users mailing list
> users at lists.kolab.org
> https://lists.kolab.org/mailman/listinfo/users


More information about the users mailing list