On Tue, 25 Jul 2000 18:07:06 +0200, [EMAIL PROTECTED] wrote:

>        I want to develop an external program that can store and retrieve 
>an Object (such as a Person) in the ZoDB

That sounds a bit cruel.

>I tried the example that I found in the How to's but it doesn't works .... 
>In fact, I have the following message :
>attribute Error : FileStorage
>-->But I have imported ZODB
>And, when I try to import ZODB.FileStorage : the program stops with the 
>following message :
>TypeError : call of non-function type 
>what's wrong ?

You are trying to call an object, and that object is not callable.

Normally that error message should include the name of the type of the
object that is being abused....

>>> "hello"()
Traceback (innermost last):
  File "<stdin>", line 1, in ?
TypeError: call of non-function (type string)

Either you truncated the message when you posted the message, or there
is something strange with the object's type.

Unless you are using a pre-release python 1.6 or 2.0 - If so the name
of your type might not get printed if it is unicode

Toby Dickenson

Zope-Dev maillist  -  [EMAIL PROTECTED]
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope )

Reply via email to