#5225 Locale encoding lookup error
Closed: Fixed None Opened 8 years ago by tbabej.

Running any RPC command with the recent master, I get:

$ ipa user-find
ipa: ERROR: non-public: LookupError: unknown encoding: en_US
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/ipalib/backend.py", line 130, in execute
    result = self.Command[_name](*args, **options)
  File "/usr/lib/python2.7/site-packages/ipalib/frontend.py", line 443, in __call__
    ret = self.run(*args, **options)
  File "/usr/lib/python2.7/site-packages/ipalib/frontend.py", line 761, in run
    return self.forward(*args, **options)
  File "/usr/lib/python2.7/site-packages/ipalib/frontend.py", line 782, in forward
    return self.Backend.rpcclient.forward(self.name, *args, **kw)
  File "/usr/lib/python2.7/site-packages/ipalib/rpc.py", line 950, in forward
    return self._call_command(command, params)
  File "/usr/lib/python2.7/site-packages/ipalib/rpc.py", line 927, in _call_command
    return command(*params)
  File "/usr/lib/python2.7/site-packages/ipalib/rpc.py", line 1078, in _call
    return self.__request(name, args)
  File "/usr/lib/python2.7/site-packages/ipalib/rpc.py", line 1047, in __request
    verbose=self.__verbose >= 3,
  File "/usr/lib64/python2.7/xmlrpclib.py", line 1280, in request
    return self.single_request(host, handler, request_body, verbose)
  File "/usr/lib/python2.7/site-packages/ipalib/rpc.py", line 622, in single_request
    if not self._auth_complete(response):
  File "/usr/lib/python2.7/site-packages/ipalib/rpc.py", line 595, in _auth_complete
    token = self._sec_context.step(token=token)
  File "<string>", line 2, in step
  File "/usr/lib64/python2.7/site-packages/gssapi/_utils.py", line 167, in check_last_err
    return func(self, *args, **kwargs)
  File "<string>", line 2, in step
  File "/usr/lib64/python2.7/site-packages/gssapi/_utils.py", line 127, in catch_and_return_token
    return func(self, *args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/gssapi/sec_contexts.py", line 486, in step
    return self._initiator_step(token=token)
  File "/usr/lib64/python2.7/site-packages/gssapi/sec_contexts.py", line 502, in _initiator_step
    token)
  File "gssapi/raw/sec_contexts.pyx", line 242, in gssapi.raw.sec_contexts.init_sec_context (gssapi/raw/sec_contexts.c:2144)
  File "gssapi/raw/misc.pyx", line 216, in gssapi.raw.misc.GSSErrorRegistry.__call__ (gssapi/raw/misc.c:2994)
  File "gssapi/raw/misc.pyx", line 272, in gssapi.raw.misc.GSSError.__init__ (gssapi/raw/misc.c:3469)
  File "gssapi/raw/misc.pyx", line 324, in gssapi.raw.misc.GSSError.gen_message (gssapi/raw/misc.c:4349)
  File "gssapi/raw/misc.pyx", line 296, in gssapi.raw.misc.GSSError.get_all_statuses (gssapi/raw/misc.c:3845)

The bug was reported and fixed upstream: https://github.com/pythongssapi/python-gssapi/issues/72. I requested update of the package in fedora: https://bugzilla.redhat.com/show_bug.cgi?id=1254458. FreeIPA should only need bumping the version in Requires after it's updated.

close when it lands in fedora

Metadata Update from @tbabej:
- Issue assigned to someone
- Issue set to the milestone: FreeIPA 4.3

7 years ago

Login to comment on this ticket.

Metadata