User talk:Tampa
From OpenSimulator
(Difference between revisions)
												
			m  | 
			|||
| Line 8: | Line 8: | ||
When running the `opensim.sh` script, the following error may appear:  | When running the `opensim.sh` script, the following error may appear:  | ||
<pre>  | <pre>  | ||
| − | -bash: ./opensim.sh : /bin/sh^M :   | + | -bash: ./opensim.sh : /bin/sh^M :  bad interpreter: No file or directory of this type  | 
</pre>  | </pre>  | ||
Revision as of 06:54, 31 August 2025
Hello Tampa
On the Dependencies/fr page, at the end of the “On Linux” section, I added this paragraph. I don't know if it's necessary or correct. I had this error on my computer and corrected it this way.
« Possible error under Linux:
When running the `opensim.sh` script, the following error may appear:
-bash: ./opensim.sh : /bin/sh^M : bad interpreter: No file or directory of this type
This error indicates that there is a problem with the file format, often caused by incompatible line endings (e.g., Windows-style carriage returns).
To resolve this issue, you need to convert the file using the `dos2unix` command. Install dos2Unix:
sudo apt install dos2unix
Run the following command in the simulator's bin folder:
dos2unix opensim.sh
»
Acryline