Re: [grpc-io] Package grpcio with py2exe

2017-11-20 Thread 'Ken Payson' via grpc.io
I've never seen an error like this before, and without debug symbols I don't think I'll be able to provide any useful guidance. initcygrpc is the module initialization function, so this indicates gRPC is failing to even load. I would recommend getting guidance from py2exe on using binary package

Re: [grpc-io] Package grpcio with py2exe

2017-11-20 Thread falu2010
This is what I see. I cannot debug further as I don't ave symbol files. 0a53f9d8 68388b07 68403e0c 02739db4 0a53fa2c cygrpc!initcygrpc+0xeabd6 0a53f9f8 6837e149 68403e0c 0a53fa2c 0001 cygrpc!initcygrpc+0xeabd6 0a53fa08 68361cc5 019f 02739cb0 034f78d0 cygrpc!initcygrpc+0xe0218 0a53fa18

Re: [grpc-io] Package grpcio with py2exe

2017-11-20 Thread 'Ken Payson' via grpc.io
Can you post the full exception? On Fri, Nov 17, 2017 at 5:32 PM, wrote: > Thanks Ken. > > Now I am able to run it sometimes. I tried attaching windbg and saw abor > exception for "cygrpc!initcygrpc+". So initcygrpc is failing for some > reason. > > On Friday, 17 November

Re: [grpc-io] Package grpcio with py2exe

2017-11-17 Thread falu2010
Thanks Ken. Now I am able to run it sometimes. I tried attaching windbg and saw abor exception for "cygrpc!initcygrpc+". So initcygrpc is failing for some reason. On Friday, 17 November 2017 12:22:52 UTC-8, Ken Payson wrote: > > This question might be better suited for a py2exe mailing list.

Re: [grpc-io] Package grpcio with py2exe

2017-11-17 Thread 'Ken Payson' via grpc.io
This question might be better suited for a py2exe mailing list. I'm not sure if py2exe supports binary python packages. If it does (in a cross-compatible way), I would expect it to need to package multiple pip packages in the resulting exe. On Fri, Nov 17, 2017 at 12:15 PM,

Re: [grpc-io] Package grpcio with py2exe

2017-11-17 Thread falu2010
It should not matter. Sorry my machine also has 32 bit python (Windows 64 bit). py2exe freezes python scripts. "py2exe turns Python programs into packages that can be run on other Windows computers without needing to install Python on those computers. Python is needed on the computer where

Re: [grpc-io] Package grpcio with py2exe

2017-11-17 Thread 'Ken Payson' via grpc.io
Pip will choose a binary package from PyPI that matches your Python version/architecture. If you attempt to redistribute that package, it may not match the client's Python version/architecture. On Fri, Nov 17, 2017 at 11:51 AM, wrote: > I am not building from source. I am

Re: [grpc-io] Package grpcio with py2exe

2017-11-17 Thread falu2010
I am not building from source. I am using pip to install grpcio on that machine. http://www.py2exe.org/index.cgi/Tutorial On Friday, 17 November 2017 11:39:14 UTC-8, Ken Payson wrote: > > I'm not familiar with py2exe, but we release separate binary packages for > Windows 32 and 64 bit

Re: [grpc-io] Package grpcio with py2exe

2017-11-17 Thread 'Ken Payson' via grpc.io
I'm not familiar with py2exe, but we release separate binary packages for Windows 32 and 64 bit Python. If you are trying to build from source and distribute the binary package, I would expect some compatibility issues. On Fri, Nov 17, 2017 at 11:29 AM, wrote: > Hi there, >