Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Encoding issue: Coding on Windows 7 and transferring to Linux (scripts not working)

I've been coding some of my launch files, scripts, etc in Windows 7 and I've noticed that there is some encoding issue that I can only resolve by recopying the code (I made in Windows) into new files that I create on my Linux hardware.

I verified that my scripts and launch files work by testing them on my Linux hardware after remaking them.

I have been using Notepad++ and Eclipse on Windows 7 fyi. And I'm using ROS Indigo.

Encoding issue: Coding on Windows 7 and transferring to Linux (scripts and my scripts are not working)working. What is causing this issue?

I've been coding some of my launch files, scripts, etc in Windows 7 and I've noticed that there is some encoding issue that I can only resolve by recopying the code (I made in Windows) into new files that I create on my Linux hardware.

I verified that my scripts and launch files work by testing them on my Linux hardware after remaking them.

I have been using Notepad++ and Eclipse on Windows 7 fyi. And I'm using ROS Indigo.

Edit with ERRORS:

  • Using roslaunch to start a python file created in Windows: "No such file or directory" even though the exact file is where it should be. Verified this was an encoding problem by remaking the file in Linux.

  • Trying to use a shell file to start a launch file (launch file works): "No such file or directory. XYZ is not a launch file name"