Personal tools
You are here: Home   Bugs   Documentation under Django Administration error  
 
Document Actions

#19 — Documentation under Django Administration error

State Open
Release: 1.4
Area Server side kss.core
Issue type Bug
Severity Medium
Submitted by (anonymous)
Submitted on 2007-11-02
Responsible
Target release:
Return to tracker
Last modified on 2007-11-05
When using kss.django Documentation section under Administration panel doesn't work.
When trying to access it I'm getting following result:
KeyError at /admin/doc/
'Duplicate registration for name: kss-core'
Request Method: GET
Exception Type: KeyError
Exception Value: 'Duplicate registration for name: kss-core'
Exception Location: /usr/lib/python2.4/site-packages/kss.base-0.1-py2.4.egg/kss/base/registry.py in register, line 7
Python Executable: /usr/bin/python
Python Version: 2.4.4

Django at SVN rev 6635.
kss.django: v0.1 from egg
Steps to reproduce:
Install kss.django
login on to /admin/ and access the documentation
Added by Jeroen Vloothuis on 2007-11-02 23:24
Issue state: unconfirmedopen
This suggests a problem with double registration happening. Can you please provide contact info (preferably by creating an account and then posting issues).

Anyway, we will look into this.
Added by (anonymous) on 2007-11-03 18:10
This is strange, when I try it (with Python 2.5) it works fine. All the pages with documentation are displayed (including the KSS specific tags).

Can you please leave some information for me to contact you?
Added by (anonymous) on 2007-11-05 12:32
Sorry for the delay.
yazzgoth@gmail.com

I'm seeing this problem when using it under Python 2.4.4 through mod_python

Just a moment ago I've got the same error message when I've tried to access models through external script with Python2.5 like this:

from django.core.management import setup_environ
import settings

setup_environ(settings)

from foo import models