durusmail: quixote-users: Mystery re ZODB Technique in vfab
Introducing myself, a small bug and RPMs for Quixote
2001-11-12
2001-11-12
2001-11-13
Seeking a Small Example of Forms/Widget Usage
2001-11-13
2001-11-13
2001-11-22
2001-11-22
2001-11-22
2001-11-23
Re: Seeking a Small Example of Forms/Widget Usage
2001-11-26
2001-11-26
2001-11-27
Mystery re ZODB Technique in vfab
2001-11-28
2001-11-28
An Example of Quixote/ZODB/Grouch Usage
2001-11-29
2001-11-13
Grouch and ZODB
2001-11-20
2001-11-21
2001-11-21
2001-11-21
2001-11-21
Mystery re ZODB Technique in vfab
Greg Ward
2001-11-28
On 28 November 2001, Jeff Rush said:
> Can anyone knowledgeable about ZODB/Persistence explain why this
> generates the error:
>
> TypeError: unbound method __init__() must be called with instance as
> first argument

In a word, no.  You're getting into Deep Juju here.  I think only Jim
Fulton could answer your question; try zodb-dev@zope.org.

ExtensionClass is heavy magic.  You have been warned.

> P.S I also found another gotcha.  The use of form tokens in Quixote's
> forms class *requires* either an FCGI-based setup or a persistent
> session manager, as the form tokens are discarded otherwise and you
> get complaints about double submission of forms.

D'ohh!

> Suggestion: add a config conditional to disable form token checking
> in a future Quixote release, for developers.

Sounds good to me.  I've filed a bug report in our internal bug
database, so we (hopefully) won't forget about this.

        Greg
--
Greg Ward - software developer                gward@mems-exchange.org
MEMS Exchange                            http://www.mems-exchange.org


reply