[Twisted-Python] problem with Twisted and Processing

davy zhang davyzhang at gmail.com
Fri Oct 17 09:20:42 EDT 2008

thanks a lot for your help!

On Fri, Oct 17, 2008 at 1:09 AM, David Ripton <dripton at ripton.net> wrote:
> On 2008.10.16 21:21:35 +0800, davy zhang wrote:
>> I used Processing package for python 2.5 which became an official
>> package of python 2.6 named multipleprocess.
> multiprocessing

thanks again!

>> Here's the problem the code below is pretty simple and works fine
>> until I tried to get access of the first element in the list, I can
>> even print the whole list, but i just can not get the elements inside.
>> I guess there's something get conflicted in these two packages, anyone
>> knows why?
> This is not a Twisted problem.  You're just using Processing wrong.
> You're trying to shove a MyChat instance inside your Manager list.  But
> Manager only supports a few types by default.  So you either need a
> BaseManager subclass with a handler for MyChat, or you need to convert
> your MyChat objects to a supported type (for example, by calling str()
> on them) before passing them across shared memory.

so if there's another unsupported object in MyChat like
MyChat.transport, should I made an another manager for transport too?

> --
> David Ripton    dripton at ripton.net
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

More information about the Twisted-Python mailing list