Uploaded image for project: 'Kopano Groupware Core'
  1. Kopano Groupware Core
  2. KC-874

scripts: kopano localize folders cannot encode special characters

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: invalid
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Security Level: Public
    • Labels:
      None
    • Environment:
      8.4.2.0.

      Description

      Reported on the Kopano forum: https://forum.kopano.io/topic/777/kopano-localize-folders/10

      steps to reproduce:

      • type:  kopano-localize-folders -u <username> --lang de_DE.UTF-8  --verbose

      Expected behavior: The language will be converted into German

      Actual behavior: The following traceback is given:

      root@lhsupfinal:~# kopano-localize-folders -u user2 --lang de_DE.UTF-8 --verbose
      user2
      user2: Changing localized folder names to "de_DE.UTF-8"
      Running in verbose mode
      Changing MAPI "junk" -> Renaming "Junk E-mail" to "Junk E-Mail"
      Changing MAPI "tasks" -> Renaming "Tasks" to "Aufgaben"
      Changing MAPI "journal" -> Renaming "Journal" to "Journal"
      Traceback (most recent call last):
      File "/usr/sbin/kopano-localize-folders", line 113, in <module>
      main()
      File "/usr/sbin/kopano-localize-folders", line 103, in main
      print 'Changing MAPI "%s" -> Renaming "%s" to "%s"' % (mapifolder, folderobject.name, localizedname)
      UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 3: ordinal not in range(128)
      
      
      
      
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              lherrmann Lex Herrmann
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: