Kallithea issues archive

Issue #98: Redirect fails on repository creation

Reported by: Michael DePalatis
State: resolved
Created on: 2015-02-13 11:19
Updated on: 2015-02-18 23:19


When creating a new repository, there is a message that says something along the lines of:

Repository "test_" is being created, you will be redirected when this process is finished.

The repository is successfully created, but a redirect never occurs. My Kallithea log file says only indicates that the repository was successfully created.

This is using Kallithea revision 2d2856fd1144 which was installed on top of an existing installation of the version which is on PyPI. I am using gunicorn as the WSGI server.



Comment by Thomas De Schampheleire, on 2015-02-13 12:12

What exactly did you do to install 'on top of' the existing installation? Do you face the same issue with a fresh install of that same revision using the instructions at https://bitbucket.org/conservancy/kallithea/wiki/Home ?

Comment by Mads Kiilerich, on 2015-02-13 12:53

I have noticed the same but haven't gotten around to debug it.

You can perhaps help by using 'hg bisect' to figure out when the regression was introduced.

Comment by Thomas De Schampheleire, on 2015-02-13 14:34

I did a bisect, culprit is:

HG changeset patch

User Mads Kiilerich madski@unity3d.com

Date 1423618828 -3600

Wed Feb 11 02:40:28 2015 +0100

Node ID ec39e73be935ea4647b115b60e231cc9e217cfcb

Parent 0aa4b31245e5cee521f255cf7ed613b18f439312

template: move header to root.html, use mako block for header menu

(and I will not attempt to reformat this...)

Comment by Mads Kiilerich, on 2015-02-13 14:41


I will talk to that guy!

Comment by Michael DePalatis, on 2015-02-13 18:23

@patrickdepinguin, to answer your question, by "on top of an existing installation" I meant that I pulled the latest source, installed it into the existing virtual environment with python setup.py install, and kept the configuration file (mostly) unchanged.

Maybe adding a link to redirect manually (so to speak) in case the auto redirect doesn't work would be a useful addition?

Comment by Thomas De Schampheleire, on 2015-02-13 20:35

Yes, adding a link to the redirect page would be a good practice, even though the bug should be fixed too, of course...

Comment by Mads Kiilerich, on 2015-02-18 23:19

fixed, thanks for bisecting