--
You received this message because you are subscribed to the Google Groups "elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elixir-lang-co...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/CAGnRm4KJQKYyXgxMegvg2ZageW8Csfftv_QWexU-ahq0QWHSHQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/CAKAMJXhrFVWEfTw8KmiULYKgZBfyjAu%3DDgU%3DcNdzB6g-MRD2pg%40mail.gmail.com.
Hi!Just started to learn Elixir and I think might have found a bug in the chocolatey installation (and maybe in Elixir shell itself).I was installing elixir with
choco.exe install elixir -preAnd everything went fine, and I started with the tutorial at http://elixir-lang.org/getting-started/mix-otp/introduction-to-mix.htmlStarted creating the project with mix, no problems, but when I wanted to start the shell with "iex.bat -S mix" I got this weird error:
Eshell V7.0 (abort with ^G)
** (UnicodeConversionError) invalid encoding starting at <<144, 0, 3, 0, 0, 0, 4, 0, 0, 0, 255, 255, 0, 0, 184, 0, 0, 0,
0, 0, 0, 0, 64, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...>>I googled it but found nothing so I started to investigate what this string is, and it turns out it is a part of the headers for executable files in Windows. Then I realized it was trying to load mix.exe from the chocolatey bin folder. So I renamed that file and it started to work. My guess is that elixir shouldn't try to load exe files as scripts, but I'm just starting so I really don't know this.PS. I get the same error with the 1.0 release (without -pre).