Uploaded image for project: 'VOMS'
  1. VOMS
  2. VOMS-886

VOMS Admin client Unicode decode error

XMLWordPrintable

      VOMS Admin client fails in decoding UNICODE.
      In the GGUS ticket there is a proposed solution that should be verified and applied where appropriate:

      --- /usr/bin/voms-admin.orig 2020-12-02 13:27:37.617916728 +0100
      +++ /usr/bin/voms-admin 2020-12-02 13:28:07.392924390 +0100
      @@ -239,10 +239,10 @@
      
      if isinstance(res, types.ListType):
      for i in res:
      - print unicode(i)
      + print unicode(str(i),'utf-8')
      else:
      if not res is None:
      - print unicode(res)
      + print unicode(str(res),'utf-8')
      

            msoares Marcelo Vilaça Pinheiro Soares [X] (Inactive)
            aceccant Andrea Ceccanti
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: