You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@teaclave.apache.org by GitBox <gi...@apache.org> on 2020/05/25 12:59:40 UTC

[GitHub] [incubator-teaclave] czzmmc opened a new issue #314: Be stuck with registering input file when writing builtin-gbdt-train python script

czzmmc opened a new issue #314:
URL: https://github.com/apache/incubator-teaclave/issues/314


   Hi, 
   I'm writing builtin-gbdt-train python sample script. I got a problem about rewrite the registering input and output files. I imitated the code like register_function like making a RegisterInputFileRequest class and so on, but I invalid request error. Here is my code:
   
   def register_input_file(self):
           url = "http://localhost:6789/fixtures/functions/gbdt_training/train.enc"
           cmac = "881adca6b0524472da0a9d0bb02b9af9"
           crypto_info = "0000000000000000"
           request = RegisterInputFileRequest(self.metadata, urlparse(url), FileAuthTag(cmac), TeaclaveFile128Key(crypto_info))
           write_message(self.channel, request)
           response = read_message(self.channel)
           return reponse["content"]["data_id"]


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@teaclave.apache.org
For additional commands, e-mail: notifications-help@teaclave.apache.org


[GitHub] [incubator-teaclave] mssun commented on issue #314: Be stuck with registering input file when writing builtin-gbdt-train python script

Posted by GitBox <gi...@apache.org>.
mssun commented on issue #314:
URL: https://github.com/apache/incubator-teaclave/issues/314#issuecomment-633690769


   Hi, thanks! You can enable the log with `RUST_LOG=debug=teaclave` to check the request format is a valid or not by comparing to the Rust's test.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@teaclave.apache.org
For additional commands, e-mail: notifications-help@teaclave.apache.org


[GitHub] [incubator-teaclave] mssun commented on issue #314: Be stuck with registering input file when writing builtin-gbdt-train python script

Posted by GitBox <gi...@apache.org>.
mssun commented on issue #314:
URL: https://github.com/apache/incubator-teaclave/issues/314#issuecomment-635538812


   #319 has been merged. Issue closed. Thanks!


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@teaclave.apache.org
For additional commands, e-mail: notifications-help@teaclave.apache.org


[GitHub] [incubator-teaclave] mssun closed issue #314: Be stuck with registering input file when writing builtin-gbdt-train python script

Posted by GitBox <gi...@apache.org>.
mssun closed issue #314:
URL: https://github.com/apache/incubator-teaclave/issues/314


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@teaclave.apache.org
For additional commands, e-mail: notifications-help@teaclave.apache.org