JPython serialization problem

Emmanuel Pietriga emmanuel.pietriga at xrce.xerox.com
Tue Jan 11 02:07:46 EST 2000


"Magnus L. Hetland" wrote:

> Emmanuel Pietriga <emmanuel.pietriga at xrce.xerox.com> writes:
>
> >
> > At first I thought the paths were defined incorrectly, but if I create
> > an instance of the same class directly on the python side using its
> > constructor, it works!  Therefore JPython knows where to find the class
> > definition.
>
> Have you tried importing the class before deserializing the object?
> (Just a hunch - may be useless...)

Yes I did. And I even instanciated it  (v=V_struct()) before reading any
object from the socket.

Doesn't work.

Thanks anyway.







>
>
> >
> > Anyone can help?
> >
> > Thanks.
> >
>
> --
>
>   Magnus
>   Lie
>   Hetland                                mailto:<anything>@hetland.org

--
emmanuel.pietriga at xrce.xerox.com               |  Xerox Research Centre Europe
Document Model and Transformation Technologies |  6, Chemin de Maupertuis
+33 4 76 61 50 32  (direct)                    |  38240 Meylan, France
+33 4 76 61 50 50  (switchboard)               |  http://www.xrce.xerox.com






More information about the Python-list mailing list