-
-
Notifications
You must be signed in to change notification settings - Fork 19.5k
update mc-apply.py #27628
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
update mc-apply.py #27628
Conversation
I updated the config dump so it has file groupings as expected by |
Co-authored-by: Scott Lahteine <[email protected]>
I still cant this to work.
Very strange error. Looks like it did actually find and open the file so thats progress, but bombs out at the first KV pair entry. Unless Im doing something wrong? |
Seems like it goes to make a backup of the header file/s but the filename passed is a key so it looks for a file with the first key name and cant do it. I dont actually see where it gets the Configuration.h or Configuration_adv.h names from, unless its assuming they are in the buildroot folder? But really it looks like its expecting them to be in the config json. My json extracted from the printer is flat. Im so confused by how this is supposed to work. |
@Ferrograph: You're using a version of Marlin from before this PR. Update to the latest This Issue Queue is for Marlin bug reports and development-related issues, and we prefer not to handle user-support questions here. (As noted on this page.) For best results getting help with configuration and troubleshooting, please use the following resources:
|
I did update to the latest bugfix-2.1.x code base. Do I need to run "M503 C" on a printer that has the later firmware from Marlin firmware service? I thought only the mc-apply script had been updated? |
The output you pasted says otherwise.
That is a third-party service and is unrelated to this project. Use Marlin from here (this repo) or download it from marlinfw.org. Please use the links in my last reply for additional help. |
Description
mc-apply.py
no longer works with currentCONFIG_EXPORT
type 1re wrote almost all of it from scratch so now it works.
Added help and documentation
extended to take a path to the input file on command line, but defaults to still looking for
marlin_config.json
in the current working directoryRequirements
use
mc-apply.py
Benefits
Configuration.h
andConfiguration_adv.h
Related Issues