Electronics & Programming


Open Source electronics development and programming

  • You are not logged in.

#1 Nov. 12, 2005 02:04:02

Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

need help deciphering a traceback

In the new admin app, some of my object types generate a traceback when
I get to the view where I actually alter the values in the fields. I
think one of the fields in that model does not have a proper _repr_
string. How can I isolate the problem? Traceback below...

There's been an error:

Traceback (most recent call last):

File "/usr/lib/python2.3/site-packages/django/core/handlers/base.py",
line 71, in get_response
response = callback(request, **param_dict)

line 49, in _checklogin
return view_func(request, *args, **kwargs)

line 879, in change_stage
manipulator = mod.ChangeManipulator(object_id)

File "/usr/lib/python2.3/site-packages/django/utils/functional.py",
line 3, in _curried
return args(*(args+moreargs), **dict(kwargs.items() +

File "/usr/lib/python2.3/site-packages/django/core/meta/__init__.py",
line 1447, in manipulator_init
self.fields.extend(f.get_manipulator_fields(opts, self, change))

File "/usr/lib/python2.3/site-packages/django/core/meta/fields.py",
line 223, in get_manipulator_fields
params = self.get_choices()

File "/usr/lib/python2.3/site-packages/django/core/meta/fields.py",
line 297, in get_choices
return first_choice +

TypeError: __repr__ returned non-string (type NoneType)


Board footer

Moderator control

Enjoy the 17th of March

The Forums are managed by develissimo stuff members, if you find any issues or misplaced content please help us to fix it. Thank you! Tell us via Contact Options
Leave a Message
Welcome to Develissimo Live Support