Closed dgarijo closed 4 years ago
Issue-Label Bot is automatically applying the label bug
to this issue, with a confidence of 0.92. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!
Links: app homepage, dashboard and code for this bot.
Windows is writing the file using CRLF breaking line
CR and LF are control characters, respectively coded 0x0D (13 decimal) and 0x0A (10 decimal). They are used to mark a line break in a text file. As you indicated, Windows uses two characters the CR LF sequence; Unix only uses LF and the old MacOS ( pre-OSX MacIntosh) used CR.
Before coding, I recommend checking if mic is writing the files using CRLF
I checked and all files are written with CRLF:
In /docker
:
Dockerfile: ASCII text, with CRLF line terminators
entrypoint.sh: Bourne-Again shell script, ASCII text executable, with CRLF line terminators
in /mic
:
data: directory
docker: directory
mic.yaml: ASCII text, with CRLF line terminators
src: directory
The latest version of mic (both 1.2.1 and develop) are not working in WINDOWS:
After doing:
mic encapsulate start
the program asks for my component name, downloads the image and then exists:Version 1.2.0 (installed from pypi) does not have this issue.