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

Gcode corrupt #16

Open
mmichon opened this issue Nov 21, 2018 · 3 comments
Open

Gcode corrupt #16

mmichon opened this issue Nov 21, 2018 · 3 comments
Assignees

Comments

@mmichon
Copy link

mmichon commented Nov 21, 2018

screen shot 2018-11-20 at 4 54 48 pm

After uploading gcode (from either Mattercontrol or Cora), hitting Start Print results in the attached repeated "Unknown Command" output streaming out pretty fast (10+ lines per second in chunks). When uploading the same gcode, not hitting Start Print, but using the jog dial's Print menu to select the file and print, it works fine.

I tried issuing changing webui.html:sendCmd('M563 S6', 'Enable faster Wi-Fi file uploads'); to M563 S6 but that didn't do anything. I see that the Start Print button calls source/webui.mis.js:start_p() -- do I have to upload the dependent javascript files in addition to webui.html?

I have a V1 BTW (unless Monoprice sent me a V2).

@mmichon
Copy link
Author

mmichon commented Nov 21, 2018

There's a workaround:

  1. Upload your gcode file.
  2. After upload, refresh the page.
  3. Refresh the SD card list.
  4. Set your temperatures.
  5. Hit print on the file you want.

@joeycortez42
Copy link
Owner

Sorry, just seeing this today!

So you uploaded gcode from an application then hit "Print" in the WebUI right? If that is the case then it will cause an issue. The Print button send a gcode command that is actually "print selected file" if nothing is "selected" on the printer or "recent" then I can see why it freaks out.

@mmichon
Copy link
Author

mmichon commented Dec 18, 2018

The behavior I'm noticing now is that the upload gets stuck at 100% and then requires a refresh. After refresh, I can hit the print icon next to the file I just uploaded and it works correctly, or I can hit Start Print which results in the above behavior.

Seems like a couple bugs:

  1. Start Print shouldn't be enabled without a file selected.
  2. Progress indicator shouldn't get stuck and require a page reload.

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

No branches or pull requests

2 participants