Hi Brandon,

I don't use Jython and not OSX, but if you look at the stacktrace
and at the source, you should see the error.


Brandon Taylor schrieb:
>   File "/Users/btaylor/jython2.5.0/Lib/site-packages/doj/backends/
> zxjdbc/postgresql/base.py", line 54, in __init__
>     self.client = DatabaseClient()
> TypeError: __init__() takes exactly 2 arguments (1 given)

"1 given" is the implicit "self". This means your DatabaseClient wants
one argument, but in base.py none is given. Try to find the souce
of DatabaseClient.__init__(self, ...)

u...@host> find django/ -name '*.py'|xargs grep 'class DatabaseClient'
django/db/backends/postgresql/client.py:class 
DatabaseClient(BaseDatabaseClient):
... Mine just inherits from BaseDatabaseClient.



-- 
Thomas Guettler, http://www.thomas-guettler.de/
E-Mail: guettli (*) thomas-guettler + de

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to