[Zope] trouble with Zope 2.0.0a1, manage_addZGadflyMethod
Christopher Lange
chl@mme.de
Wed, 2 Jun 1999 02:29:10 +0200 (MET DST)
Hi,
I am new to Zope and canīt get a database connection up and running.
I downloaded Zope 2.0.0a1 and starting it using
/home/chl/Python-1.5.2/bin/python z2.py -2 -d 192.168.10.1.
its running fine on my Linux system (2.2.5 kernel, SuSE 6.1).
When trying parts of your HowTo
http://www.zope.org/Documentation/HowTo/SampleGadfly
I always get an error when running
<!--#call "manage_addFolder('Sample')"-->
<!--#call "Sample.manage_addZGadflyConnection('zopadelic','',
'demo','YES',REQUEST)"-->
<!--#call "Sample.manage_addZGadflyMethod('create_table',
'','zopadelic','',
'create table zopista (col_a integer, col_b integer)')"-->
in the last line:
Zope Error
Zope has encountered an error while publishing this resource.
Error Type: AttributeError
Error Value: manage_addZGadflyMethod
---------------------
When I try to create a ZSQL-Method, for example
create table zopista
(col_a integer, col_b integer)
I get, when adding, testing and submitting the error:
Zope Error
Zope has encountered an error while publishing this resource.
exceptions.AttributeError
Sorry, a Zope error occurred.
----------------------
whats wrong? Where can I get working database demos? In detail, how can I
create a table to play with?
Chris