kolab-cli - can't delete Mailbox - unicode problem

Jan Kowalsky jankow at datenkollektiv.net
Tue Nov 10 12:40:28 CET 2015


Hi all,

trying to delete a mailbox on the command line using

kolab dm user/user at example.org

results in:

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/cmd_delete_mailbox.py",
line 69, in execute
    log.error(_("Could not delete mailbox '%s'") % (delete_folder))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 11:
ordinal not in range(128)

My locale on the commandline is: de_DE.UTF-8

If I switch to export LANG=C the same command works.

Now we have the situation that mailboxes of users deleted in ldap are
not deleted in cyrus-imapd. Maybe this is related. On which locals your
server runs?

Is this a bug or misconfiguration? What do you think?

Thanks and regards
Jan


More information about the users mailing list