Project

General

Profile

Actions

Bug #3923

open

odd exception on running internal-code

Added by Marcin Kuzminski [CTO] almost 8 years ago. Updated over 7 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
11.05.2016
Due date:
% Done:

0%

Estimated time:
Sorting:
Commit Number:
Affected Version:

Description

Seen it in logs:

2016-05-11 12:50:13.045 ERROR [rhodecode.lib.hooks_daemon] Exception when handling hook <function post_push at 0x7fb56ae6b8c0>
Traceback (most recent call last):
  File "/nix/store/vgv2pincn674vwaj4d1jcizyy8hbannf-python2.7-rhodecode-enterprise-ce-4.0.0+20160511x102518x30e109dc6cc6/lib/python2.7/site-packages/rhodecode/lib/hooks_daemon.py", line 241, in _call_hook
    result = hook(extras)
  File "/nix/store/vgv2pincn674vwaj4d1jcizyy8hbannf-python2.7-rhodecode-enterprise-ce-4.0.0+20160511x102518x30e109dc6cc6/lib/python2.7/site-packages/rhodecode/lib/hooks_base.py", line 178, in post_push
    **extras)
  File "/nix/store/vgv2pincn674vwaj4d1jcizyy8hbannf-python2.7-rhodecode-enterprise-ce-4.0.0+20160511x102518x30e109dc6cc6/lib/python2.7/site-packages/rhodecode/lib/hooks_base.py", line 234, in __call__
    return callback(**kwargs_to_pass)
  File "/home/rhodecode/rhodecode/rcextensions/__init__.py", line 215, in wrapper
    return func(*args, **kwargs)
  File "/home/rhodecode/rhodecode/rcextensions/__init__.py", line 196, in wrapper
    return func(*args, **kwargs)
  File "/home/rhodecode/rhodecode/rcextensions/__init__.py", line 538, in _push_hook
    extracted_commits = call(**kwargs)
  File "/home/rhodecode/rhodecode/rcextensions/extract_commits.py", line 47, in run
    vcs_repo = repo.scm_instance(cache=False)
  File "/nix/store/vgv2pincn674vwaj4d1jcizyy8hbannf-python2.7-rhodecode-enterprise-ce-4.0.0+20160511x102518x30e109dc6cc6/lib/python2.7/site-packages/rhodecode/model/db.py", line 1920, in scm_instance
    return self._get_instance(cache=bool(cache), config=config)
  File "/nix/store/vgv2pincn674vwaj4d1jcizyy8hbannf-python2.7-rhodecode-enterprise-ce-4.0.0+20160511x102518x30e109dc6cc6/lib/python2.7/site-packages/rhodecode/model/db.py", line 1940, in _get_instance
    vcs_alias = get_scm(repo_full_path)[0]
  File "/nix/store/vgv2pincn674vwaj4d1jcizyy8hbannf-python2.7-rhodecode-enterprise-ce-4.0.0+20160511x102518x30e109dc6cc6/lib/python2.7/site-packages/rhodecode/lib/vcs/utils/helpers.py", line 62, in get_scm
    found_scms = get_scms(path)
  File "/nix/store/vgv2pincn674vwaj4d1jcizyy8hbannf-python2.7-rhodecode-enterprise-ce-4.0.0+20160511x102518x30e109dc6cc6/lib/python2.7/site-packages/rhodecode/lib/vcs/utils/helpers.py", line 60, in get_scms
    return [(scm, path) for scm in get_scms_for_path(path)]
  File "/nix/store/vgv2pincn674vwaj4d1jcizyy8hbannf-python2.7-rhodecode-enterprise-ce-4.0.0+20160511x102518x30e109dc6cc6/lib/python2.7/site-packages/rhodecode/lib/vcs/utils/helpers.py", line 111, in get_scms_for_path
    if backend.is_valid_repository(path):
  File "/nix/store/vgv2pincn674vwaj4d1jcizyy8hbannf-python2.7-rhodecode-enterprise-ce-4.0.0+20160511x102518x30e109dc6cc6/lib/python2.7/site-packages/rhodecode/lib/vcs/backends/git/repository.py", line 141, in is_valid_repository
    GitRepository(path)
  File "/nix/store/vgv2pincn674vwaj4d1jcizyy8hbannf-python2.7-rhodecode-enterprise-ce-4.0.0+20160511x102518x30e109dc6cc6/lib/python2.7/site-packages/rhodecode/lib/vcs/backends/git/repository.py", line 70, in __init__
    self._init_repo(create, src_url, update_after_clone, bare)
  File "/nix/store/vgv2pincn674vwaj4d1jcizyy8hbannf-python2.7-rhodecode-enterprise-ce-4.0.0+20160511x102518x30e109dc6cc6/lib/python2.7/site-packages/rhodecode/lib/vcs/backends/git/repository.py", line 166, in _init_repo
    self._remote.assert_correct_path()
  File "/nix/store/vgv2pincn674vwaj4d1jcizyy8hbannf-python2.7-rhodecode-enterprise-ce-4.0.0+20160511x102518x30e109dc6cc6/lib/python2.7/site-packages/rhodecode/lib/vcs/client_http.py", line 102, in f
    return self._call(name, *args, **kwargs)
  File "/nix/store/vgv2pincn674vwaj4d1jcizyy8hbannf-python2.7-rhodecode-enterprise-ce-4.0.0+20160511x102518x30e109dc6cc6/lib/python2.7/site-packages/rhodecode/lib/vcs/client_http.py", line 120, in _call_with_logging
    return RemoteRepo._call(self, name, *args, **kwargs)
  File "/nix/store/vgv2pincn674vwaj4d1jcizyy8hbannf-python2.7-rhodecode-enterprise-ce-4.0.0+20160511x102518x30e109dc6cc6/lib/python2.7/site-packages/rhodecode/lib/vcs/exceptions.py", line 162, in wrapper
    return func(*args, **kwargs)
  File "/nix/store/vgv2pincn674vwaj4d1jcizyy8hbannf-python2.7-rhodecode-enterprise-ce-4.0.0+20160511x102518x30e109dc6cc6/lib/python2.7/site-packages/rhodecode/lib/vcs/client_http.py", line 116, in _call
    return _remote_call(self.url, payload, EXCEPTIONS_MAP, self._session)
  File "/nix/store/vgv2pincn674vwaj4d1jcizyy8hbannf-python2.7-rhodecode-enterprise-ce-4.0.0+20160511x102518x30e109dc6cc6/lib/python2.7/site-packages/rhodecode/lib/vcs/client_http.py", line 157, in _remote_call
    response = session.post(url, data=msgpack.packb(payload))
  File "/nix/store/vgv2pincn674vwaj4d1jcizyy8hbannf-python2.7-rhodecode-enterprise-ce-4.0.0+20160511x102518x30e109dc6cc6/lib/python2.7/site-packages/rhodecode/lib/vcs/__init__.py", line 246, in post
    curl.setopt(curl.URL, url)
error: cannot invoke setopt() - perform() is currently running
Actions #1

Updated by Marcin Kuzminski [CTO] over 7 years ago

  • Subject changed from odd exception on running rcextensions to odd exception on running internal-code
Actions

Also available in: Atom PDF