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/12/06 19:23:47 UTC

[GitHub] [tvm] mehrdadh opened a new issue #9661: [TVMC][MicroTVM] tvmc micro `project_dir` arg does not accept relative path

mehrdadh opened a new issue #9661:
URL: https://github.com/apache/tvm/issues/9661


   ### Expected behavior
   
   Expect `tvmc micro create-project` to run without error.
   
   ### Actual behavior
   ```bash
   The following error occured on the Project API server side: 
    calling method generate_project: JSON-RPC error # -32000: calling method generate_project
   Traceback (most recent call last):
     File "/home/mhessar/tvm/python/tvm/micro/project_api/server.py", line 481, in serve_one_request  # <--- Outermost server-side stack frame
       self._dispatch_request(request)
     File "/home/mhessar/tvm/python/tvm/micro/project_api/server.py", line 593, in _dispatch_request
       return_value = dispatch_method(**params)
     File "/home/mhessar/tvm/python/tvm/micro/project_api/server.py", line 625, in _dispatch_generate_project
       options,
     File "/home/mhessar/tvm/build/microtvm_template_projects/arduino/microtvm_api_server.py", line 338, in generate_project
       project_dir.mkdir()
     File "/usr/lib/python3.6/pathlib.py", line 1248, in mkdir
       self._accessor.mkdir(self, mode)
     File "/usr/lib/python3.6/pathlib.py", line 387, in wrapped
       return strfunc(str(pathobj), *args)
   FileNotFoundError: [Errno 2] No such file or directory: 'tvmc_relative_path_test/project'
   ```
   
   ### Steps to reproduce
   ```python
   poetry run tvmc micro create-project ./tvmc_relative_path_test ./output_dir/model.tar arduino --project-option "project_type=host_driven"
   ```
   
   cc @gromero @guberti 


-- 
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] mehrdadh commented on issue #9661: [TVMC][MicroTVM] tvmc micro `project_dir` arg does not accept relative path

Posted by GitBox <gi...@apache.org>.
mehrdadh commented on issue #9661:
URL: https://github.com/apache/tvm/issues/9661#issuecomment-989174225


   fixed by https://github.com/apache/tvm/pull/9663


-- 
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] mehrdadh closed issue #9661: [TVMC][MicroTVM] tvmc micro `project_dir` arg does not accept relative path

Posted by GitBox <gi...@apache.org>.
mehrdadh closed issue #9661:
URL: https://github.com/apache/tvm/issues/9661


   


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