You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2021/10/06 18:12:54 UTC

[GitHub] [tvm] gromero opened a new pull request #9213: [TVMC] Treat invalid FILE arguments

gromero opened a new pull request #9213:
URL: https://github.com/apache/tvm/pull/9213


   Currently if an invalid FILE argument is passed to 'tvmc run' the user
   will catch a traceback because exceptions are not treated, for instance:
   $ tvmc run /tmp/nonexistingfile will throw a FileNotFoundError trace.
   
   This commit catches the possible exceptions that can happen when an
   invalid FILE argument is used and convert them to better messages for
   the user so the invalid FILE can be easily spotted.
   
   Signed-off-by: Gustavo Romero <gu...@linaro.org>
   
   


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

To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org

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



[GitHub] [tvm] gromero commented on pull request #9213: [TVMC] Treat invalid FILE arguments

Posted by GitBox <gi...@apache.org>.
gromero commented on pull request #9213:
URL: https://github.com/apache/tvm/pull/9213#issuecomment-936827803


   @leandron Just crossed it when wrapping up things for `tvcm micro`. wdyt? Cheer.


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

To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org

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



[GitHub] [tvm] gromero edited a comment on pull request #9213: [TVMC] Treat invalid FILE arguments

Posted by GitBox <gi...@apache.org>.
gromero edited a comment on pull request #9213:
URL: https://github.com/apache/tvm/pull/9213#issuecomment-936827803


   @leandron Just crossed it when wrapping up things for `tvcm micro`. wdyt? Cheers.


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

To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org

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



[GitHub] [tvm] masahi merged pull request #9213: [TVMC] Treat invalid FILE arguments

Posted by GitBox <gi...@apache.org>.
masahi merged pull request #9213:
URL: https://github.com/apache/tvm/pull/9213


   


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

To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org

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



[GitHub] [tvm] masahi merged pull request #9213: [TVMC] Treat invalid FILE arguments

Posted by GitBox <gi...@apache.org>.
masahi merged pull request #9213:
URL: https://github.com/apache/tvm/pull/9213


   


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

To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org

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