unable to create git repo at version 2.2.5

vidy's Avatar


21 Jul, 2014 03:43 AM

unable to create git repo at version 2.2.5, I open this page /_admin/create_repository , select type as git, click add button , it shows "Error creating repository test". I install rhodecode through the source code.

  1. 1 Posted by vidy on 21 Jul, 2014 05:12 AM

    vidy's Avatar

    2014-07-21 05:30:43.143 ERROR [rhodecode.controllers.admin.repos] Traceback (most recent call last):
      File "/root/RhodeCode-2.2.5/rhodecode/controllers/admin/repos.py", line 146, in create
        task = RepoModel().create(form_result, self.rhodecode_user.user_id)
      File "/root/RhodeCode-2.2.5/rhodecode/model/repo.py", line 478, in create
        return run_task(tasks.create_repo, form_data, cur_user)
      File "/root/RhodeCode-2.2.5/rhodecode/lib/celerylib/__init__.py", line 82, in run_task
        return ResultWrapper(task(*args, **kwargs))
      File "/usr/lib/python2.6/site-packages/celery-2.2.10-py2.6.egg/celery/task/base.py", line 241, in __call__
        return self.run(*args, **kwargs)
      File "/usr/lib/python2.6/site-packages/celery-2.2.10-py2.6.egg/celery/app/__init__.py", line 141, in run
        return fun(*args, **kwargs)
      File "<string>", line 2, in create_repo
      File "/root/RhodeCode-2.2.5/rhodecode/lib/celerylib/__init__.py", line 125, in __wrapper
        ret = func(*fargs, **fkwargs)
      File "/root/RhodeCode-2.2.5/rhodecode/lib/celerylib/tasks.py", line 363, in create_repo
      File "/root/RhodeCode-2.2.5/rhodecode/model/repo.py", line 736, in _create_filesystem_repo
      File "/root/RhodeCode-2.2.5/rhodecode/model/scm.py", line 882, in install_git_hook
        tmpl = tmpl.replace('_ENV_', '#!' % sys.executable)
    TypeError: not all arguments converted during string formatting

  2. Support Staff 2 Posted by Marcin Kuzminsk... on 25 Jul, 2014 09:26 AM

    Marcin Kuzminski's Avatar


    Did you install the project through pip install rhodecode ?

  3. 3 Posted by vidy on 28 Jul, 2014 02:28 AM

    vidy's Avatar

    Nope, I install it through python setup.py install

  4. Support Staff 4 Posted by Marcin Kuzminsk... on 28 Jul, 2014 08:28 PM

    Marcin Kuzminski's Avatar

    Can you pull the code again from code.rhodecode.com/rhodecode ? This issue should be fixed in this repo.

  5. 5 Posted by vidy on 31 Jul, 2014 03:26 AM

    vidy's Avatar

    unable to download Tempita==0.5.2

  6. Support Staff 6 Posted by Marcin Kuzminsk... on 26 Aug, 2014 02:19 PM

    Marcin Kuzminski's Avatar

    Did the issue is resolved ?

  7. 7 Posted by vidy on 27 Aug, 2014 09:32 AM

    vidy's Avatar

    yep , I don't know why, somehow it works.

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


? 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