Opened 11 years ago
Closed 11 years ago
#21589 closed Bug (invalid)
syncdb fails aparently in the createsuperuser stage
Reported by: | Shlomo Anglister | Owned by: | nobody |
---|---|---|---|
Component: | Database layer (models, ORM) | Version: | 1.6 |
Severity: | Normal | Keywords: | field_cast_sql, syncdb, createsuperuser |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
This is pretty long a complicated, sorry
Tool Versions:
OS: Linux SuSE11
Python: 2.6.5
SQL server: 2008 R2
djanjo_pyodbc from lionheart (0.2.1)
pyodbc based on FreeTDS 0.82
Connection and permissions are okay,
%> python2.6.5 manage.py inspectdb
Worked, the output is messy but, I can handle it.
The error is:
return connection.ops.field_cast_sql(db_type, internal_type) % lhs
TypeError: field_cast_sql() takes exactly 2 arguments (3 given)
Stack trace is attached, as a newbie to django I am not familiar enough with the DB modelsts to make a call (debug efficiently)
Attached is a stack trace.
Attachments (1)
Change History (2)
by , 11 years ago
comment:1 by , 11 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
This seems like it's probably an issue between the version of Django you are using and django_pyodbc. This ticket tracker isn't appropriate for getting help with these types of issues. Please see https://code.djangoproject.com/wiki/TicketClosingReasons/UseSupportChannels
stack