Cr10spro - Error "Bed Leveling not Enabled"

What is the problem?
Today i went to use my Cr10spro - i sent the print to my printer through my Octopi - which i have done many times before.

This time the printer heated up - homed and then Octoprint Cancelled the print saying that Bed leveling is not enabled.

I have the stock CR10spro sensor, but its not reliable so i do not have automatic bed leveling setup and I hand level the bed - I feel i get better results from doing that.

What did you already try to solve it?
I disconnected my octoprint and attempted to print the same file and it worked no issues and is currently printing.
I noticed the plugins were not fully up to date so i updated them tried again got the same error.

But the printer is currently printing via the SD card with my octoprint disconnected and i got no errors from the printer.

2020-06-15 06:54:23,810 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2020-06-15 06:54:23,818 - octoprint.server - INFO - --- Log roll over detected ---------------------------------------------------
2020-06-15 06:54:23,819 - octoprint.server - INFO - OctoPrint 1.4.0
2020-06-15 06:54:23,825 - octoprint.plugin.core - INFO - 35 plugin(s) registered with the system:
|  Action Command Prompt Support (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/action_command_prompt
|  Announcement Plugin (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/announcements
|  Anonymous Usage Tracking (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/tracking
|  Application Keys Plugin (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/appkeys
|  Backup & Restore (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/backup
|  Bed Visualizer (0.1.13) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_bedlevelvisualizer
|  BetterHeaterTimeout (1.2.0) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_BetterHeaterTimeout
|  Core Wizard (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/corewizard
|  Discovery (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/discovery
| !DisplayLayerProgress Plugin (1.20.0) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_DisplayLayerProgress
|  DisplayZ (0.1.0) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_displayz
|  EEPROM Marlin Editor Plugin (1.4) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_eeprom_marlin
|  Error Tracking (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/errortracking
|  Extra Distance Buttons (0.1.0) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_extradistance
|  Fan Speed Control (0.2.1) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_fanspeedslider
|  Firmware Updater (1.7.0) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_firmwareupdater
|  Fullscreen Plugin (0.0.5) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_fullscreen
|  ipOnConnect (0.2.3) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_ipOnConnect
|  Logging (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/logging
|  Login UI (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/loginui
|  M73 Progress Plugin (0.2.0) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_m73progress
|  Malyan/Monoprice Connection Fix (0.1.3) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_malyan_connection_fix
|  Navbar Temperature Plugin (0.14) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_navbartemp
|  OctoPod Plugin (0.2.6) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_octopod
|  Pi Support Plugin (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/pi_support
|  Plugin Manager (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/pluginmanager
|  Preheat Button (0.5.1) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_preheat
|  Printer Safety Check (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/printer_safety_check
|  Simple Emergency Stop (1.0.1) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_simpleemergencystop
|  Software Update (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/softwareupdate
|  Tab Order (0.5.7) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_taborder
| !Telegram Notifications (1.5.0) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_telegram
|  Terminal Commands (0.1.6) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_TerminalCommands
|  Themeify (1.2.2) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_themeify
|  Virtual Printer (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/virtual_printer
Prefix legend: ! = disabled, # = blacklisted, * = incompatible
2020-06-15 06:54:23,841 - octoprint.environment - INFO - Detected environment is Python 2.7.16 under Linux (linux2). Details:
|  hardware:
|      cores: 4
|      freq: 1500.0
|      ram: 1979613184
|  os:
|      id: linux
|      platform: linux2
|  plugins:
|      pi_support:
|          model: Raspberry Pi 4 Model B Rev 1.1
|          octopi_version: 0.17.0
|  python:
|      pip: 19.3.1
|      version: 2.7.16
|      virtualenv: /home/pi/oprint
2020-06-15 06:54:23,841 - octoprint.server - INFO - ------------------------------------------------------------------------------

2020-06-15 23:35:35,118 - octoprint.server.util.sockjs - INFO - New connection from client: ::ffff:192.168.1.90
2020-06-15 23:35:38,234 - octoprint.access.users - INFO - Cleaning up user session 40EF756FDFBF426FAE71A5405F17D450 for user _api
2020-06-15 23:35:38,235 - octoprint.access.users - INFO - Logged out user: _api
2020-06-15 23:35:38,238 - octoprint.access.users - INFO - Logged in user: ezpi
2020-06-15 23:35:38,241 - octoprint.server.api - INFO - Actively logging in user ezpi from ::ffff:192.168.1.90
2020-06-15 23:35:38,297 - octoprint.server.util.flask - INFO - Passively logging in user ezpi from ::ffff:192.168.1.90
2020-06-15 23:35:38,298 - octoprint.access.users - INFO - Logged in user: ezpi
2020-06-15 23:35:38,378 - octoprint.server.util.sockjs - INFO - Client connection closed: ::ffff:192.168.1.90
2020-06-15 23:35:40,013 - octoprint.server.util.sockjs - INFO - New connection from client: ::ffff:192.168.1.90
2020-06-15 23:35:40,131 - octoprint.server.util.flask - INFO - Passively logging in user ezpi from ::ffff:192.168.1.90
2020-06-15 23:35:40,132 - octoprint.access.users - INFO - Logged in user: ezpi
2020-06-15 23:35:43,076 - octoprint.plugins.announcements - INFO - Loaded channel _important from https://octoprint.org/feeds/important.xml in 0.46s
2020-06-15 23:35:43,648 - octoprint.plugins.announcements - INFO - Loaded channel _releases from https://octoprint.org/feeds/releases.xml in 0.48s
2020-06-15 23:35:44,529 - octoprint.plugins.announcements - INFO - Loaded channel _blog from https://octoprint.org/feeds/octoblog.xml in 0.46s
2020-06-15 23:35:45,006 - octoprint.plugins.announcements - INFO - Loaded channel _plugins from https://plugins.octoprint.org/feed.xml in 0.44s
2020-06-15 23:35:45,538 - octoprint.plugins.announcements - INFO - Loaded channel _octopi from https://octoprint.org/feeds/octopi.xml in 0.48s
2020-06-15 23:35:46,267 - octoprint.plugins.pluginmanager - INFO - Loaded plugin repository data from https://plugins.octoprint.org/plugins.json
2020-06-15 23:35:47,466 - octoprint.plugins.pluginmanager - INFO - Loaded plugin notices data from https://plugins.octoprint.org/notices.json
2020-06-15 23:35:48,593 - octoprint.plugins.softwareupdate - INFO - Saved version cache to disk
2020-06-15 23:35:48,712 - octoprint.server.util.sockjs - INFO - User ezpi logged in on the socket from client ::ffff:192.168.1.90
2020-06-15 23:35:56,044 - octoprint.util.comm - INFO - Changing monitoring state from "Offline" to "Opening serial port"
2020-06-15 23:35:56,050 - octoprint.util.comm - INFO - Changing monitoring state from "Opening serial port" to "Connecting"
2020-06-15 23:35:56,056 - octoprint.util.comm - INFO - M110 detected, setting current line number to 0
2020-06-15 23:35:56,952 - octoprint.util.comm - INFO - M110 detected, setting current line number to 0
2020-06-15 23:35:59,939 - octoprint.util.comm - INFO - M110 detected, setting current line number to 0
2020-06-15 23:35:59,944 - octoprint.util.comm - INFO - Changing monitoring state from "Connecting" to "Operational"
2020-06-15 23:35:59,971 - octoprint.util.comm - INFO - M110 detected, setting current line number to 0
2020-06-15 23:36:00,024 - octoprint.util.comm - INFO - Printer reports firmware name "Marlin 2.0.5_DW6.1 TM3D SSMDNB"
2020-06-15 23:36:00,037 - octoprint.util.comm - INFO - Firmware states that it supports temperature autoreporting
2020-06-15 23:36:00,056 - octoprint.util.comm - INFO - Firmware states that it supports emergency GCODEs to be sent without waiting for an acknowledgement first
2020-06-15 23:36:00,060 - octoprint.util.comm - INFO - Firmware states that it supports sd status autoreporting
2020-06-15 23:36:00,327 - octoprint.plugins.firmwareupdater - INFO - Got CONNECTED event
2020-06-15 23:36:00,329 - octoprint.plugins.firmwareupdater - INFO - Run postflash flag is not set
2020-06-15 23:36:00,786 - octoprint.plugins.tracking - INFO - Sent tracking event printer_connected, payload: {u'printer_baudrate': 250000, u'printer_port': u'/dev/ttyUSB0', 'firmware_name': u'Marlin 2.0.5_DW6.1 TM3D SSMDNB'}
2020-06-15 23:36:02,606 - octoprint.util.comm - INFO - Firmware states that it supports temperature autoreporting
2020-06-15 23:36:02,630 - octoprint.util.comm - INFO - Firmware states that it supports emergency GCODEs to be sent without waiting for an acknowledgement first
2020-06-15 23:36:02,637 - octoprint.util.comm - INFO - Firmware states that it supports sd status autoreporting
2020-06-15 23:36:09,508 - octoprint.filemanager.analysis - INFO - Starting analysis of local:drone.gcode
2020-06-15 23:36:09,515 - octoprint.filemanager.analysis - INFO - Invoking analysis command: /home/pi/oprint/bin/python2 -m octoprint analysis gcode --speed-x=6000 --speed-y=6000 --max-t=10 --throttle=0.0 --throttle-lines=100 /home/pi/.octoprint/uploads/drone.gcode
2020-06-15 23:36:20,853 - octoprint.filemanager.analysis - INFO - Analysis of entry local:drone.gcode finished, needed 11.35s
2020-06-15 23:36:22,676 - octoprint.printer.standard.job - INFO - Print job selected - origin: local, path: drone.gcode, owner: ezpi, user: ezpi
2020-06-15 23:36:22,691 - octoprint.util.comm - INFO - Changing monitoring state from "Operational" to "Starting"
2020-06-15 23:36:22,707 - octoprint.printer.standard.job - INFO - Print job started - origin: local, path: drone.gcode, owner: ezpi, user: ezpi
2020-06-15 23:36:22,794 - octoprint.util.comm - INFO - M110 detected, setting current line number to 0
2020-06-15 23:36:23,242 - octoprint.plugins.tracking - INFO - Sent tracking event print_started, payload: {'origin': u'local', 'file': 'c55588f221ef125d71f2329e884e2bb7b9483fb9'}
2020-06-15 23:36:24,841 - octoprint.util.comm - INFO - Printer seems to support the busy protocol, will adjust timeouts and set busy interval accordingly
2020-06-15 23:36:30,335 - octoprint.plugins.ipOnConnect - INFO - ipOnConnectPlugin: 192.168.1.162
2020-06-15 23:36:49,786 - octoprint.util.comm - INFO - Telling the printer to set the busy interval to our "communicationBusy" timeout - 1s = 2s
2020-06-15 23:36:49,804 - octoprint.util.comm - INFO - Changing monitoring state from "Starting" to "Printing"
2020-06-15 23:36:50,601 - octoprint.server.util.sockjs - INFO - New connection from client: ::ffff:192.168.1.136
2020-06-15 23:36:50,906 - octoprint.server.util.flask - INFO - Passively logging in user _api from ::ffff:192.168.1.136
2020-06-15 23:36:50,908 - octoprint.access.users - INFO - Logged in user: _api
2020-06-15 23:36:50,923 - octoprint.server.util.sockjs - INFO - User _api logged in on the socket from client ::ffff:192.168.1.136
2020-06-15 23:38:29,399 - octoprint.server.util.sockjs - INFO - Client connection closed: ::ffff:192.168.1.136
2020-06-15 23:39:24,007 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2020-06-15 23:39:29,750 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 1701937}
2020-06-15 23:41:02,779 - octoprint.util.comm - WARNING - Received an error from the printer's firmware: Failed to enable Bed Leveling
| Last lines in terminal:
| Recv: Not SD printing
| Recv: echo:busy: processing
| Recv: Not SD printing
| Recv:  T:200.07 /200.00 B:50.01 /50.00 @:65 B@:18
| Recv: Not SD printing
| Recv: echo:busy: processing
| Recv: Not SD printing
| Recv:  T:200.00 /200.00 B:50.00 /50.00 @:65 B@:24
| Recv: Not SD printing
| Recv: echo:busy: processing
| Recv: Not SD printing
| Recv:  T:200.49 /200.00 B:50.00 /50.00 @:53 B@:24
| Recv: Not SD printing
| Recv: echo:busy: processing
| Recv: Not SD printing
| Recv: X:177.00 Y:150.00 Z:5.00 E:0.00 Count X:14160 Y:12000 Z:2000
| Recv: ok N18 P7 B0
| Send: N22 G1 X10.1 Y20 Z0.28 F5000.0*22
| Recv: echo:Invalid mesh.
| Recv: Error:Failed to enable Bed Leveling
2020-06-15 23:41:02,784 - octoprint.util.comm - INFO - Changing monitoring state from "Printing" to "Cancelling"
2020-06-15 23:41:02,793 - octoprint.util.comm - INFO - Force-sending M108 to the printer
2020-06-15 23:41:02,795 - octoprint.util.comm - INFO - Force-sending M108 to the printer
2020-06-15 23:41:02,816 - octoprint.printer.standard.job - INFO - Print job cancelled - origin: local, path: drone.gcode, owner: ezpi, user: None
2020-06-15 23:41:03,343 - octoprint.plugins.tracking - INFO - Sent tracking event print_cancelled, payload: {'origin': u'local', 'file': 'c55588f221ef125d71f2329e884e2bb7b9483fb9', u'elapsed': 280}
2020-06-15 23:41:03,769 - octoprint.plugins.tracking - INFO - Sent tracking event print_failed, payload: {'origin': u'local', u'reason': u'cancelled', 'file': 'c55588f221ef125d71f2329e884e2bb7b9483fb9', u'elapsed': 280}
2020-06-15 23:41:05,916 - octoprint.util.comm - INFO - Changing monitoring state from "Cancelling" to "Operational"
2020-06-15 23:41:09,460 - octoprint.server.util.sockjs - INFO - New connection from client: ::ffff:192.168.1.136
2020-06-15 23:41:09,588 - octoprint.server.util.flask - INFO - Passively logging in user _api from ::ffff:192.168.1.136
2020-06-15 23:41:09,590 - octoprint.access.users - INFO - Logged in user: _api
2020-06-15 23:41:09,601 - octoprint.server.util.sockjs - INFO - Client connection closed: ::ffff:192.168.1.136
2020-06-15 23:41:50,251 - octoprint.server.util.sockjs - INFO - Client connection closed: ::ffff:192.168.1.90
2020-06-15 23:53:42,692 - octoprint.server.util.sockjs - INFO - New connection from client: ::ffff:192.168.1.136
2020-06-15 23:53:57,593 - octoprint.access.users - INFO - Logged in user: ezpi
2020-06-15 23:53:57,596 - octoprint.server.api - INFO - Actively logging in user ezpi from ::ffff:192.168.1.136
2020-06-15 23:53:57,647 - octoprint.server.util.flask - INFO - Passively logging in user ezpi from ::ffff:192.168.1.136
2020-06-15 23:53:57,648 - octoprint.access.users - INFO - Logged in user: ezpi
2020-06-15 23:53:57,713 - octoprint.server.util.sockjs - INFO - Client connection closed: ::ffff:192.168.1.136
2020-06-15 23:53:59,048 - octoprint.server.util.sockjs - INFO - New connection from client: ::ffff:192.168.1.136
2020-06-15 23:53:59,162 - octoprint.server.util.flask - INFO - Passively logging in user ezpi from ::ffff:192.168.1.136
2020-06-15 23:53:59,163 - octoprint.access.users - INFO - Logged in user: ezpi
2020-06-15 23:54:00,583 - octoprint.server.util.sockjs - INFO - User ezpi logged in on the socket from client ::ffff:192.168.1.136
2020-06-15 23:54:03,824 - octoprint.util.comm - INFO - Force-sending M876 to the printer
2020-06-15 23:54:09,123 - octoprint.util.comm - INFO - Changing monitoring state from "Operational" to "Starting"
2020-06-15 23:54:09,140 - octoprint.printer.standard.job - INFO - Print job started - origin: local, path: drone.gcode, owner: ezpi, user: ezpi
2020-06-15 23:54:09,224 - octoprint.util.comm - INFO - M110 detected, setting current line number to 0
2020-06-15 23:54:09,666 - octoprint.plugins.tracking - INFO - Sent tracking event print_started, payload: {'origin': u'local', 'file': 'c55588f221ef125d71f2329e884e2bb7b9483fb9'}
2020-06-15 23:54:24,008 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2020-06-15 23:54:24,851 - octoprint.util.comm - INFO - Changing monitoring state from "Starting" to "Printing"
2020-06-15 23:54:29,756 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 1702837}
2020-06-15 23:56:39,544 - octoprint.util.comm - WARNING - Received an error from the printer's firmware: Failed to enable Bed Leveling
| Last lines in terminal:
| Recv: Not SD printing
| Recv: echo:busy: processing
| Recv: Not SD printing
| Recv:  T:200.21 /200.00 B:50.01 /50.00 @:62 B@:19
| Recv: Not SD printing
| Recv: echo:busy: processing
| Recv: Not SD printing
| Recv:  T:200.00 /200.00 B:50.00 /50.00 @:65 B@:25
| Recv: Not SD printing
| Recv: echo:busy: processing
| Recv: Not SD printing
| Recv:  T:200.00 /200.00 B:50.00 /50.00 @:64 B@:25
| Recv: Not SD printing
| Recv: echo:busy: processing
| Recv: Not SD printing
| Recv: X:177.00 Y:150.00 Z:5.00 E:0.00 Count X:14160 Y:12000 Z:2000
| Recv: ok N17 P7 B1
| Send: N20 G1 Z2.0 F3000*41
| Recv: echo:Invalid mesh.
| Recv: Error:Failed to enable Bed Leveling
2020-06-15 23:56:39,550 - octoprint.util.comm - INFO - Changing monitoring state from "Printing" to "Cancelling"
2020-06-15 23:56:39,556 - octoprint.util.comm - INFO - Force-sending M108 to the printer
2020-06-15 23:56:39,566 - octoprint.util.comm - INFO - Force-sending M108 to the printer
2020-06-15 23:56:39,585 - octoprint.printer.standard.job - INFO - Print job cancelled - origin: local, path: drone.gcode, owner: ezpi, user: None
2020-06-15 23:56:40,159 - octoprint.plugins.tracking - INFO - Sent tracking event print_cancelled, payload: {'origin': u'local', 'file': 'c55588f221ef125d71f2329e884e2bb7b9483fb9', u'elapsed': 150}
2020-06-15 23:56:40,498 - octoprint.server.util.sockjs - INFO - Client connection closed: ::ffff:192.168.1.136
2020-06-15 23:56:40,599 - octoprint.plugins.tracking - INFO - Sent tracking event print_failed, payload: {'origin': u'local', u'reason': u'cancelled', 'file': 'c55588f221ef125d71f2329e884e2bb7b9483fb9', u'elapsed': 150}
2020-06-15 23:56:42,754 - octoprint.util.comm - INFO - Changing monitoring state from "Cancelling" to "Operational"
2020-06-15 23:56:44,500 - octoprint.server.util.sockjs - INFO - New connection from client: ::ffff:192.168.1.136

Octoprint Version 1.4.0
Octopi Version 0.17.0, running on Raspberry Pi 4 Model B Rev 1.1

running off a Macbook pro with Catalina. I have had no issues running my printer off this octoprint prior to today.

No. YOUR FIRMWARE said bed leveling is not enabled, reported that as an error, so OctoPrint cancelled the print as a consequence. You need to fix your firmware.

1 Like

I assume if you do an M503 there is no Bed Leveling saved in eeprom, and then then the gcode sent to printer is doing an M420?

Did you perhaps flash firmware, restore default settings or add an M420 to you start gcode recently?

But I have been using the current settings for three months no issue. Actually- I turned off and on my OctoPrint last night and it worked again no issue

That's all fine and dandy, but it doesn't change the fact that this error got reported by your firmware. It would also get reported with whatever other host software you connect to your printer and there is nothing that OctoPrint could do to intentionally make your printer report this.

| Send: N22 G1 X10.1 Y20 Z0.28 F5000.0*22
| Recv: echo:Invalid mesh.
| Recv: Error:Failed to enable Bed Leveling

See the Recv in front there? That means "received". As in, this got sent from your printer to OctoPrint. Nothing OctoPrint can do about it.

Hey there.

I seem to be having the same issue as this user. I have an JGAurora A5 running Marlin 1.1.8 and Octoprint running on a Raspberry Pi B, fresh install no plugs or modifications.

I did 3 consecutive prints with no faults, removed the 3rd print and selected to print a 4th object and received the same issue, no reboot inbetween, no settings changed, no power downs, straight from one print to another.

I powered off my printer for a while, shut down and powered off my pi. and the issue persists. Try the same print from my PC and it works fine.

Send: N9 G2826
...
Send: N10 M420 S1 : Bed Mesh Enable
61
Recv: Error:Failed to enable Bed Leveling
Changing monitoring state from "Printing" to "Error: Failed to enable Bed Leveling"

Firstly I don't know why the issue begins between prints but secondly, to be more direct;
My printer doesn't have Bed Mesh leveling. (currently)
How can I disable octoprint from sending the M420 command? G28 is sufficient enough for me.

Thanks for your reply.

I have found the issue I was encountering. It seems that when using my slicer application I accidentally chose a different printer profile and the M420 command was part of the start script in that profile.

I recommend anyone else having this issue, whose printer doesn't support Mesh Leveling, look over the Gcode scripts in their FFF profile and ensure M420 isn't part of those scripts.