2

CR LF line endings

I used the program Processing to edit a IDF file and save as a new file, basically just making a copy and adding some new objects in the format as required by EnergyPlus.

However, when I try to open this new IDF file in IDF editor, I got the following error message:

Unix file format detected.

Please convert the file with a text editor to have CR LF line endings.

May I ask why I have this issue and how to solve it?

Thank you!

oat's avatar
835
oat
asked 2015-03-28 04:44:28 -0500
__AmirRoth__'s avatar
4.4k
__AmirRoth__
updated 2017-05-03 21:40:08 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

2

This is related to line endings. If you use Notepad++ text editor, you can open your file, go to "Edit>EOL Conversion" and change from "Unix/OSX Format" to "Windows Format". This should solve the issue of opening a file in the IDF editor.

Ivan Korolija's avatar
911
Ivan Korolija
answered 2015-03-28 06:58:06 -0500
Julien Marrec's avatar
29.7k
Julien Marrec
updated 2015-03-28 10:19:08 -0500
edit flag offensive 0 remove flag delete link

Comments

I mean, thank you very much, Ivan!

oat's avatar oat (2015-04-18 10:22:17 -0500) edit
add a comment see more comments