# Running into a LoadError that is breaking Code

**URL:** <https://discourse.julialang.org/t/running-into-a-loaderror-that-is-breaking-code/32932>\
**Category:** New to Julia\
**Created:** [January 3, 2020, 4:38pm UTC](https://discourse.julialang.org/t/running-into-a-loaderror-that-is-breaking-code/32932 "2020-01-03T16:38:33Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![awiden91](https://avatars.discourse-cdn.com/v4/letter/a/58956e/32.png) [@awiden91](https://discourse.julialang.org/u/awiden91)\
**Post date:** [January 3, 2020, 4:38pm UTC](https://discourse.julialang.org/t/running-into-a-loaderror-that-is-breaking-code/32932/1 "2020-01-03T16:38:33Z")

</div>

Hi everyone, I am a JULIA newbie and running into a LoadError that is breaking a .jl file I am trying to run. The error I am getting is LoadError: syntax: invalid escape sequence and stating the code is breaking on line 32. Here is the code that it’s running. Do you guys have any ideas for me to get this running? I saw something about **Dir** but unsure how to use it. Thanks so much!

 ![Capture](https://global.discourse-cdn.com/julialang/original/3X/a/0/a0734df610f5c38a89d07f5c509b4fd26f63a9c7.jpeg)

---

<div class="post-metadata">

**Author:** ![awiden91](https://avatars.discourse-cdn.com/v4/letter/a/58956e/32.png) [@awiden91](https://discourse.julialang.org/u/awiden91)\
**Post date:** [January 3, 2020, 4:39pm UTC](https://discourse.julialang.org/t/running-into-a-loaderror-that-is-breaking-code/32932/2 "2020-01-03T16:39:08Z")

</div>

I am purposely using an older JULIA since this file was created many years ago and broke even more on the current version

---

<div class="post-metadata">

**Author:** ![jandehaan](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jandehaan/32/6805_2.png) [@jandehaan](https://discourse.julialang.org/u/jandehaan)\
**Post date:** [January 3, 2020, 5:07pm UTC](https://discourse.julialang.org/t/running-into-a-loaderror-that-is-breaking-code/32932/3 "2020-01-03T17:07:09Z")

</div>

try replacing each `\` character with `\\` inside the filename string

---

<div class="post-metadata">

**Author:** ![awiden91](https://avatars.discourse-cdn.com/v4/letter/a/58956e/32.png) [@awiden91](https://discourse.julialang.org/u/awiden91)\
**Post date:** [January 3, 2020, 5:11pm UTC](https://discourse.julialang.org/t/running-into-a-loaderror-that-is-breaking-code/32932/4 "2020-01-03T17:11:12Z")

</div>

Thank you for the response. It looked like adding a "" worked but now it’s throwing me another error (lol). It says LoadError: UndefVarError: i not defined

Would it be beneficial to see the whole code? Thanks again @jandehaan

---

<div class="post-metadata">

**Author:** ![Tamas\_Papp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tamas_papp/32/25949_2.png) [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Post date:** [January 4, 2020, 8:22am UTC](https://discourse.julialang.org/t/running-into-a-loaderror-that-is-breaking-code/32932/5 "2020-01-04T08:22:40Z")

</div>

Julia 0.4.7 is not old, it is ancient. The ecosystem changed a lot since then; if you insist on using this version then you will run into a lot of issues in various packages that have been fixed since, and it will be very difficult to get help.

I understand that is may not be an easy task, but I would recommend porting the code to Julia 1.x.
