Repository menu is not clickable

Issue #162 resolved
Former user created an issue


Since the upgrade to 0.3 clicking on a repository name in the repositories menu does nothing except an error in the javascript console:

TypeError: pyroutes is undefined

The relevant code is:

window.location = pyroutes.url('summary_home', {'repo_name': e.val});

I tried to clear the browser cache and restart the service without any success.


Comments (9)

  1. Former user Account Deleted

    The import of pyroutes_map.js is not present in the html rendered. works for me.

    After further investigation there was a problem in my nginx configuration: the static files were still pointing on the 0.2 version. Fix the static path to the good egg version fix the bug.

    ## uncomment root directive if you want to serve static files by nginx
    ## requires static_files = false in .ini file
    root /srv/kallithea/venv/lib/python2.7/site-packages/Kallithea-0.3-py2.7.egg/kallithea/public;
  2. Former user Account Deleted

    If 'static_files = false' in the configuration, check the nginx configuration after each upgrade.

  3. Log in to comment