[Zope] Why oh why won't my Gadfly Fly ?

Michel Pelletier michel@digicool.com
Sun, 26 Dec 1999 12:01:01 -0500


Please continue to CC the list.

John Platten wrote:
> 
> 
> Maybe I just don't understand how exactly "gadfly" is supposed to work,
> but here is the following notes about what I see with "gadfly":
> 
> 1. Adding new directories to ./zope/var/gadfly will make new database names
> (ie. directory names) show up in the pick list for selecting which database
> to establish a new database connection with, however, when I try to "test"
> the database connection with the "test-tab" by sumitting SQL to the database
> connection, yes I do get tracebacks such as the following:
> 
>                Zope Error
> 
>                Zope has encountered an error while publishing this resource.
> 
>                Error Type: NameError
>                Error Value: 'LIKES' no such relation in DB

I'm no gadfly expert, but it soulds like your gadfly is running fine. 
You just don't have the table 'LIKES' in whatever db you're connecting
to.  Try using a "create table" type SQL statement.  For more info on
creating tables, see the gadfly docs.

-Michel