#21589: syncdb fails aparently in the createsuperuser stage
-------------------------------------+-------------------------------------
     Reporter:  shlomoa              |      Owner:  nobody
         Type:  Bug                  |     Status:  new
    Component:  Database layer       |    Version:  1.6
  (models, ORM)                      |   Keywords:  field_cast_sql, syncdb,
     Severity:  Normal               |  createsuperuser
 Triage Stage:  Unreviewed           |  Has patch:  0
Easy pickings:  0                    |      UI/UX:  0
-------------------------------------+-------------------------------------
 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.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/21589>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/050.c601a8f89cbfff7a3bfdade46bd98cc4%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to