Hello,

We found that the pip package ‘grpcio' has all the packages required. The 
package named grpc was a different outdated pip package and thus gave us 
errors. 
The issue has been fixed now.

Thanks,
Rishabh.

> On May 2, 2020, at 2:02 PM, GOPI KIRAN <[email protected]> wrote:
> 
> Hi,
> 
> We are facing the issue in "pip install grpc"
> We have raised the issue in grpc. We have completed the python client for
> the MFT Api. But unable to test it as we are getting this error. We have
> raised the issue in the github
> Below is the link
> https://github.com/grpc/grpc/issues/22849
> 
> With regards,
> Gopi Kiran
> 
> 
> On Fri, May 1, 2020 at 4:01 PM Rishabh Gajra <[email protected]> wrote:
> 
>> Thanks for the suggestions Isuru and Marru.
>> I got it and I will go ahead and use this method as of now. I will use the
>> maven plugin that is being used in Airavata-MFT
>> (org.xolstice.maven.plugins)
>> But I have a question for the future. Like we are building the client with
>> all the proto classes like in java. We need to find a way to push into the
>> Pip right? Also in the future we are going to separate out the clients from
>> the main server repo of Airavata-MFT, aren't we? I will use the method
>> suggested above as of now. I will later discuss about the Pip later.
>> Thanks once again for the suggestion!
>> Rishabh.
>> 
>> On Thu, Apr 30, 2020 at 10:39 PM Suresh Marru <[email protected]> wrote:
>> 
>>> On Apr 30, 2020, at 10:26 PM, Isuru Ranawaka <[email protected]> wrote:
>>> 
>>> 
>>> Hi Rishabh,
>>> 
>>> Some suggestions, try out a maven plugin (e.g protbuf-maven-plugin) to
>>> generate stubs and copy them into relevant folders or write a script (e.g
>>> shell script) and execute via maven phase.
>>> 
>>> 
>>> Here is an example shell script we use for generation of Thrift SDK’s.
>> You
>>> could follow this example and write equivalent protobuff one and link it
>>> maven phase as Isuru suggested:
>>> 
>>> 
>>> 
>> https://github.com/apache/airavata/blob/master/thrift-interface-descriptions/generate-thrift-stubs.sh
>>> 
>>> Suresh
>>> 
>>> 
>>> thanks
>>> Isuru
>>> 
>>> 
>>> 
>>> 
>>> On Thu, Apr 30, 2020 at 10:03 PM Rishabh Gajra <[email protected]>
>>> wrote:
>>> 
>>> Hi,
>>> This is related to custos python client that is present in the develop
>>> branch. I believe all the classes that are present in the module are
>>> generated from the proto buff. I wanted to address the issue where there
>> is
>>> a change in the protobuff file on the server-side. Is there any method
>>> where we can avoid manually putting the class file in every client that
>> we
>>> build on. Also, our team is planning to write the Python SDK for Airavata
>>> MFT (Possibly extend to GOLANG too if time permits).
>>> Specifically, I want to address the above issue. Any suggestion on how to
>>> go about this is appreciated. Thank you.
>>> 
>>> 
>>> --
>>> Regards,
>>> Rishabh.
>>> 
>>> 
>>> 
>>> --
>>> Research Software Engineer
>>> Indiana University, IN
>>> 
>>> 
>>> 
>> 
>> --
>> Regards,
>> Rishabh.
>> 

Reply via email to