Stephan3 / dwc2-for-klipper

A translator between DWC2 and Klipper
GNU General Public License v3.0
160 stars 38 forks source link

After installation I have errors in log file #60

Closed Kotletowsky closed 4 years ago

Kotletowsky commented 4 years ago

err And I can't start dwc. Webmenu is loaded, but still blinking. And get message: o.temps.state is undefined

Stephan3 commented 4 years ago

Please try to read the text of the error message, thanks.

Kotletowsky commented 4 years ago

But I have value in z_offset. I had DWC2 working before new installation, printer.cfg it's the same

Stephan3 commented 4 years ago

The config parser is telling a different story. This has nothing to do with dwc.

Kotletowsky commented 4 years ago

I change offser from -1 to 0 and it's work. But there is anoter problem. I want to execute firmware_restart from console and I get: JSON.parse: unexpected non-whitespace character after JSON data at line 1 column 22 of the JSON data

Stephan3 commented 4 years ago

provide the log. cant answer to that

Kotletowsky commented 4 years ago

klippy.log still getting json parse errors

rafaljot commented 4 years ago

and config, pls.

rafaljot commented 4 years ago

You need to clean up the config. The last section [gcode_macro end_g] is mixed up with [web_dwc2], [virtual_sdcard] etc.

Remove all characters after last section like ====== etc You may have corrupted data after #*# <---------------------- SAVE_CONFIG ----------------------> So remove lines and calibrate printer again

Kotletowsky commented 4 years ago

json problems moved to another topoic