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 dependencies.

On Mon, Nov 20, 2017 at 9:58 AM,  wrote:

> 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 68361c01 034f78e4 073c2e80 fffe cygrpc!initcygrpc+0xc3d94
> 0a53fa2c 741b3c5a 0014 02739ca0 6830396b cygrpc!initcygrpc+0xc3cd0
> 0a53fa48 682a5887 0014 0001 02739ca0 msvcr90!calloc+0x1a
> 0a53fa58 68303672 03bddbc4 0001 6841dbdc cygrpc!initcygrpc+0x7956
> 0a53fa68 682a59fe 0014 6840 025471c0 cygrpc!initcygrpc+0x65741
> 0a53fa88 68303efe 0014 68303538 03291fd4 cygrpc!initcygrpc+0x7acd
> 0a53fa98 682a95d3 684b5804 682a9264 0a53fabc cygrpc!initcygrpc+0x65fcd
> 0a53fac8 682ff00d  03ce9974 6841dbdc cygrpc!initcygrpc+0xb6a2
> 0a53fae4 774ce172 01edeb79 0028 0329df60 cygrpc!initcygrpc+0x610dc
> 0a53fb74 741b3c3a 0a53ff10 03bff878 01edeb51 ntdll!RtlAllocateHeap+0x206
> 0a53fc08 682a5887 0004 0001 0a53ffc4 msvcr90!free+0xec
> 0a53fc28 6830a7bf 0a53ff10 68403ca4 03bff878 cygrpc!initcygrpc+0x7956
>      cygrpc!initcygrpc+0x6c88e
>
>
> On Monday, 20 November 2017 09:28:13 UTC-8, Ken Payson wrote:
>>
>> 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 2017 12:22:52 UTC-8, Ken Payson wrote:

 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,  wrote:

> 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 py2exe itself is run because py2exe
> is a Python program and it includes parts of Python in the package that is
> built."
>
>  Ideally I don't need python on machine where I am running CLI.
>
> The funny thing is if I enable debug mode on  my CLI which uses the
> module I don't see runtime error.
>
> On Friday, 17 November 2017 11:55:31 UTC-8, Ken Payson wrote:
>>
>> 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 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 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,
>
> Is it possible to package grpcio with py2exe?
>
> I tried packing up grpcio on windows 7 32 bit using py2exe with
> python 2.7.11. Py2exe is able to detect dependencies but it does not
> package beta folder inside grpc module.
>
> When I try to run that the generated .exe from py2exe on my
> windows 7 machine which has 32-bit python version 2.7.13 I get run 
> time
> error. But when I try to replace grpc package compiled on my machine 
> and
> try to run the generated .exe from py2exe it works fine.
>
> My question is does grpcio has to be compiled on machine where you
> want to run it?
>
> Cheers,
> Falguni
>
> --
> You received this message because you are subscribed to the Google
> Groups "grpc.io" group.
> To 

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 68361c01 034f78e4 073c2e80 fffe cygrpc!initcygrpc+0xc3d94
0a53fa2c 741b3c5a 0014 02739ca0 6830396b cygrpc!initcygrpc+0xc3cd0
0a53fa48 682a5887 0014 0001 02739ca0 msvcr90!calloc+0x1a
0a53fa58 68303672 03bddbc4 0001 6841dbdc cygrpc!initcygrpc+0x7956
0a53fa68 682a59fe 0014 6840 025471c0 cygrpc!initcygrpc+0x65741
0a53fa88 68303efe 0014 68303538 03291fd4 cygrpc!initcygrpc+0x7acd
0a53fa98 682a95d3 684b5804 682a9264 0a53fabc cygrpc!initcygrpc+0x65fcd
0a53fac8 682ff00d  03ce9974 6841dbdc cygrpc!initcygrpc+0xb6a2
0a53fae4 774ce172 01edeb79 0028 0329df60 cygrpc!initcygrpc+0x610dc
0a53fb74 741b3c3a 0a53ff10 03bff878 01edeb51 ntdll!RtlAllocateHeap+0x206
0a53fc08 682a5887 0004 0001 0a53ffc4 msvcr90!free+0xec
0a53fc28 6830a7bf 0a53ff10 68403ca4 03bff878 cygrpc!initcygrpc+0x7956
     cygrpc!initcygrpc+0x6c88e


On Monday, 20 November 2017 09:28:13 UTC-8, Ken Payson wrote:
>
> 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 2017 12:22:52 UTC-8, Ken Payson wrote:
>>>
>>> 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,  wrote:
>>>
 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 py2exe itself is run because py2exe 
 is a Python program and it includes parts of Python in the package that is 
 built."

  Ideally I don't need python on machine where I am running CLI.

 The funny thing is if I enable debug mode on  my CLI which uses the 
 module I don't see runtime error.

 On Friday, 17 November 2017 11:55:31 UTC-8, Ken Payson wrote:
>
> 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 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 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,

 Is it possible to package grpcio with py2exe?

 I tried packing up grpcio on windows 7 32 bit using py2exe with 
 python 2.7.11. Py2exe is able to detect dependencies but it does not 
 package beta folder inside grpc module.

 When I try to run that the generated .exe from py2exe on my windows 
 7 machine which has 32-bit python version 2.7.13 I get run time error. 
 But 
 when I try to replace grpc package compiled on my machine and try to 
 run 
 the generated .exe from py2exe it works fine.

 My question is does grpcio has to be compiled on machine where you 
 want to run it?

 Cheers,
 Falguni

 -- 
 You received this message because you are subscribed to the Google 
 Groups "grpc.io" group.
 To unsubscribe from this group and stop receiving emails from it, 
 send an email to grpc-io+u...@googlegroups.com.
 To post to this group, send email to grp...@googlegroups.com.
 Visit this group at https://groups.google.com/group/grpc-io.
 To view this discussion on the web visit 
 https://groups.google.com/d/msgid/grpc-io/b502a67c-96c7-44d3-b526-36e516734102%40googlegroups.com
  
 

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 2017 12:22:52 UTC-8, Ken Payson wrote:
>>
>> 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,  wrote:
>>
>>> 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 py2exe itself is run because py2exe
>>> is a Python program and it includes parts of Python in the package that is
>>> built."
>>>
>>>  Ideally I don't need python on machine where I am running CLI.
>>>
>>> The funny thing is if I enable debug mode on  my CLI which uses the
>>> module I don't see runtime error.
>>>
>>> On Friday, 17 November 2017 11:55:31 UTC-8, Ken Payson wrote:

 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 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 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,
>>>
>>> Is it possible to package grpcio with py2exe?
>>>
>>> I tried packing up grpcio on windows 7 32 bit using py2exe with
>>> python 2.7.11. Py2exe is able to detect dependencies but it does not
>>> package beta folder inside grpc module.
>>>
>>> When I try to run that the generated .exe from py2exe on my windows
>>> 7 machine which has 32-bit python version 2.7.13 I get run time error. 
>>> But
>>> when I try to replace grpc package compiled on my machine and try to run
>>> the generated .exe from py2exe it works fine.
>>>
>>> My question is does grpcio has to be compiled on machine where you
>>> want to run it?
>>>
>>> Cheers,
>>> Falguni
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "grpc.io" group.
>>> To unsubscribe from this group and stop receiving emails from it,
>>> send an email to grpc-io+u...@googlegroups.com.
>>> To post to this group, send email to grp...@googlegroups.com.
>>> Visit this group at https://groups.google.com/group/grpc-io.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/grpc-io/b502a67c-96c7-44d3
>>> -b526-36e516734102%40googlegroups.com
>>> 
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>> --
> You received this message because you are subscribed to the Google
> Groups "grpc.io" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to grpc-io+u...@googlegroups.com.
> To post to this group, send email to grp...@googlegroups.com.
> Visit this group at https://groups.google.com/group/grpc-io.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/grpc-io/42357e8c-b09c-4004
> -bd33-a0a8ea9a2051%40googlegroups.com
> 
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

 --
>>> You received this message because you are subscribed to the Google
>>> Groups "grpc.io" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to grpc-io+u...@googlegroups.com.
>>> To post to this group, send email to grp...@googlegroups.com.
>>> Visit this group at https://groups.google.com/group/grpc-io.
>>> To view this discussion on the web visit https://groups.google.com/d/ms
>>> 

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.
>
> 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,  wrote:
>
>> 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 py2exe itself is run because py2exe 
>> is a Python program and it includes parts of Python in the package that is 
>> built."
>>
>>  Ideally I don't need python on machine where I am running CLI.
>>
>> The funny thing is if I enable debug mode on  my CLI which uses the 
>> module I don't see runtime error.
>>
>> On Friday, 17 November 2017 11:55:31 UTC-8, Ken Payson wrote:
>>>
>>> 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 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 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,
>>
>> Is it possible to package grpcio with py2exe?
>>
>> I tried packing up grpcio on windows 7 32 bit using py2exe with 
>> python 2.7.11. Py2exe is able to detect dependencies but it does not 
>> package beta folder inside grpc module.
>>
>> When I try to run that the generated .exe from py2exe on my windows 7 
>> machine which has 32-bit python version 2.7.13 I get run time error. But 
>> when I try to replace grpc package compiled on my machine and try to run 
>> the generated .exe from py2exe it works fine.
>>
>> My question is does grpcio has to be compiled on machine where you 
>> want to run it?
>>
>> Cheers,
>> Falguni
>>
>> -- 
>> You received this message because you are subscribed to the Google 
>> Groups "grpc.io" group.
>> To unsubscribe from this group and stop receiving emails from it, 
>> send an email to grpc-io+u...@googlegroups.com.
>> To post to this group, send email to grp...@googlegroups.com.
>> Visit this group at https://groups.google.com/group/grpc-io.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/grpc-io/b502a67c-96c7-44d3-b526-36e516734102%40googlegroups.com
>>  
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
> -- 
 You received this message because you are subscribed to the Google 
 Groups "grpc.io" group.
 To unsubscribe from this group and stop receiving emails from it, send 
 an email to grpc-io+u...@googlegroups.com.
 To post to this group, send email to grp...@googlegroups.com.
 Visit this group at https://groups.google.com/group/grpc-io.
 To view this discussion on the web visit 
 https://groups.google.com/d/msgid/grpc-io/42357e8c-b09c-4004-bd33-a0a8ea9a2051%40googlegroups.com
  
 
 .

 For more options, visit https://groups.google.com/d/optout.

>>>
>>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "grpc.io" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to grpc-io+u...@googlegroups.com .
>> To post to this group, send email to grp...@googlegroups.com 
>> .
>> Visit this group at https://groups.google.com/group/grpc-io.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/grpc-io/6842c215-3282-4562-8711-eaeff00a1089%40googlegroups.com
>>  
>> 

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,  wrote:

> 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 py2exe itself is run because py2exe
> is a Python program and it includes parts of Python in the package that is
> built."
>
>  Ideally I don't need python on machine where I am running CLI.
>
> The funny thing is if I enable debug mode on  my CLI which uses the module
> I don't see runtime error.
>
> On Friday, 17 November 2017 11:55:31 UTC-8, Ken Payson wrote:
>>
>> 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 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 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,
>
> Is it possible to package grpcio with py2exe?
>
> I tried packing up grpcio on windows 7 32 bit using py2exe with python
> 2.7.11. Py2exe is able to detect dependencies but it does not package beta
> folder inside grpc module.
>
> When I try to run that the generated .exe from py2exe on my windows 7
> machine which has 32-bit python version 2.7.13 I get run time error. But
> when I try to replace grpc package compiled on my machine and try to run
> the generated .exe from py2exe it works fine.
>
> My question is does grpcio has to be compiled on machine where you
> want to run it?
>
> Cheers,
> Falguni
>
> --
> You received this message because you are subscribed to the Google
> Groups "grpc.io" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to grpc-io+u...@googlegroups.com.
> To post to this group, send email to grp...@googlegroups.com.
> Visit this group at https://groups.google.com/group/grpc-io.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/grpc-io/b502a67c-96c7-44d3
> -b526-36e516734102%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

 --
>>> You received this message because you are subscribed to the Google
>>> Groups "grpc.io" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to grpc-io+u...@googlegroups.com.
>>> To post to this group, send email to grp...@googlegroups.com.
>>> Visit this group at https://groups.google.com/group/grpc-io.
>>> To view this discussion on the web visit https://groups.google.com/d/ms
>>> gid/grpc-io/42357e8c-b09c-4004-bd33-a0a8ea9a2051%40googlegroups.com
>>> 
>>> .
>>>
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>> --
> You received this message because you are subscribed to the Google Groups "
> grpc.io" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to grpc-io+unsubscr...@googlegroups.com.
> To post to this group, send email to grpc-io@googlegroups.com.
> Visit this group at https://groups.google.com/group/grpc-io.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/grpc-io/6842c215-3282-4562-8711-eaeff00a1089%40googlegroups.com
> 
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to grpc-io+unsubscr...@googlegroups.com.
To post to this group, send email to grpc-io@googlegroups.com.
Visit this group at 

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 py2exe itself is run because py2exe 
is a Python program and it includes parts of Python in the package that is 
built."

 Ideally I don't need python on machine where I am running CLI.

The funny thing is if I enable debug mode on  my CLI which uses the module 
I don't see runtime error.

On Friday, 17 November 2017 11:55:31 UTC-8, Ken Payson wrote:
>
> 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 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 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,

 Is it possible to package grpcio with py2exe?

 I tried packing up grpcio on windows 7 32 bit using py2exe with python 
 2.7.11. Py2exe is able to detect dependencies but it does not package beta 
 folder inside grpc module.

 When I try to run that the generated .exe from py2exe on my windows 7 
 machine which has 32-bit python version 2.7.13 I get run time error. But 
 when I try to replace grpc package compiled on my machine and try to run 
 the generated .exe from py2exe it works fine.

 My question is does grpcio has to be compiled on machine where you want 
 to run it?

 Cheers,
 Falguni

 -- 
 You received this message because you are subscribed to the Google 
 Groups "grpc.io" group.
 To unsubscribe from this group and stop receiving emails from it, send 
 an email to grpc-io+u...@googlegroups.com.
 To post to this group, send email to grp...@googlegroups.com.
 Visit this group at https://groups.google.com/group/grpc-io.
 To view this discussion on the web visit 
 https://groups.google.com/d/msgid/grpc-io/b502a67c-96c7-44d3-b526-36e516734102%40googlegroups.com
  
 
 .
 For more options, visit https://groups.google.com/d/optout.

>>>
>>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "grpc.io" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to grpc-io+u...@googlegroups.com .
>> To post to this group, send email to grp...@googlegroups.com 
>> .
>> Visit this group at https://groups.google.com/group/grpc-io.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/grpc-io/42357e8c-b09c-4004-bd33-a0a8ea9a2051%40googlegroups.com
>>  
>> 
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to grpc-io+unsubscr...@googlegroups.com.
To post to this group, send email to grpc-io@googlegroups.com.
Visit this group at https://groups.google.com/group/grpc-io.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/6842c215-3282-4562-8711-eaeff00a1089%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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 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 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,
>>>
>>> Is it possible to package grpcio with py2exe?
>>>
>>> I tried packing up grpcio on windows 7 32 bit using py2exe with python
>>> 2.7.11. Py2exe is able to detect dependencies but it does not package beta
>>> folder inside grpc module.
>>>
>>> When I try to run that the generated .exe from py2exe on my windows 7
>>> machine which has 32-bit python version 2.7.13 I get run time error. But
>>> when I try to replace grpc package compiled on my machine and try to run
>>> the generated .exe from py2exe it works fine.
>>>
>>> My question is does grpcio has to be compiled on machine where you want
>>> to run it?
>>>
>>> Cheers,
>>> Falguni
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "grpc.io" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to grpc-io+u...@googlegroups.com.
>>> To post to this group, send email to grp...@googlegroups.com.
>>> Visit this group at https://groups.google.com/group/grpc-io.
>>> To view this discussion on the web visit https://groups.google.com/d/ms
>>> gid/grpc-io/b502a67c-96c7-44d3-b526-36e516734102%40googlegroups.com
>>> 
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>> --
> You received this message because you are subscribed to the Google Groups "
> grpc.io" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to grpc-io+unsubscr...@googlegroups.com.
> To post to this group, send email to grpc-io@googlegroups.com.
> Visit this group at https://groups.google.com/group/grpc-io.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/grpc-io/42357e8c-b09c-4004-bd33-a0a8ea9a2051%40googlegroups.com
> 
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to grpc-io+unsubscr...@googlegroups.com.
To post to this group, send email to grpc-io@googlegroups.com.
Visit this group at https://groups.google.com/group/grpc-io.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/CAGm2-Y73Bfd%3DExfL2R4Yx3P-3h-bd0pOB4Nsua6y4N-x253-Rw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


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 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,
>>
>> Is it possible to package grpcio with py2exe?
>>
>> I tried packing up grpcio on windows 7 32 bit using py2exe with python 
>> 2.7.11. Py2exe is able to detect dependencies but it does not package beta 
>> folder inside grpc module.
>>
>> When I try to run that the generated .exe from py2exe on my windows 7 
>> machine which has 32-bit python version 2.7.13 I get run time error. But 
>> when I try to replace grpc package compiled on my machine and try to run 
>> the generated .exe from py2exe it works fine.
>>
>> My question is does grpcio has to be compiled on machine where you want 
>> to run it?
>>
>> Cheers,
>> Falguni
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "grpc.io" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to grpc-io+u...@googlegroups.com .
>> To post to this group, send email to grp...@googlegroups.com 
>> .
>> Visit this group at https://groups.google.com/group/grpc-io.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/grpc-io/b502a67c-96c7-44d3-b526-36e516734102%40googlegroups.com
>>  
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to grpc-io+unsubscr...@googlegroups.com.
To post to this group, send email to grpc-io@googlegroups.com.
Visit this group at https://groups.google.com/group/grpc-io.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/42357e8c-b09c-4004-bd33-a0a8ea9a2051%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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,
>
> Is it possible to package grpcio with py2exe?
>
> I tried packing up grpcio on windows 7 32 bit using py2exe with python
> 2.7.11. Py2exe is able to detect dependencies but it does not package beta
> folder inside grpc module.
>
> When I try to run that the generated .exe from py2exe on my windows 7
> machine which has 32-bit python version 2.7.13 I get run time error. But
> when I try to replace grpc package compiled on my machine and try to run
> the generated .exe from py2exe it works fine.
>
> My question is does grpcio has to be compiled on machine where you want to
> run it?
>
> Cheers,
> Falguni
>
> --
> You received this message because you are subscribed to the Google Groups "
> grpc.io" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to grpc-io+unsubscr...@googlegroups.com.
> To post to this group, send email to grpc-io@googlegroups.com.
> Visit this group at https://groups.google.com/group/grpc-io.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/grpc-io/b502a67c-96c7-44d3-b526-36e516734102%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to grpc-io+unsubscr...@googlegroups.com.
To post to this group, send email to grpc-io@googlegroups.com.
Visit this group at https://groups.google.com/group/grpc-io.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/CAGm2-Y7pWF1zpJLkw%3Dw56pg3qkEw%2B%2BDO%3D8eRFJm_2ae-z6Dhqg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.