"No module named mercurial.error" when pushing from client to Rhodecode

David's Avatar

David

26 Oct, 2018 11:44 PM

Hi,

Without getting into the details of recent work done on a repo, I am getting the following error in community-1.log when pushing from a client:

2018-10-26 16:14:34.667 INFO [rhodecode.lib.middleware.simplevcs] push action on hg repo "web/retail-website/jump" by "retail_website" from 172.16.20.252
2018-10-26 16:14:34.819 ERROR [rhodecode.config.middleware] No module named mercurial.error
Traceback (most recent call last):
  File "/opt/rhodecode/store/183r08ibb7z2ibkvkn0wsb8fdgp4a5b5-python2.7-rhodecode-enterprise-ce-4.4.2/lib/python2.7/site-packages/rhodecode/config/middleware.py", line 215, in pylons_app_with_error_handler
    response = pylons_app_as_view(context, request)
  File "/opt/rhodecode/store/4vji3frsisrl1d4syql9mmsn2bflwbzq-python2.7-pyramid-1.6.1/lib/python2.7/site-packages/pyramid/wsgi.py", line 37, in decorator
    return request.get_response(wrapped)
  File "/opt/rhodecode/store/cbcb7xvl643c22r0k153ggyhvzkb87z5-python2.7-WebOb-1.3.1/lib/python2.7/site-packages/webob/request.py", line 1320, in send
    application, catch_exc_info=False)
  File "/opt/rhodecode/store/cbcb7xvl643c22r0k153ggyhvzkb87z5-python2.7-WebOb-1.3.1/lib/python2.7/site-packages/webob/request.py", line 1287, in call_application
    output.extend(app_iter)
  File "/opt/rhodecode/store/183r08ibb7z2ibkvkn0wsb8fdgp4a5b5-python2.7-rhodecode-enterprise-ce-4.4.2/lib/python2.7/site-packages/rhodecode/lib/middleware/simplevcs.py", line 375, in _generate_vcs_response
    response = app(environ, start_response)
  File "/opt/rhodecode/store/183r08ibb7z2ibkvkn0wsb8fdgp4a5b5-python2.7-rhodecode-enterprise-ce-4.4.2/lib/python2.7/site-packages/rhodecode/lib/middleware/utils/wsgi_app_caller_client.py", line 88, in __call__
    clean_environ, input_data, *self._args, **self._kwargs)
  File "/opt/rhodecode/store/6810dsnfbhq807scz2fr43pmwc7b0bsd-python2.7-Pyro4-4.35/lib/python2.7/site-packages/Pyro4/core.py", line 168, in __call__
    return self.__send(self.__name, args, kwargs)
  File "/opt/rhodecode/store/6810dsnfbhq807scz2fr43pmwc7b0bsd-python2.7-Pyro4-4.35/lib/python2.7/site-packages/Pyro4/core.py", line 391, in _pyroInvoke
    data = serializer.deserializeData(msg.data, compressed=msg.flags & message.FLAGS_COMPRESSED)
  File "/opt/rhodecode/store/6810dsnfbhq807scz2fr43pmwc7b0bsd-python2.7-Pyro4-4.35/lib/python2.7/site-packages/Pyro4/util.py", line 162, in deserializeData
    return self.loads(data)
  File "/opt/rhodecode/store/6810dsnfbhq807scz2fr43pmwc7b0bsd-python2.7-Pyro4-4.35/lib/python2.7/site-packages/Pyro4/util.py", line 412, in loads
    return pickle.loads(data)
ImportError: No module named mercurial.error

Wondering if this is either a known error or something easily fixable?

Thanks,
David

  1. Support Staff 1 Posted by develop on 27 Oct, 2018 01:22 PM

    develop's Avatar

    Nothing rings a bell about it. Maybe that was fixed in later releases, you're using a quite old version of RhodeCode.

  2. 2 Posted by David on 30 Oct, 2018 12:42 AM

    David's Avatar

    Thanks. We updated to 4.13.3 and it seems to have fixed that problem. Not sure if that's because the update replaced a missing or corrupt file, or if there was a bug that was fixed. But it seems to be good now. Appreciate your quick response, as always.

    Best,
    David

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac