open_project shell command

Issue #223 resolved
AlFe created an issue

Hi

When doing:

open_project <path-to>/project.filename

I get a response:

> open_project <path-to>/project.filename

Project saved to: <path-to>/project.filename

which overwrites the existing file, that was supposed to be opened, with the current one. If invoked from a command line with: * python ./FlatCAM.py --shellfile=<path-to>/project.script*

same thing happens, but since there is no current project loaded, the file requested for opening gets destroyed.

I am running version 8.5 (2016/07):

uname -a

Linux desk 4.4.0-36-generic #55-Ubuntu SMP Thu Aug 11 18:01:55 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

Comments (4)

  1. Juan Pablo Caram repo owner

    Confirmed in development, increasing priority.

    @flattire did you download the release or the development version?

  2. AlFe reporter

    Hi jpcgt

    I used the master branch git-ted from the repository. Git gives me:

    Author: jpcgt <jpcaram@gmail.com>  2016-11-15 17:41:00
    Committer: jpcgt <jpcaram@gmail.com>  2016-11-15 17:41:00
    Parent: 546d2aacf0936b258ebd082d778f6e20f6b0b403 (Fixes in millcncjob command and progress towards #218.)
    Parent: c99a0ece9a397ed2a69c0fb29e2565d3ebe3c6c4 (Added svg.path to requirements.txt)
    Branches: master, remotes/origin/master
    

    Just checked the new commit. 'open_project' works properly now.

    I take the opportunity to thank you for this wonderful project. It does everything I need.

    Thanks!

  3. Juan Pablo Caram repo owner

    @flattire , I tested the 8.5 release (.zip file) and I don't see the problem there. Would you be so king to try that one and confirm that 8.5 does not have this problem? It would prevent me from creating 8.6 in a hurry. Thanks.

  4. Log in to comment