List Info

Thread: Magic Removal syncdb error




Magic Removal syncdb error
user name
2006-04-28 09:13:10
On Fri, 2006-04-28 at 02:07 -0700, tomass wrote:
> Hi Folks,
> 
> I'm trying out the magic-removal branch, and am trying
to just create
> my database from scratch. When typing "python
manage.py syncdb" I get:
> 
> Traceback (most recent call last):
>   File
"../../django/magic-removal/django/bin/django-admin.py
", line 5,
> in ?
>     management.execute_from_command_line()
>   File
"/home/mthaddon/django/magic-removal/django/core/manag
ement.py",
> line 1152, in execute_from_command_line
>     action_mapping[action]()
>   File
"/home/mthaddon/django/magic-removal/django/core/manag
ement.py",
> line 943, in validate
>     num_errors = get_validation_errors(outfile)
>   File
"/home/mthaddon/django/magic-removal/django/core/manag
ement.py",
> line 887, in get_validation_errors
>     f = opts.get_field(fn)
>   File
>
"/home/mthaddon/django/magic-removal/django/db/models/
options.py", line
> 97, in get_field
>     raise FieldDoesNotExist, "name=%s" %
name
> TypeError: not all arguments converted during string
formatting
> 
> Can anyone help out with this?

Can you post your models file. It's a bit hard to work out
where the
error might be without seeing the input.

Regards,
Malcolm



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Django users" group.
To post to this group, send email to django-usersgooglegroups.com
To unsubscribe from this group, send email to
django-users-unsubscribegooglegroups.com
For more options, visit this group at http://gr
oups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )