Error ros.ro2.in​ternal.cre​ateOrGetLo​calpython

1 回表示 (過去 30 日間)
nikhil nadgauda
nikhil nadgauda 2021 年 2 月 12 日
コメント済み: nikhil nadgauda 2021 年 2 月 12 日
Hello,
Recently i encountered an error while using ros2genmsg .My os is ubuntu 16.04 xenial and matlab version is 2020b.
For reference,

採用された回答

Cam Salzberger
Cam Salzberger 2021 年 2 月 12 日
編集済み: Cam Salzberger 2021 年 2 月 12 日
Hello Nikhil,
There are two issues happening here. The first is that there is something stopping some of your root Python libraries from being copied to the Python virtual environment that is being used to build the ROS 2 messages. Unfortunately, whatever is stopping the copying from happening isn't clear because there is an issue using the error message. I'll ensure that this is resolved in future releases.
To resolve the first issue, it's probably best if you contact technical support. There are a lot of reasons that can cause a file copy operation to fail, and most are specific to the system it is on, the folder structure, and file permissions. I would suggest inserting a breakpoint at line 236 there and getting the values of "src", "dest", "status", and "msg". That should give you (and tech support) a better idea of what is going on and why this line:
[status, msg] = copyfile(src,dest,'f');
is failing to copy the files.
-Cam
  1 件のコメント
nikhil nadgauda
nikhil nadgauda 2021 年 2 月 12 日
ok thank you very much

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

タグ

製品


リリース

R2020b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by