[Twisted-Python] Cannot pickle <type 'DB'> objects

Roland Hedberg roland.hedberg at adm.umu.se
Mon Apr 9 09:21:50 EDT 2007


I've written a system that consists of a central module, one or more
receiver modules and one or more sender modules.

Different modules might handle different protocols, and this is one of
the reasons I choose twisted as framework.

But now I've got a problem I don't know how to solve.

One of the sender modules is depending on another package and that
package opens a sleepycat database at initialization.

Which is not playing nice with mktap. So, now when I use mktap I get an
exception with the error code shown on the subject line of this mail.

Is there anyway by which I can tell mktap to "forget" about the
sleepycat database or ... ?

-- Roland

More information about the Twisted-Python mailing list