I have encountered the same problem when trying to use 
`multiprocessing.Pool.map` and the data contained a protobuf type.

On Tuesday, November 25, 2014 at 5:10:48 AM UTC+8, [email protected] 
wrote:
>
> Status: New 
> Owner: [email protected] <javascript:> 
> Labels: Type-Defect Priority-Medium 
>
> New issue 680 by [email protected]: Python pickling depends on the 
> path   
> used during compilaton 
> https://code.google.com/p/protobuf/issues/detail?id=680 
>
> What steps will reproduce the problem? 
> 1. Extract the test files 
> 2. Run make in the root directory followed by python test.py. It should   
> raise an exception. 
> 3. Run make in the libs directory followed by python test.py. It should   
> work fine. 
> 4. Run make in the libs/pblib directory followed by python test.py. It   
> should raise an exception. 
>
> What is the expected output? What do you see instead? 
>
> I would expect the test.py script to run without exception each time. 
>
> What version of the product are you using? On what operating system? 
>
> * protobuf 2.6.0 
> * py27-protobuf 2.6.0 
> * python 2.7.8 
> * FreeBSD 10.0 
>
> Please provide any additional information below. 
>
> The path used during compilation seems to be convertible to a valid import 
>   
> statement in the Python application using the protobuf. For example, if 
> the   
> protobuf is compiled with 'protoc --python_out=. obj.proto' then 'import   
> obj_pb2' must be valid in the python application using it. 
>
>
> Attachments: 
>         pb26-pickle-test.tar.gz  550 bytes 
>
> -- 
> You received this message because this project is configured to send all   
> issue notifications to this address. 
> You may adjust your notification preferences at: 
> https://code.google.com/hosting/settings 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.

Reply via email to