Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some general errors, and question about commands. #13

Open
DdraigX opened this issue Jun 7, 2020 · 0 comments
Open

Some general errors, and question about commands. #13

DdraigX opened this issue Jun 7, 2020 · 0 comments

Comments

@DdraigX
Copy link

DdraigX commented Jun 7, 2020

So I was able to get this installed/working.

When I went to do my test print it worked perfectly although it did throw an error.

./octocmd print CE3_usb_isolator2_only_data.gcode
Could not find openscad
Could not find cura
[Sun Jun  7 01:22:56 2020 octocmd] selecting, printing CE3_usb_isolator2_only_data.gcode on OctoPrint
Traceback (most recent call last):
  File "./octocmd", line 504, in <module>
    process(args)
  File "./octocmd", line 497, in process
    process_target(args)
  File "./octocmd", line 489, in process_target
    pipe.transform(infn, targetfn)
  File "./octocmd", line 109, in transform
    self.run_pipeline(pipeline, **kw)
  File "./octocmd", line 99, in run_pipeline
    method(inputfn, outputfn, **kw)
  File "./octocmd", line 341, in transform_gcode_to_print
    self.transform(inputfn, outputfn, **kw)
  File "./octocmd", line 135, in transform
    return self.stale(inputfn, outputfn)
  File "./octocmd", line 272, in stale
    stale = os.path.getmtime(inputfn) > file_info["date"]
  File "/usr/lib/python2.7/genericpath.py", line 62, in getmtime
    return os.stat(filename).st_mtime
OSError: [Errno 2] No such file or directory: 'CE3_usb_isolator2_only_data.gcode'

My subsequent question , is there a way to cancel a print or pause a print from command line?

If not (I don't know python very well) could someone help me figure out where to insert the commands into the code?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant