Skip to content

Upload G-Code button does not work #730

Description

@knipknap

Description

I cannot get the "Upload G-Code" button to work. I had previously used CNCjs and it worked fine, but after a reboot I cannot get it to work anymore.
I even installed Raspian fresh from the official image, with a fresh version of CNCjs according to these instructions as far as possible (they are outdated; mostly just skipped YARN installation and installed nodejs 14 instead of 7), to no avail, the same result.

In the Chrome debugger I see no errors in the Javascript console, and no attempt of making a network request when I push the button.

CNCjs is correctly connected to my CNC via GRBL, and the control buttons in CNCjs work fine. I just cannot upload any GCode anymore.

Versions

  • CNCjs: 1.9.23
  • Node.js: 14.18.2
  • NPM: 8.3.0

How Do You Install CNCjs?

  • NPM
  • Download the CNCjs Desktop Application

CNC Controller

  • Grbl
  • Smoothieware
  • TinyG/g2core

Hardware

  • Raspberry Pi
  • Desktop or Laptop
  • Mobile Device

Operating System

  • [] Not Applicable
  • Windows
  • Mac
  • Linux

Activity

  1. MitchBradley commented on Dec 13, 2021

    @MitchBradley
    Contributor
  2. knipknap commented on Dec 13, 2021

    @knipknap
    Author

    Thanks for the response!
    I just reinstalled based on Nodejs 10 (I didn't see any other differences to the previously used instructions, btw.), but the result is the same, the button still doesn't work.

  3. knipknap commented on Dec 13, 2021

    @knipknap
    Author

    In addition, I now tried the Docker container from here:

    https://hub.docker.com/r/davidhamm/cncjs

    WIth the same result (this is also running 1.9.23, not 1.9.20 as the docs of the image says).
    So I am stumped what might cause this issue.

  4. MitchBradley commented on Dec 13, 2021

    @MitchBradley
    Contributor

    Run the cncjs server from the command line with -v and see if any of the logging messages shed a clue.

  5. knipknap commented on Dec 13, 2021

    @knipknap
    Author

    There is no error message. However, I found out that I can add 3D models by dragging them to the canvas. So I guess it's just a UI bug that the button doesn't work.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions