# Mainsail Klipper error

**URL:** <https://klipper.discourse.group/t/mainsail-klipper-error/4915>\
**Category:** General Discussion\
**Created:** [November 12, 2022, 11:32pm UTC](https://klipper.discourse.group/t/mainsail-klipper-error/4915 "2022-11-12T23:32:11Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![lcotte3rd](https://avatars.discourse-cdn.com/v4/letter/l/a5b964/32.png) [@lcotte3rd](https://klipper.discourse.group/u/lcotte3rd)\
**Post date:** [November 12, 2022, 11:32pm UTC](https://klipper.discourse.group/t/mainsail-klipper-error/4915/1 "2022-11-12T23:32:12Z")

</div>

### Basic Information:

Printer Model: Ender 3v2  
 MCU / Printerboard: 4.2.2  
 `klippy.log`  
[klippy.log](https://klipper.discourse.group/uploads/short-url/kTblJbbYDI7ua9w7ZcO0Zt5df9P.log) (53.9 KB)

_Fill out above information and in all cases attach your_ `klippy.log` _file. Pasting your_ `printer.cfg` _is **not** needed_

### Describe your issue: New to Klipper, I set up the bin file and connected my PI to my printer and I keep getting this error: Option ‘max\_temp’ in section ‘heater\_bed’ must be specified. The config file has the correct default bed setting of 130 which I’m assuming bis correct. I don’t know what to do.

---

<div class="post-metadata">

**Author:** ![jrobbom5](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/jrobbom5/32/3187_2.png) [@jrobbom5](https://klipper.discourse.group/u/jrobbom5)\
**Post date:** [November 13, 2022, 12:30am UTC](https://klipper.discourse.group/t/mainsail-klipper-error/4915/2 "2022-11-13T00:30:38Z")

</div>

Where did you get that config file from? I’ve never seen a config file that uses ‘=’ to assign attributes in the config file before. I don’t know if that’s the error or not, however it’s the only thing I can see that doesn’t look right, and the error in the log file is that klipper is throwing an exception while reading and parsing the config file, so that would be consistent.

So, instead of doing “max\_temp = 130”, try doing “max\_temp: 130” and see if that fixes the problem

---

<div class="post-metadata">

**Author:** ![lcotte3rd](https://avatars.discourse-cdn.com/v4/letter/l/a5b964/32.png) [@lcotte3rd](https://klipper.discourse.group/u/lcotte3rd)\
**Post date:** [November 13, 2022, 2:28am UTC](https://klipper.discourse.group/t/mainsail-klipper-error/4915/3 "2022-11-13T02:28:17Z")

</div>

The file is the klippy.log which adds = to all the settings the actual printer config file there is no = see image.

 ![image](https://global.discourse-cdn.com/free1/uploads/klipper/original/2X/9/9e9724085e56f6c11ac3d90c691b1e1aab6aad49.jpeg)

---

<div class="post-metadata">

**Author:** ![jrobbom5](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/jrobbom5/32/3187_2.png) [@jrobbom5](https://klipper.discourse.group/u/jrobbom5)\
**Post date:** [November 13, 2022, 3:11am UTC](https://klipper.discourse.group/t/mainsail-klipper-error/4915/4 "2022-11-13T03:11:56Z")

</div>

My mistake, sorry about that

---

<div class="post-metadata">

**Author:** ![Sineos](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/sineos/32/18_2.png) [@Sineos](https://klipper.discourse.group/u/Sineos)\
**Post date:** [November 13, 2022, 7:34am UTC](https://klipper.discourse.group/t/mainsail-klipper-error/4915/6 "2022-11-13T07:34:44Z")

</div>

Please attach your original `printer.cfg`

---

<div class="post-metadata">

**Author:** ![lcotte3rd](https://avatars.discourse-cdn.com/v4/letter/l/a5b964/32.png) [@lcotte3rd](https://klipper.discourse.group/u/lcotte3rd)\
**Post date:** [November 13, 2022, 4:21pm UTC](https://klipper.discourse.group/t/mainsail-klipper-error/4915/7 "2022-11-13T16:21:59Z")

</div>

[printer.cfg](https://klipper.discourse.group/uploads/short-url/qxaYzclw7a1VkD8YWmtRWfbWl6F.cfg) (2.0 KB)

---

<div class="post-metadata">

**Author:** ![Sineos](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/sineos/32/18_2.png) [@Sineos](https://klipper.discourse.group/u/Sineos)\
**Post date:** [November 13, 2022, 4:28pm UTC](https://klipper.discourse.group/t/mainsail-klipper-error/4915/8 "2022-11-13T16:28:03Z")

</div>

![image](https://global.discourse-cdn.com/free1/uploads/klipper/original/2X/0/0ce2b8c38138bc3602790fb87973cd6f3553ce5e.png)

Typo in your config

---

<div class="post-metadata">

**Author:** ![lcotte3rd](https://avatars.discourse-cdn.com/v4/letter/l/a5b964/32.png) [@lcotte3rd](https://klipper.discourse.group/u/lcotte3rd)\
**Post date:** [November 13, 2022, 4:48pm UTC](https://klipper.discourse.group/t/mainsail-klipper-error/4915/9 "2022-11-13T16:48:24Z")

</div>

Thanks so much, don’t know how I missed that!!

---

<div class="post-metadata">

**Author:** ![EddyMI3D](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/eddymi3d/32/1981_2.png) [@EddyMI3D](https://klipper.discourse.group/u/EddyMI3D)\
**Post date:** [June 12, 2024, 10:31am UTC](https://klipper.discourse.group/t/mainsail-klipper-error/4915/10 "2024-06-12T10:31:41Z")

</div>


