secretflow / kuscia

Kuscia(Kubernetes-based Secure Collaborative InfrA) is a K8s-based privacy-preserving computing task orchestration framework.
https://www.secretflow.org.cn/docs/kuscia/latest/zh-Hans
Apache License 2.0
68 stars 47 forks source link

compiled error for protocol #343

Open ABU-Kevin opened 3 weeks ago

ABU-Kevin commented 3 weeks ago

Issue Type

Running

Search for existing issues similar to yours

Yes

OS Platform and Distribution

windows 10

Kuscia Version

0.8.0b0

Deployment

docker

deployment Version

26.1.4

App Running type

secretflow

App Running version

1.6.1b0

Configuration file used to run kuscia.

N/A

What happend and What you expected to happen.

I have encounted an compiling issue of protocol on windows 10 when I downloaded kuscia code of main branch and go into the path of proto/api/v1alpha1/kusciaapi to compile the domain.proto file with command as below:
>protoc --python_out=output domain.proto
error occurred。。。。。。

and I didn't find the domain_grpc.proto file.....bla bla...

I would like to have the pip installation by client for kuscia, that will helpful.....

Kuscia log output.

well, the error were:
kuscia/proto/api/v1alpha1/common.proto: File not found.
domain.proto:19:1: Import "kuscia/proto/api/v1alpha1/common.proto" was not found or had errors.
domain.proto:37:3: "RequestHeader" is not defined.
domain.proto:46:3: "Status" is not defined.
domain.proto:50:3: "RequestHeader" is not defined.
domain.proto:55:3: "Status" is not defined.
domain.proto:59:3: "RequestHeader" is not defined.
domain.proto:64:3: "Status" is not defined.
domain.proto:88:3: "RequestHeader" is not defined.
domain.proto:97:3: "Status" is not defined.
domain.proto:101:3: "RequestHeader" is not defined.
domain.proto:106:3: "Status" is not defined.
zimu-yuxi commented 2 weeks ago

请问,线下问题是否已经解决?