RobotWebTools / rclnodejs

Node.js version of ROS 2.0 client
https://docs.ros.org/en/humble/Concepts/Basic/About-Client-Libraries.html?highlight=rclnodejs#community-maintained
Apache License 2.0
319 stars 70 forks source link

Problem with space in path #711

Closed felixdivo closed 3 years ago

felixdivo commented 3 years ago

It seems like a space in the path causes the Javascript messages file building to crash:

> rclnodejs@0.15.1 postinstall /shortened-path-for-privacy/some space/nodejs-project/node_modules/rclnodejs
> node scripts/generate_messages.js

Start JavaScript message generation...
Caught error: Error: python3: can't open file '/shortened-path-for-privacy/some': [Errno 2] No such file or directory

Software versions:

I couldn't yet test whether moving the project solves the issue.

minggangw commented 3 years ago

Thanks for submitting this issue, we are going to fix it.

felixdivo commented 3 years ago

Thanks. Without the space, I merely get a segfault right after that step. I'll report details once I diagnosed it further.

minggangw commented 3 years ago

699 has fixed the segfault, please try the latest version.

felixdivo commented 3 years ago

Thank you, that indeed solved the issue!