# Error code wtih maslow.yaml

**URL:** <https://forums.maslowcnc.com/t/error-code-wtih-maslow-yaml/21440>\
**Category:** Troubleshooting\
**Created:** [June 8, 2024, 8:21pm UTC](https://forums.maslowcnc.com/t/error-code-wtih-maslow-yaml/21440 "2024-06-08T20:21:07Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![Russell\_Hatch](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/russell_hatch/32/24533_2.png) [@Russell\_Hatch](https://forums.maslowcnc.com/u/Russell_Hatch)\
**Post date:** [June 8, 2024, 8:21pm UTC](https://forums.maslowcnc.com/t/error-code-wtih-maslow-yaml/21440/1 "2024-06-08T20:21:07Z")

</div>

Hi all,

Going thru the set up process and I’m stalled on getting it calibrated. Keep getting fitness too low alerts. One thing that stands out as I go thru the log file is this:

“[MSG:ERR: Configuration file:maslow.yaml]”

I believe I have everything updated. Went thru that process twice. Any ideas?

Full startup serial log below. I can add log files fro my failed calibration attempts if that helps. Just trying to eliminate one issue at a time.

Thanks!  
-Russell

Serial Messages  
[MSG:INFO: Channel auto report interval set to 50 ms]  
[GC:G0 G54 G17 G21 G90 G94 M5 M9 T0 F0 S0]  
[MSG:INFO: FluidNC v0.75 (Maslow-Main-e2ef1bb2-dirty)]  
[MSG:INFO: Compiled with ESP32 SDK:v4.4.4]  
[MSG:INFO: Local filesystem type is littlefs]  
[MSG:ERR: Configuration file:maslow.yaml]  
[MSG:INFO: Machine Maslow S3 Board]  
[MSG:INFO: Board Maslow]  
[MSG:INFO: UART1 Tx:gpio.1 Rx:gpio.2 RTS:NO\_PIN Baud:115200]  
[MSG:INFO: SPI SCK:gpio.12 MOSI:gpio.11 MISO:gpio.13]  
[MSG:INFO: SD Card cs\_pin:gpio.10 detect:NO\_PIN freq:8000000]  
[MSG:INFO: Stepping:Timed Pulse:4us Dsbl Delay:0us Dir Delay:0us Idle Delay:240ms]  
[MSG:INFO: Axis count 3]  
[MSG:INFO: Axis X (-2438.400,0.000)]  
[MSG:INFO: Motor0]  
[MSG:INFO: Config messages ran]  
[MSG:INFO: Axis Y (-1219.200,0.000)]  
[MSG:INFO: Motor0]  
[MSG:INFO: Axis Z (-100.000,0.000)]  
[MSG:INFO: Motor0]  
[MSG:INFO: tmc\_2209 UART1 Addr:0 Step:gpio.15 Dir:gpio.16 Disable:NO\_PIN R:0.110]  
[MSG:INFO: Motor1]  
[MSG:INFO: tmc\_2209 UART1 Addr:1 Step:gpio.46 Dir:gpio.38 Disable:NO\_PIN R:0.110]  
[MSG:INFO: Z Axis driver test passed]  
[MSG:INFO: Z2 Axis driver test passed]  
[MSG:INFO: Kinematic system: Cartesian]  
[MSG:INFO: Using spindle NoSpindle]  
[MSG:INFO: Connecting to STA SSID:Hatchersons]  
[MSG:INFO: Connecting.]  
[MSG:INFO: Connecting…]  
[MSG:INFO: Connected - IP is 192.168.0.122]  
[MSG:INFO: WiFi on]  
[MSG:INFO: Start mDNS with hostname:[http://maslow.local/](http://maslow.local/)]  
[MSG:INFO: SSDP Started]  
[MSG:INFO: HTTP started on port 80]  
[MSG:INFO: Telnet started on port 23]  
[GC:G0 G54 G17 G21 G90 G94 M5 M9 T0 F0 S0]

---

<div class="post-metadata">

**Author:** ![dlang](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/dlang/32/859_2.png) [@dlang](https://forums.maslowcnc.com/u/dlang)\
**Post date:** [June 8, 2024, 8:51pm UTC](https://forums.maslowcnc.com/t/error-code-wtih-maslow-yaml/21440/2 "2024-06-08T20:51:17Z")

</div>

Russell Hatch wrote:

> Going thru the set up process and I’m stalled on getting it calibrated. Keep getting fitness too low alerts. One thing that stands out as I go thru the log file is this:
> 
> “[MSG:ERR: Configuration file:maslow.yaml]”

when you updated, did you update all three files (firmware, index and yaml?)

I think that as long as it’s complaining about the yaml file, you need to  
resolve that before worrying about anything else.

David Lang

---

<div class="post-metadata">

**Author:** ![Russell\_Hatch](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/russell_hatch/32/24533_2.png) [@Russell\_Hatch](https://forums.maslowcnc.com/u/Russell_Hatch)\
**Post date:** [June 8, 2024, 9:09pm UTC](https://forums.maslowcnc.com/t/error-code-wtih-maslow-yaml/21440/3 "2024-06-08T21:09:22Z")

</div>

Hey, I did upload all files. However I am unclear on whether I should have deleted the old index and yaml files first… I just uploaded the new versions expecting that it would overwrite the old.

---

<div class="post-metadata">

**Author:** ![Russell\_Hatch](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/russell_hatch/32/24533_2.png) [@Russell\_Hatch](https://forums.maslowcnc.com/u/Russell_Hatch)\
**Post date:** [June 8, 2024, 10:22pm UTC](https://forums.maslowcnc.com/t/error-code-wtih-maslow-yaml/21440/4 "2024-06-08T22:22:36Z")

</div>

I just went back to the previous week’s release (0.75). and the error code is now gone. I’ll update on the rest of the process when I have run some calibrations

---

<div class="post-metadata">

**Author:** ![Carson\_Barry](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/carson_barry/32/23367_2.png) [@Carson\_Barry](https://forums.maslowcnc.com/u/Carson_Barry)\
**Post date:** [June 8, 2024, 10:27pm UTC](https://forums.maslowcnc.com/t/error-code-wtih-maslow-yaml/21440/5 "2024-06-08T22:27:55Z")

</div>

It does overwrite automatically, but I’m also paranoid about that kind of thing, so I delete the files before uploading the new ones.

---

<div class="post-metadata">

**Author:** ![Russell\_Hatch](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/russell_hatch/32/24533_2.png) [@Russell\_Hatch](https://forums.maslowcnc.com/u/Russell_Hatch)\
**Post date:** [June 8, 2024, 10:53pm UTC](https://forums.maslowcnc.com/t/error-code-wtih-maslow-yaml/21440/6 "2024-06-08T22:53:40Z")

</div>

I’d assumed so but went through every way of uploading the current version I could come up with and got the same code.

If I get it fully calibrated on version .75 then I’ll make another go at .76

Thanks for the feedback all. Just glad to have resolved that err. message and on to the next step 🙂

---

<div class="post-metadata">

**Author:** ![dlang](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/dlang/32/859_2.png) [@dlang](https://forums.maslowcnc.com/u/dlang)\
**Post date:** [June 8, 2024, 11:40pm UTC](https://forums.maslowcnc.com/t/error-code-wtih-maslow-yaml/21440/7 "2024-06-08T23:40:08Z")

</div>

once you have a good calibration that you are happy with, you don’t need to do  
another when you upgrade, just record the anchor positions (the Maslow\_\*  
variables in the yaml file)

David Lang

---

<div class="post-metadata">

**Author:** ![James\_Presnail](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/james_presnail/32/22952_2.png) [@James\_Presnail](https://forums.maslowcnc.com/u/James_Presnail)\
**Post date:** [June 10, 2024, 3:38pm UTC](https://forums.maslowcnc.com/t/error-code-wtih-maslow-yaml/21440/8 "2024-06-10T15:38:48Z")

</div>

I got an error message about corrupt Yaml file or something last night in the terminal, so I decided to re-upload the fresh .76 version with my calibration numbers. The deleted file was 5375 bytes, And the fresh one is 3418 bytes. I’m just wondering what causes the file size to change? Obviously there is some writing going on? Just curious so I can better understand how the file might corrupt?

---

<div class="post-metadata">

**Author:** ![dlang](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/dlang/32/859_2.png) [@dlang](https://forums.maslowcnc.com/u/dlang)\
**Post date:** [June 10, 2024, 3:58pm UTC](https://forums.maslowcnc.com/t/error-code-wtih-maslow-yaml/21440/9 "2024-06-10T15:58:42Z")

</div>

there shouldn’t be anything else in there, that’s only supposed to be  
configuration.

David Lang

---

<div class="post-metadata">

**Author:** ![James\_Presnail](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/james_presnail/32/22952_2.png) [@James\_Presnail](https://forums.maslowcnc.com/u/James_Presnail)\
**Post date:** [June 10, 2024, 4:10pm UTC](https://forums.maslowcnc.com/t/error-code-wtih-maslow-yaml/21440/10 "2024-06-10T16:10:45Z")

</div>

Ok. So if the file size changes, Something is probably wrong…

---

<div class="post-metadata">

**Author:** ![dlang](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/dlang/32/859_2.png) [@dlang](https://forums.maslowcnc.com/u/dlang)\
**Post date:** [June 10, 2024, 4:29pm UTC](https://forums.maslowcnc.com/t/error-code-wtih-maslow-yaml/21440/11 "2024-06-10T16:29:36Z")

</div>

Yes, I would suggest that if it does change, save a copy before you replace it  
so we can see what happened.

We do know of a failure mode that will overwrite the file in a way that risks  
actually damaging the machine (the Z steppers get very hot), I think a fix for  
that is going in this week (if it didn’t get in last week)

anything else we need info to troubleshoot.

David Lang

---

<div class="post-metadata">

**Author:** ![md8n](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/md8n/32/28197_2.png) [@md8n](https://forums.maslowcnc.com/u/md8n)\
**Post date:** [June 10, 2024, 10:53pm UTC](https://forums.maslowcnc.com/t/error-code-wtih-maslow-yaml/21440/12 "2024-06-10T22:53:16Z")

</div>

This occurs because, as calibration is performed, a fresh ‘dump’ of the entire configuration is written back into the maslow.yaml file. This includes lots of FluidNC values which are not considered ‘important’ for the M4, but that are the ‘default’ for the corresponding setting in FluidNC.

It also occurs when you click ‘Save’ in the ‘Setup’/‘Config’ drop down.

---

<div class="post-metadata">

**Author:** ![md8n](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/md8n/32/28197_2.png) [@md8n](https://forums.maslowcnc.com/u/md8n)\
**Post date:** [June 10, 2024, 10:57pm UTC](https://forums.maslowcnc.com/t/error-code-wtih-maslow-yaml/21440/13 "2024-06-10T22:57:39Z")

</div>

> [@dlang](#):
>
> “[MSG:ERR: Configuration file:maslow.yaml]”

I’ve just reread the code - and that specific error message is my bad. It should be a `log_info` not a `log_config_error`.

I’ll get a PR in for it shortly.

---

<div class="post-metadata">

**Author:** ![md8n](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/md8n/32/28197_2.png) [@md8n](https://forums.maslowcnc.com/u/md8n)\
**Post date:** [June 10, 2024, 11:02pm UTC](https://forums.maslowcnc.com/t/error-code-wtih-maslow-yaml/21440/14 "2024-06-10T23:02:08Z")

</div>

@bar - here’s the :pr: [Fix `log_config_error` that should be `log_info` by md8n · Pull Request #137 · BarbourSmith/FluidNC (github.com)](https://github.com/BarbourSmith/FluidNC/pull/137)
