# Unexpected GC close

**URL:** <https://forums.maslowcnc.com/t/unexpected-gc-close/8852>\
**Category:** Ground Control\
**Created:** [February 20, 2019, 11:31am UTC](https://forums.maslowcnc.com/t/unexpected-gc-close/8852 "2019-02-20T11:31:18Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Martins\_Berzinskis](https://avatars.discourse-cdn.com/v4/letter/m/5daacb/32.png) [@Martins\_Berzinskis](https://forums.maslowcnc.com/u/Martins_Berzinskis)\
**Post date:** [February 20, 2019, 11:31am UTC](https://forums.maslowcnc.com/t/unexpected-gc-close/8852/1 "2019-02-20T11:31:18Z")

</div>

Hi. When i want to open new nc file in gc, after selecting file it automatically closes GC software. Trying it on other file, all is ok, and gc reads file and stays open.[virsma.nc](https://canada1.discourse-cdn.com/flex031/uploads/maslowcnc/original/2X/6/67feb3ba7357a12861347a5a99568f8a1fd783e3.nc) (877 Bytes)

---

<div class="post-metadata">

**Author:** ![Gero](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/gero/32/17487_2.png) [@Gero](https://forums.maslowcnc.com/u/Gero)\
**Post date:** [February 20, 2019, 11:36am UTC](https://forums.maslowcnc.com/t/unexpected-gc-close/8852/2 "2019-02-20T11:36:23Z")

</div>

Did you try if it opens the file if you take the lines with the ‘brackets’ () out, with a txt editor?

---

<div class="post-metadata">

**Author:** ![Martins\_Berzinskis](https://avatars.discourse-cdn.com/v4/letter/m/5daacb/32.png) [@Martins\_Berzinskis](https://forums.maslowcnc.com/u/Martins_Berzinskis)\
**Post date:** [February 20, 2019, 11:36am UTC](https://forums.maslowcnc.com/t/unexpected-gc-close/8852/3 "2019-02-20T11:36:58Z")

</div>

no change

---

<div class="post-metadata">

**Author:** ![Gero](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/gero/32/17487_2.png) [@Gero](https://forums.maslowcnc.com/u/Gero)\
**Post date:** [February 20, 2019, 12:10pm UTC](https://forums.maslowcnc.com/t/unexpected-gc-close/8852/4 "2019-02-20T12:10:08Z")

</div>

That’s strange, i will have to wait till i get home to test the file with GC.  
Is that file in the same path/folder as the others that work?  
What version are you running?

---

<div class="post-metadata">

**Author:** ![Martins\_Berzinskis](https://avatars.discourse-cdn.com/v4/letter/m/5daacb/32.png) [@Martins\_Berzinskis](https://forums.maslowcnc.com/u/Martins_Berzinskis)\
**Post date:** [February 20, 2019, 12:11pm UTC](https://forums.maslowcnc.com/t/unexpected-gc-close/8852/5 "2019-02-20T12:11:56Z")

</div>

its other subdirectory. all running 1.25. now i try to generate gcode with other cam soft

---

<div class="post-metadata">

**Author:** ![Gero](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/gero/32/17487_2.png) [@Gero](https://forums.maslowcnc.com/u/Gero)\
**Post date:** [February 20, 2019, 12:27pm UTC](https://forums.maslowcnc.com/t/unexpected-gc-close/8852/6 "2019-02-20T12:27:06Z")

</div>

I remember a similar case with ‘special characters’ in the path or folder name.  
The g-code looks ok in a txt editor, so should not crsh GC. Will know in a about 2 hours.

---

<div class="post-metadata">

**Author:** ![Martins\_Berzinskis](https://avatars.discourse-cdn.com/v4/letter/m/5daacb/32.png) [@Martins\_Berzinskis](https://forums.maslowcnc.com/u/Martins_Berzinskis)\
**Post date:** [February 20, 2019, 12:28pm UTC](https://forums.maslowcnc.com/t/unexpected-gc-close/8852/7 "2019-02-20T12:28:12Z")

</div>

ok tnx

---

<div class="post-metadata">

**Author:** ![Martins\_Berzinskis](https://avatars.discourse-cdn.com/v4/letter/m/5daacb/32.png) [@Martins\_Berzinskis](https://forums.maslowcnc.com/u/Martins_Berzinskis)\
**Post date:** [February 20, 2019, 12:36pm UTC](https://forums.maslowcnc.com/t/unexpected-gc-close/8852/8 "2019-02-20T12:36:54Z")

</div>

problem solved. That was true with special symbols in path to file
