Hey guys,

(0.91 branch)

I recently added a new field to one of my model classes, now whenever I
attempt to save() a new record I get a ProgrammingError.

The call looks like this:

element = ScriptElement(script = script, scene = 0, type =
CHARACTER_ELEMENT, characterFirstName = firstName, characterLastName =
lastName, characterNickName = nickName, description = description,
isMurderer = isMurderer, avatarFilename = avatar)

element.save()

Where avatar = 'PH01990J.GIF' ... this gets changed later ...

and the Exception is:

ProgrammingError at /mydarksecret/makedebugdata/
ERROR: relation "ph01990j" does not exist INSERT INTO
"mydarksecret_scriptelements"
("script_id","scene","type","characterFirstName","characterLastName","characterNickName","avatarFilename","isMurdeR
Exception Type:         ProgrammingError
Exception Value:        ERROR: relation "ph01990j" does not exist INSERT INTO
"mydarksecret_scriptelements"
("script_id","scene","type","characterFirstName","characterLastName","characterNickName","avatarFilename","isMurdeR
Exception Location:
        
c:\python24\lib\site-packages\django-0.91-py2.4.egg\django\core\db\base.py
in execute, line 9

(The full exception message is getting truncated ... is there a way to
see the whole message?)

The 'ph01990j' is some modified form of 'PH01190.GIF' ... so something
seems to be getting confused now that this new field is added.

avatarFilename is just:
    avatarFilename = meta.CharField(maxlength = 64, core = True)

Any thoughts where the mangling is occuring?

Thx,
Zeb


--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to