On Mar 5, 1:55 pm, Leandro Lucarella <[EMAIL PROTECTED]> wrote:
> Mariano Viola, el  5 de marzo a las 04:26 me escribiste:
>
>
>
> > Hi,
> > I've tried to build a simple CRUD with TurboGears 1.0.1 that work for
> > "create", "read" and "delete" in 15 minutes but I'm  now blocked from
> > about an hour on the "update" that don't work for this unpleasant
> > error:
>
> >  File "/usr/lib/python2.4/site-packages/SQLObject-0.7.3-py2.4.egg/
> > sqlobject/sqlite/sqliteconnection.py", line 167, in _queryInsertID
> >     c.execute(q)
> > IntegrityError: column title is not unique
>
> > I would be happy to understand what is the problem :)
>
> The error message is pretty clear, your title is an alternateID, so it has
> to be unique, you can not have 2 rows/objects with the same title, and
> apparently you're trying to update an object's title but there is another
> object in the DB with the same title.

Thanks but I can't have two or more object with the same title, the
problem is that I've only an object with "the hello" title but when I
try to update it I've always the same error.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to