[typo] typo sidebars

Piers Cawley pdcawley at bofh.org.uk
Thu Aug 24 16:58:07 EDT 2006


Matt Rose <mattrose at folkwolf.net> writes:

> I've found a weird problem with a sidebar I've been working on.
>
> It doesn't want to load any more.
>
> I've installed and removed the sidebar a few times, and now when I try and 
> install the sidebar, I get this error in the log.
>
> ActiveRecord::StatementInvalid (PGError: ERROR:  duplicate key violates 
> unique constraint "sidebars_pkey"
> : INSERT INTO sidebars ("config", "staged_position", "type", 
> "active_position", "blog_id") VALUES('---
> user:
> title:
> folder:
> ', NULL, 'BloglinesSidebar', NULL, 1)):
>
> This error makes no sense, because I'm not actually specifying an id, the 
> database should just pick the next one in sequence.  I thought it might 
> have been a sequence problem, but that's fine, and when I run the same 
> INSERT into the database, it works just fine.

Have you tried it with a different RDBMS? And which version of typo
are you using?

-- 
Piers Cawley <pdcawley at bofh.org.uk>
http://www.bofh.org.uk/


More information about the Typo-list mailing list