Jeff Watkins wrote:
> Are you running SQLite version 2 or 3? At least one other person saw
> these errors go away after moving from 2 to 3.
>
Thanks Jeff, problem solved after using SQLite3.
Some nitpicks:
Why the error with SQLite2?
On ubuntu (where pysqlite uses sqlite2) at least *everyone* that tries
tg will get this error, he should ask why, he should install a new
package, find it (it's named python-pysqlite2) and try again.
That's not a good first impression IMHO.
Now that visit is in you can't start your project if you don't make a
db, I think that's really annoying (1 more step). It seems that this
happens even after disabling it (but I'm sure that I'm probably doing
something wrong).
The log is full of
...
2006-01-09 01:21:29,265 turbogears.visit DEBUG sending updates...
You should use
raise turbogears.redirect("/")
or
turbogears.redirect("/")
instead of
raise cherrypy.HTTPRedirect(turbogears.url("/"))
There is whitespace incosticency betwenn your new code and the previous
(for example look at expose decorators). :P
Again I think we shouldn't put identity on a quickstarted project.
At first sight less is better and easy to learn, at least in my
opinion.
Moreover identity is not required by every user and when you quickstart
a project if you never used TG you start wondering what it's happening
inside login and logout with this big dict and cherrypy internals
exposed.
Anyway keep up the great work. ;-)
Ciao
Michele