Navigation

    Kopano
    • Register
    • Login
    • Search
    • Categories
    • Get Official Kopano Support
    • Recent
    Statement regarding the closure of the Kopano community forum and the end of the community edition

    Bug in MAPI/Util/codepage.py: where to report?

    Kopano Groupware Core
    2
    3
    215
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • marlemion
      marlemion last edited by

      Hi,

      I have just encountered a possible bug in said file. Codepage resolving a codepage number ‘20127’ could not be done and, hence, a kopano.NotFoundError was raised.

      Upon a short google search, codepage 20127 should be us-ascii:

      https://docs.microsoft.com/en-us/windows/win32/intl/code-page-identifiers?redirectedfrom=MSDN

      codepage.py provides a list with tuples comprising the codepage name and the codepage number, whereas the last entry is:

      ("us-ascii", 2012)
      

      Which should be either completely changed to

      ("us-ascii", 20127)
      

      or maybe enhanced by

      ("us-ascii", 2012),
      ("us-ascii", 20127)
      

      Who is maintaining Python MAPI? Where should I report this?

      longsleep 1 Reply Last reply Reply Quote 0
      • longsleep
        longsleep Kopano @marlemion last edited by

        @marlemion this has been fixed a while ago - see https://stash.kopano.io/projects/KC/repos/kopanocore/commits/37edc2bb0842dd2a6e1ac081d7751f63d979dcea#swig/python/MAPI/Util/codepage.py

        marlemion 1 Reply Last reply Reply Quote 0
        • marlemion
          marlemion @longsleep last edited by

          Thanks for the info, @longsleep

          Is that also part of the 8.7.xx versions? Apparently, the machine I have encountered is using these packages…

          1 Reply Last reply Reply Quote 0
          • First post
            Last post