Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 79 by
timaaarr...@gmail.com: Django 1.4.2 error database backend
http://code.google.com/p/django-jython/issues/detail?id=79
What steps will reproduce the problem?
1. install jython
2. installed django (jython setup.py install)
3. installed django-jython (jython setup.py install)
4. create new django project
5. jython manage.py runserver
What is the expected output? What do you see instead?
Django webserver startup
What version of the product are you using? On what operating system?
django-python 1.3
django 1.4.2
jython 2.5.3
debian 6
java 1.6
python 2.6.6
Please provide any additional information below.
web@mc:~/jydj/jtest$ jython manage.py runserver
Validating models...
Unhandled exception in thread started by <bound method Command.inner_run of
<django.contrib.staticfiles.management.commands.runserver.Command object at
0x3>>
Traceback (most recent call last):
File "/home/web/jython/Lib/site-packages/django/core/management/commands/runserver.py",
line 91, in inner_run
self.validate(display_num_errors=True)
File "/home/web/jython/Lib/site-packages/django/core/management/base.py",
line 266, in validate
num_errors = get_validation_errors(s, app)
File "/home/web/jython/Lib/site-packages/django/core/management/validation.py",
line 23, in get_validation_errors
from django.db import models, connection
File "/home/web/jython/Lib/site-packages/django/db/__init__.py", line 40,
in <module>
backend = load_backend(connection.settings_dict['ENGINE'])
File "/home/web/jython/Lib/site-packages/django/db/__init__.py", line 34,
in __getattr__
return getattr(connections[DEFAULT_DB_ALIAS], item)
File "/home/web/jython/Lib/site-packages/django/db/utils.py", line 93, in
__getitem__
conn = backend.DatabaseWrapper(db, alias)
File "/home/web/jython/Lib/site-packages/doj/backends/zxjdbc/sqlite3/base.py",
line 108, in __init__
self.features = DatabaseFeatures()
TypeError: __init__() takes exactly 2 arguments (1 given)