jneilliii / OctoPrint-BedLevelVisualizer

MIT License
372 stars 82 forks source link

0.1.12 Update Broke Bed Visualizer Mesh Collection #195

Closed T0ut4t1s closed 4 years ago

T0ut4t1s commented 4 years ago

Since the most recent update my CR10 V2 bed update information does not feed through and the Bed Visualizer plugin cites a timeout shortly after issuing the command. Please can you help me correct this?

Current configuration is:

G28 G29 T

Have also tried the following with now luck:

G28 @BEDLEVELVISUALIZER G29 T

I'm using Marlin firmware.

mnessenz commented 4 years ago

On my Ender3 the leveling runs through normally but at the end of the process i get a timeout and the the gathered information is lost.

jneilliii commented 4 years ago

Please enable debug logging, restart octoprint, try the process and then check the log for errors or upload here.

brendanstennett commented 4 years ago

+1

Firmware: Marlin TH3D U1.R2.A7 Printer: Ender 3 Plugin Version: 0.1.12

Commands:

G28
@BEDLEVELVISUALIZER
G29 T

Log Output:

[2020-03-15 16:39:43,793] DEBUG: mesh collection started
[2020-03-15 16:39:45,801] DEBUG: echo:busy: processing
[2020-03-15 16:39:47,800] DEBUG: echo:busy: processing
[2020-03-15 16:39:49,800] DEBUG: echo:busy: processing
[2020-03-15 16:39:51,800] DEBUG: echo:busy: processing
[2020-03-15 16:39:53,800] DEBUG: echo:busy: processing
[2020-03-15 16:39:55,801] DEBUG: echo:busy: processing
[2020-03-15 16:39:57,801] DEBUG: echo:busy: processing
[2020-03-15 16:39:59,802] DEBUG: echo:busy: processing
[2020-03-15 16:40:01,800] DEBUG: echo:busy: processing
[2020-03-15 16:40:03,804] DEBUG: echo:busy: processing
[2020-03-15 16:40:04,983] DEBUG: Canceling mesh collection per user request
[2020-03-15 16:40:04,983] DEBUG: Mesh data collected prior to cancel:
[2020-03-15 16:40:04,984] DEBUG: []
[2020-03-15 16:40:04,984] DEBUG: Mesh data after clearing:
[2020-03-15 16:40:04,984] DEBUG: []

Steps to reproduce:

  1. Click "Update Mesh"
    • Screen turns to "Mesh Updating" display with spinner
    • Printer starts the probing
    • Shortly after, and at about probe 4/9, the spinner stops and the screen returns back to "Update Mesh" button
    • After probe finishes, no display shows and clicking "Update Mesh" again starts the process all over again.
jneilliii commented 4 years ago

Is your timeout value large enough?

brendanstennett commented 4 years ago

@jneilliii That was the issue. Timeout of 60 seconds was too short.

Thanks.

jneilliii commented 4 years ago

Thanks @brendanstennett, what about you @sinuehT and @Mitnichten, is it a similar issue and you just need to increase the timeout?

phil303 commented 4 years ago

As another data point to the above discussion, I'm having the issue where the plugin is not doing the visualizing after the printer has run through the commands. I'm running an Ender 3 pro, Marlin 2.0.4.3, BLTouch 3.1, and tested this with both:

G28
G29 T

and

G28
@BEDLEVELVISUALIZER
G29 T

with a 1 minute timeout and a 5 minute timeout. In the 5 minute timeout case, the commands finish but the spinner keeps spinning for the entire five minutes before going back to the "Update Mesh Now" button (but no visualization).

When I check the terminal I see the ABL output but the plugin doesn't seem to be picking up on it.

Thanks for your work on this plugin @jneilliii. I'm excited to get this working.

jneilliii commented 4 years ago

Please enable debug logging, restart octoprint, try the process and then check the log for errors or upload here. The filename will be plugin_bedlevelvisualizer_debug.log.

phil303 commented 4 years ago

@jneilliii Not sure what changed but after I enabled debug logging and restarted Octoprint, it started working for me. From what I can tell there are no errors from that run. I turned off debug logging, restarted, and ran again to test if it was related to that but it still works.

In any case, thanks for your help!

mnessenz commented 4 years ago

edit 3.4.20: newest version fixed everything for me (thanks)

fleischtorte commented 4 years ago

Hi, same Problem with Marlin 2.0.2 on two machines with SKR 1.0.3. With the previous it was working fine, changing the timout value has no effect :(

fleischtorte commented 4 years ago

Hi, same Problem with Marlin 2.0.2 on two machines with SKR 1.0.3. With the previous it was working fine, changing the timout value has no effect :(

Update: It works with following settings : G28 M155 S120 @BEDLEVELVISUALIZER G29 T M155 S3

jneilliii commented 4 years ago

Anyway is there a way to fix this or just a way to get the old version back?

You can always install a previous version by manually using the URL from the releases page in Plugin Manager. Find the version you want to go back to, under assets, right-click the link for source code (zip) and select copy hyperlink (or similar) and paste that into the URL field of Plugin Manager.

jneilliii commented 4 years ago

@Mitnichten, also aside from downgrading to the previous version, you could enable debug logging, restart octoprint, try the process again and provide the logs I've asked for.

mnessenz commented 4 years ago

@Mitnichten, also aside from downgrading to the previous version, you could enable debug logging, restart octoprint, try the process again and provide the logs I've asked for.

Oops my bad, kinda new to this. How do i get the logs when i enabled the option? There is nothing in the stored data tab if that's where it would be.

jneilliii commented 4 years ago

Once you enable the option, restart octoprint, then in the logging section of OctoPrint's settings grab the file octoprint.log and plugin_bedlevelvisualizer_debug.log and you should be able to drag them into the Write area of your next comment here to upload and link. You'll want to look through your octoprint.log for any personal information that you don't want to disclose to the world, if any.

T0ut4t1s commented 4 years ago

Please find my log files below.

I increased the timeout (to 300sec) and also enabled logging and restarted but no dice. Also the log file below says I cancelled, but I didn't touch it.

Any help would be greatly appreciated!

octoprint-2.log plugin_bedlevelvisualizer_debug-2.log

jneilliii commented 4 years ago

Thanks @sinuehT, the log doesn't indicate that collection starts but seems to immediately go into a canceled state, which typically means the button was pressed while it was processing. Can you do me a favor and verify your timeout is set to a high number, ie 300 and enable debug logging is checked in the plugin's settings. Reboot your whole pi from the system menu. Force refresh your browser (shift+f5 or ctrl+f5 depending on browser) to make sure there isn't any lingering stuff in cache. And then try the process again.

T0ut4t1s commented 4 years ago

I’m not sure what changed as I thought I’d done the same before, but this worked. I did the following:

And it worked.

Thank you!

On 16 Mar 2020, at 20:46, jneilliii notifications@github.com wrote:

Thanks @sinuehT https://github.com/sinuehT, the log doesn't indicate that collection starts but seems to immediately go into a canceled state, which typically means the button was pressed while it was processing. Can you do me a favor and verify your timeout is set to a high number, ie 300 and enable debug logging is checked in the plugin's settings. Restart your whole pi from the system menu. Force refresh your browser (shift+f5 or ctrl+f5 depending on browser) to make sure there isn't any lingering stuff in cache. And then try the process again.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/jneilliii/OctoPrint-BedLevelVisualizer/issues/195#issuecomment-599750786, or unsubscribe https://github.com/notifications/unsubscribe-auth/AG6TPPJTXE46N3ZH4577OLDRH2F3HANCNFSM4LLADD7Q.

bonoboxita commented 4 years ago

Same for me...not updating the data

jneilliii commented 4 years ago

@bonoboxita, have you tried the steps listed above that have fixed this for others? If not, follow the steps above and provide logs, otherwise I can't help you.

bonoboxita commented 4 years ago

yes...it's not updating. Now by magic i have an updated mesh of this afternoon but it's not updating with the one i'm doing now. Also using G28 M155 S120 @BEDLEVELVISUALIZER G29 T M155 S3

any plan to fix the plugins?

jneilliii commented 4 years ago

Well, it's hard for me to fix if you don't provide any logs or details other than what you have put above for what you have in settings. For example, what is your timeout setting? Have you enabled debug logging and restarted octoprint and uploaded the log files I mentioned before in this thread? I can't fix what I can't reproduce and the plugin is working fine for me and most others in this thread have figured out one thing or another that fixed their installation.

T0ut4t1s commented 4 years ago

It’s worth saying that this is an extremely valuable plug-in which notably many use frequently. Thank you for creating such a great tool!

titogarrido commented 4 years ago

Hi Guys!

My bed visualizer is not updating, here my config and logs: Ender 3 + BLTouch v3.1 SKR 1.2 Mini Marlin 2.0.5

GCODE for bed Visualizer:

G28
M155 S300
@BEDLEVELVISUALIZER
G29 T
M155 S3

G29 T output:

Recv: Bilinear Leveling Grid:
Recv:       0      1      2      3      4
Recv:  0 -1.055 -0.607 -0.160 +0.290 +0.740
Recv:  1 -0.845 -0.470 -0.095 +0.280 +0.645
Recv:  2 -0.730 -0.395 -0.070 +0.253 +0.580
Recv:  3 -0.620 -0.337 -0.055 +0.235 +0.535
Recv:  4 -0.445 -0.195 +0.028 +0.278 +0.508
Recv: 
Recv: X:235.00 Y:230.00 Z:12.21 E:0.00 Count X:18800 Y:18400 Z:5160
Recv: ok

Output from bedvisualizer logs:

[2020-03-20 10:58:07,237] DEBUG: Canceling mesh collection per user request
[2020-03-20 10:58:07,238] DEBUG: Mesh data collected prior to cancel:
[2020-03-20 10:58:07,239] DEBUG: []
[2020-03-20 10:58:07,240] DEBUG: Mesh data after clearing:
[2020-03-20 10:58:07,241] DEBUG: []

Output from Terminal after bedvisualizer logs:

Recv: Bilinear Leveling Grid:
Recv:       0      1      2      3      4
Recv:  0 -1.040 -0.600 -0.165 +0.280 +0.715
Recv:  1 -0.865 -0.490 -0.117 +0.265 +0.640
Recv:  2 -0.737 -0.408 -0.090 +0.235 +0.560
Recv:  3 -0.640 -0.342 -0.075 +0.223 +0.513
Recv:  4 -0.455 -0.215 +0.013 +0.268 +0.498
Recv: 
Recv: X:235.00 Y:230.00 Z:12.23 E:0.00 Count X:18800 Y:18400 Z:5160
Recv: ok
Send: M155 S3
Recv: ok

The stored values doesn't change, it is still showing old values:

-0.800  -0.140  +0.500
-0.533  -0.082  +0.362
-0.330  -0.010  +0.310

Options Selected: Save Mesh Enable Debug Logging:

Thanks!

Norvat commented 4 years ago

I have the same problem. The visualizer does not update with the new leveling information.

my plugin gcode:

G28 M155 S120 @BEDLEVELVISUALIZER G29 T M155 S3

Error code:

plugin_bedlevelvisualizer_debug.log

[2020-03-20 13:57:10,565] DEBUG: mesh collection started [2020-03-20 13:57:12,882] DEBUG: echo:busy: processing [2020-03-20 13:57:14,881] DEBUG: echo:busy: processing [2020-03-20 13:57:16,881] DEBUG: echo:busy: processing [2020-03-20 13:57:18,881] DEBUG: echo:busy: processing [2020-03-20 13:57:20,880] DEBUG: echo:busy: processing [2020-03-20 13:57:22,881] DEBUG: echo:busy: processing [2020-03-20 13:57:25,002] DEBUG: echo:busy: processing [2020-03-20 13:57:27,002] DEBUG: echo:busy: processing [2020-03-20 13:57:29,002] DEBUG: echo:busy: processing [2020-03-20 13:57:31,362] DEBUG: echo:busy: processing [2020-03-20 13:57:33,406] DEBUG: echo:busy: processing [2020-03-20 13:57:35,407] DEBUG: echo:busy: processing [2020-03-20 13:57:37,713] DEBUG: echo:busy: processing [2020-03-20 13:57:39,714] DEBUG: echo:busy: processing [2020-03-20 13:57:40,856] DEBUG: T:50.11 /0.00 B:42.21 /0.00 @:0 B@:0 [2020-03-20 13:57:41,714] DEBUG: echo:busy: processing [2020-03-20 13:57:44,492] DEBUG: echo:busy: processing [2020-03-20 13:57:46,536] DEBUG: echo:busy: processing [2020-03-20 13:57:48,536] DEBUG: echo:busy: processing [2020-03-20 13:57:51,153] DEBUG: echo:busy: processing [2020-03-20 13:57:53,152] DEBUG: echo:busy: processing [2020-03-20 13:57:55,152] DEBUG: echo:busy: processing [2020-03-20 13:57:57,797] DEBUG: echo:busy: processing [2020-03-20 13:57:59,843] DEBUG: echo:busy: processing [2020-03-20 13:58:01,842] DEBUG: echo:busy: processing [2020-03-20 13:58:04,431] DEBUG: echo:busy: processing [2020-03-20 13:58:06,476] DEBUG: echo:busy: processing [2020-03-20 13:58:08,476] DEBUG: echo:busy: processing [2020-03-20 13:58:11,219] DEBUG: echo:busy: processing [2020-03-20 13:58:11,270] DEBUG: T:47.43 /0.00 B:41.54 /0.00 @:0 B@:0 [2020-03-20 13:58:13,217] DEBUG: echo:busy: processing [2020-03-20 13:58:15,218] DEBUG: echo:busy: processing [2020-03-20 13:58:17,559] DEBUG: echo:busy: processing [2020-03-20 13:58:19,560] DEBUG: echo:busy: processing [2020-03-20 13:58:21,559] DEBUG: echo:busy: processing [2020-03-20 13:58:23,895] DEBUG: echo:busy: processing [2020-03-20 13:58:25,939] DEBUG: echo:busy: processing [2020-03-20 13:58:27,940] DEBUG: echo:busy: processing [2020-03-20 13:58:30,225] DEBUG: echo:busy: processing [2020-03-20 13:58:31,862] DEBUG: Canceling mesh collection per user request [2020-03-20 13:58:31,863] DEBUG: Mesh data collected prior to cancel: [2020-03-20 13:58:31,864] DEBUG: [] [2020-03-20 13:58:31,864] DEBUG: Mesh data after clearing: [2020-03-20 13:58:31,865] DEBUG: [] [2020-03-20 14:06:55,847] DEBUG: mesh collection started [2020-03-20 14:06:58,162] DEBUG: echo:busy: processing [2020-03-20 14:07:00,206] DEBUG: echo:busy: processing [2020-03-20 14:07:02,205] DEBUG: echo:busy: processing [2020-03-20 14:07:04,205] DEBUG: echo:busy: processing [2020-03-20 14:07:06,977] DEBUG: echo:busy: processing [2020-03-20 14:07:09,021] DEBUG: echo:busy: processing [2020-03-20 14:07:11,020] DEBUG: echo:busy: processing [2020-03-20 14:07:13,363] DEBUG: echo:busy: processing [2020-03-20 14:07:15,407] DEBUG: echo:busy: processing [2020-03-20 14:07:17,406] DEBUG: echo:busy: processing [2020-03-20 14:07:19,724] DEBUG: echo:busy: processing [2020-03-20 14:07:21,723] DEBUG: echo:busy: processing [2020-03-20 14:07:23,723] DEBUG: echo:busy: processing [2020-03-20 14:07:26,086] DEBUG: echo:busy: processing [2020-03-20 14:07:28,130] DEBUG: echo:busy: processing [2020-03-20 14:07:30,129] DEBUG: echo:busy: processing [2020-03-20 14:07:32,865] DEBUG: echo:busy: processing [2020-03-20 14:07:34,866] DEBUG: echo:busy: processing [2020-03-20 14:07:36,865] DEBUG: echo:busy: processing [2020-03-20 14:07:39,510] DEBUG: echo:busy: processing [2020-03-20 14:07:41,554] DEBUG: echo:busy: processing [2020-03-20 14:07:43,553] DEBUG: echo:busy: processing [2020-03-20 14:07:46,157] DEBUG: echo:busy: processing [2020-03-20 14:07:48,156] DEBUG: echo:busy: processing [2020-03-20 14:07:50,156] DEBUG: echo:busy: processing [2020-03-20 14:07:52,799] DEBUG: echo:busy: processing [2020-03-20 14:07:54,842] DEBUG: echo:busy: processing [2020-03-20 14:07:56,555] DEBUG: T:30.31 /0.00 B:32.29 /0.00 @:0 B@:0 [2020-03-20 14:07:56,843] DEBUG: echo:busy: processing [2020-03-20 14:07:59,584] DEBUG: echo:busy: processing [2020-03-20 14:08:01,629] DEBUG: echo:busy: processing [2020-03-20 14:08:03,629] DEBUG: echo:busy: processing [2020-03-20 14:08:05,920] DEBUG: echo:busy: processing [2020-03-20 14:08:07,964] DEBUG: echo:busy: processing [2020-03-20 14:08:09,964] DEBUG: echo:busy: processing [2020-03-20 14:08:12,250] DEBUG: echo:busy: processing [2020-03-20 14:08:14,249] DEBUG: echo:busy: processing [2020-03-20 14:08:14,530] DEBUG: Canceling mesh collection per user request [2020-03-20 14:08:14,531] DEBUG: Mesh data collected prior to cancel: [2020-03-20 14:08:14,532] DEBUG: [] [2020-03-20 14:08:14,533] DEBUG: Mesh data after clearing: [2020-03-20 14:08:14,533] DEBUG: []

jneilliii commented 4 years ago

@titogarrido and @Norvat, in both your cases your log indicates...

Canceling mesh collection per user request

This means your timeout value isn't long enough. Increase timeout value, restart octoprint and try again. I recommend setting the value to something that is 30-60 seconds longer than how long the leveling process takes for you to complete.

titogarrido commented 4 years ago

Hi @jneilliii

I have increased to 180s, the bedlevel ended, I have waited more seconds and received: [2020-03-20 11:49:21,489] DEBUG: Canceling mesh collection per user request [2020-03-20 11:49:21,491] DEBUG: Mesh data collected prior to cancel: [2020-03-20 11:49:21,493] DEBUG: [] [2020-03-20 11:49:21,495] DEBUG: Mesh data after clearing: [2020-03-20 11:49:21,496] DEBUG: []

The Graph shows: Using saved mesh data from 02/03/2020 19:10:59.

titogarrido commented 4 years ago

My bad! I have forgot to restart octoprint. It is working now with 180s

jneilliii commented 4 years ago

I have forgot to restart octoprint

I'll look into why the restart seems to be necessary for this to take. It shouldn't be that way, but will investigate further.

Borimino commented 4 years ago

I had a similar problem as the other people, and restarting fixed it for me aswell. Just as another datapoint.

jiynn commented 4 years ago

I'm having similar problems with the mesh not updating... before it kept displaying a previous date, now after an uninstall, restart, reinstall, and restart... it's not showing anything at all!

The last bit I see in the terminal is this:

Recv: echo:busy: processing
Recv: echo:busy: processing
Recv: echo:busy: processing
Recv: Bilinear Leveling Grid:
Recv:       0      1      2
Recv:  0 +0.196 +0.036 -0.094
Recv:  1 +0.218 +0.059 -0.098
Recv:  2 +0.228 +0.086 -0.052
Recv: 
Recv: echo:busy: processing
Recv: echo:busy: processing

however the log show this:

[2020-03-23 15:36:08,109] DEBUG: mesh collection started
[2020-03-23 15:36:10,124] DEBUG: echo:busy: processing
[2020-03-23 15:36:12,125] DEBUG: echo:busy: processing
[2020-03-23 15:36:14,125] DEBUG: echo:busy: processing
[2020-03-23 15:36:16,126] DEBUG: echo:busy: processing
[2020-03-23 15:36:18,126] DEBUG: echo:busy: processing
[2020-03-23 15:36:20,126] DEBUG: echo:busy: processing
[2020-03-23 15:36:22,126] DEBUG: echo:busy: processing
[2020-03-23 15:36:24,126] DEBUG: echo:busy: processing
[2020-03-23 15:36:26,128] DEBUG: echo:busy: processing
[2020-03-23 15:36:28,128] DEBUG: echo:busy: processing
[2020-03-23 15:36:30,128] DEBUG: echo:busy: processing
[2020-03-23 15:36:32,127] DEBUG: echo:busy: processing
[2020-03-23 15:36:34,126] DEBUG: echo:busy: processing
[2020-03-23 15:36:36,126] DEBUG: echo:busy: processing
[2020-03-23 15:36:38,381] DEBUG: echo:busy: processing
[2020-03-23 15:36:40,380] DEBUG: echo:busy: processing
[2020-03-23 15:36:42,379] DEBUG: echo:busy: processing
[2020-03-23 15:36:44,379] DEBUG: echo:busy: processing
[2020-03-23 15:36:46,379] DEBUG: echo:busy: processing
[2020-03-23 15:36:48,588] DEBUG: echo:busy: processing
[2020-03-23 15:36:50,586] DEBUG: echo:busy: processing
[2020-03-23 15:36:52,586] DEBUG: echo:busy: processing
[2020-03-23 15:36:54,585] DEBUG: echo:busy: processing
[2020-03-23 15:36:56,585] DEBUG: echo:busy: processing
[2020-03-23 15:36:58,586] DEBUG: echo:busy: processing
[2020-03-23 15:37:01,375] DEBUG: echo:busy: processing
[2020-03-23 15:37:03,374] DEBUG: echo:busy: processing
[2020-03-23 15:37:05,696] DEBUG: echo:busy: processing
[2020-03-23 15:37:07,695] DEBUG: echo:busy: processing
[2020-03-23 15:37:09,695] DEBUG: echo:busy: processing
[2020-03-23 15:37:11,694] DEBUG: echo:busy: processing
[2020-03-23 15:37:13,697] DEBUG: echo:busy: processing
[2020-03-23 15:37:15,696] DEBUG: echo:busy: processing
[2020-03-23 15:37:18,455] DEBUG: echo:busy: processing
[2020-03-23 15:37:20,453] DEBUG: echo:busy: processing
[2020-03-23 15:37:22,751] DEBUG: echo:busy: processing
[2020-03-23 15:37:24,754] DEBUG: echo:busy: processing
[2020-03-23 15:37:26,753] DEBUG: echo:busy: processing
[2020-03-23 15:37:29,553] DEBUG: echo:busy: processing
[2020-03-23 15:37:31,553] DEBUG: echo:busy: processing
[2020-03-23 15:37:33,552] DEBUG: echo:busy: processing
[2020-03-23 15:37:35,552] DEBUG: echo:busy: processing
[2020-03-23 15:37:37,556] DEBUG: echo:busy: processing
[2020-03-23 15:37:39,759] DEBUG: echo:busy: processing
[2020-03-23 15:37:41,759] DEBUG: echo:busy: processing
[2020-03-23 15:37:43,760] DEBUG: echo:busy: processing
[2020-03-23 15:37:46,562] DEBUG: echo:busy: processing
[2020-03-23 15:37:48,561] DEBUG: echo:busy: processing
[2020-03-23 15:37:50,561] DEBUG: echo:busy: processing
[2020-03-23 15:37:52,560] DEBUG: echo:busy: processing
[2020-03-23 15:37:54,560] DEBUG: echo:busy: processing
[2020-03-23 15:37:56,797] DEBUG: echo:busy: processing
[2020-03-23 15:37:58,796] DEBUG: echo:busy: processing
[2020-03-23 15:38:00,796] DEBUG: echo:busy: processing
[2020-03-23 15:38:02,796] DEBUG: echo:busy: processing
[2020-03-23 15:38:04,796] DEBUG: echo:busy: processing
[2020-03-23 15:38:06,796] DEBUG: echo:busy: processing
[2020-03-23 15:38:09,551] DEBUG: echo:busy: processing
[2020-03-23 15:38:11,550] DEBUG: echo:busy: processing
[2020-03-23 15:38:13,861] DEBUG: echo:busy: processing
[2020-03-23 15:38:15,860] DEBUG: echo:busy: processing
[2020-03-23 15:38:17,860] DEBUG: echo:busy: processing
[2020-03-23 15:38:19,861] DEBUG: echo:busy: processing
[2020-03-23 15:38:21,861] DEBUG: echo:busy: processing
[2020-03-23 15:38:23,861] DEBUG: echo:busy: processing
[2020-03-23 15:38:26,661] DEBUG: echo:busy: processing
[2020-03-23 15:38:28,660] DEBUG: echo:busy: processing
[2020-03-23 15:38:29,893] DEBUG: Canceling mesh collection per user request
[2020-03-23 15:38:29,893] DEBUG: Mesh data collected prior to cancel:
[2020-03-23 15:38:29,893] DEBUG: []
[2020-03-23 15:38:29,893] DEBUG: Mesh data after clearing:
[2020-03-23 15:38:29,894] DEBUG: []
[2020-03-23 15:43:25,873] DEBUG: Canceling mesh collection per user request
[2020-03-23 15:43:25,873] DEBUG: Mesh data collected prior to cancel:
[2020-03-23 15:43:25,873] DEBUG: []
[2020-03-23 15:43:25,874] DEBUG: Mesh data after clearing:
[2020-03-23 15:43:25,874] DEBUG: []
[2020-03-23 15:48:42,890] DEBUG: Canceling mesh collection per user request
[2020-03-23 15:48:42,891] DEBUG: Mesh data collected prior to cancel:
[2020-03-23 15:48:42,891] DEBUG: []
[2020-03-23 15:48:42,891] DEBUG: Mesh data after clearing:
[2020-03-23 15:48:42,892] DEBUG: []
[2020-03-23 15:57:24,162] DEBUG: mesh collection started
[2020-03-23 15:57:26,169] DEBUG: echo:busy: processing
[2020-03-23 15:57:28,169] DEBUG: echo:busy: processing
[2020-03-23 15:57:30,169] DEBUG: echo:busy: processing
[2020-03-23 15:57:32,168] DEBUG: echo:busy: processing
[2020-03-23 15:57:34,168] DEBUG: echo:busy: processing
[2020-03-23 15:57:36,168] DEBUG: echo:busy: processing
[2020-03-23 15:57:38,176] DEBUG: echo:busy: processing
[2020-03-23 15:57:40,176] DEBUG: echo:busy: processing
[2020-03-23 15:57:42,176] DEBUG: echo:busy: processing
[2020-03-23 15:57:44,184] DEBUG: echo:busy: processing
[2020-03-23 15:57:46,185] DEBUG: echo:busy: processing
[2020-03-23 15:57:48,192] DEBUG: echo:busy: processing
[2020-03-23 15:57:50,195] DEBUG: echo:busy: processing
[2020-03-23 15:57:52,191] DEBUG: echo:busy: processing
[2020-03-23 15:57:54,419] DEBUG: echo:busy: processing
[2020-03-23 15:57:56,419] DEBUG: echo:busy: processing
[2020-03-23 15:57:58,418] DEBUG: echo:busy: processing
[2020-03-23 15:58:00,418] DEBUG: echo:busy: processing
[2020-03-23 15:58:02,418] DEBUG: echo:busy: processing
[2020-03-23 15:58:04,626] DEBUG: echo:busy: processing
[2020-03-23 15:58:06,625] DEBUG: echo:busy: processing
[2020-03-23 15:58:08,626] DEBUG: echo:busy: processing
[2020-03-23 15:58:10,626] DEBUG: echo:busy: processing
[2020-03-23 15:58:12,626] DEBUG: echo:busy: processing
[2020-03-23 15:58:14,626] DEBUG: echo:busy: processing
[2020-03-23 15:58:17,416] DEBUG: echo:busy: processing
[2020-03-23 15:58:19,415] DEBUG: echo:busy: processing
[2020-03-23 15:58:21,736] DEBUG: echo:busy: processing
[2020-03-23 15:58:23,736] DEBUG: echo:busy: processing
[2020-03-23 15:58:25,737] DEBUG: echo:busy: processing
[2020-03-23 15:58:27,737] DEBUG: echo:busy: processing
[2020-03-23 15:58:29,736] DEBUG: echo:busy: processing
[2020-03-23 15:58:31,736] DEBUG: echo:busy: processing
[2020-03-23 15:58:34,488] DEBUG: echo:busy: processing
[2020-03-23 15:58:36,489] DEBUG: echo:busy: processing
[2020-03-23 15:58:38,785] DEBUG: echo:busy: processing
[2020-03-23 15:58:40,784] DEBUG: echo:busy: processing
[2020-03-23 15:58:42,784] DEBUG: echo:busy: processing
[2020-03-23 15:58:44,784] DEBUG: echo:busy: processing
[2020-03-23 15:58:46,783] DEBUG: echo:busy: processing
[2020-03-23 15:58:48,783] DEBUG: echo:busy: processing
[2020-03-23 15:58:51,499] DEBUG: echo:busy: processing
[2020-03-23 15:58:53,499] DEBUG: echo:busy: processing
[2020-03-23 15:58:55,808] DEBUG: echo:busy: processing
[2020-03-23 15:58:57,808] DEBUG: echo:busy: processing
[2020-03-23 15:58:59,807] DEBUG: echo:busy: processing
[2020-03-23 15:59:02,619] DEBUG: echo:busy: processing
[2020-03-23 15:59:04,618] DEBUG: echo:busy: processing
[2020-03-23 15:59:06,618] DEBUG: echo:busy: processing
[2020-03-23 15:59:08,618] DEBUG: echo:busy: processing
[2020-03-23 15:59:10,625] DEBUG: echo:busy: processing
[2020-03-23 15:59:12,841] DEBUG: echo:busy: processing
[2020-03-23 15:59:14,840] DEBUG: echo:busy: processing
[2020-03-23 15:59:16,840] DEBUG: echo:busy: processing
[2020-03-23 15:59:18,840] DEBUG: echo:busy: processing
[2020-03-23 15:59:20,840] DEBUG: echo:busy: processing
[2020-03-23 15:59:22,840] DEBUG: echo:busy: processing
[2020-03-23 15:59:25,596] DEBUG: echo:busy: processing
[2020-03-23 15:59:27,595] DEBUG: echo:busy: processing
[2020-03-23 15:59:29,893] DEBUG: echo:busy: processing
[2020-03-23 15:59:31,892] DEBUG: echo:busy: processing
[2020-03-23 15:59:33,892] DEBUG: echo:busy: processing
[2020-03-23 15:59:35,891] DEBUG: echo:busy: processing
[2020-03-23 15:59:37,891] DEBUG: echo:busy: processing
[2020-03-23 15:59:39,892] DEBUG: echo:busy: processing
[2020-03-23 15:59:42,685] DEBUG: echo:busy: processing
[2020-03-23 15:59:44,684] DEBUG: echo:busy: processing
[2020-03-23 15:59:46,850] DEBUG: Canceling mesh collection per user request
[2020-03-23 15:59:46,851] DEBUG: Mesh data collected prior to cancel:
[2020-03-23 15:59:46,851] DEBUG: []
[2020-03-23 15:59:46,851] DEBUG: Mesh data after clearing:
[2020-03-23 15:59:46,851] DEBUG: []

Currently I have this code set for the probe:

G28
@BEDLEVELVISUALIZER
G29 T

I am running and Ender 3 Pro with a timeout value of 180s. Any help would be greatly appreciated.

jneilliii commented 4 years ago

Canceling mesh collection per user request

As mentioned above, increase your Timeout value, restart OctoPrint and try again.

jiynn commented 4 years ago

Tried that as well, the process finishes about 30 seconds before the timeout, also have increased to 300s as well, still same issue, no mesh.

jneilliii commented 4 years ago

Just to confirm @jiynn, you did restart OctoPrint after setting the Timeout value higher? That seems to be the one thing that really triggers the fix from most responses I've see.

jiynn commented 4 years ago

Tried the 300, went back to 180, then did 250, and restarted both the system and octoprint each time, now it finally works with 250... something is weird... I hope this doesn't fail again considering it already buried a nozzle into a textured glass bed...

jneilliii commented 4 years ago

That is weird given the fact that you have G28 in your settings. Almost sounds like a failing probe.

bonoboxita commented 4 years ago

I've increase the timeout to 180, restarted several time octoprint (anche checked that the timeout was correct) and reinstalled the plugin. still not working.

jneilliii commented 4 years ago

@bonoboxita, as asked several times before, if you don't provide logs I can't help. Enable debug logging in the plugin's settings, restart octoprint, and try again. Get the plugin_bedlevelvisualizer_debug.log and octoprint.log and drag/drop them into your reply to upload here for analysis.

jneilliii commented 4 years ago

@bonoboxita, not sure where those logs went, but I did get them via email. I assume you deleted the post. Looking at the debug log there appears to be an issue with the commands you are using. What firmware are you using?

Unknown command: "g29 t"

bonoboxita commented 4 years ago

i'm using Marlin 2.0.5 i've sorted out using the long method....doing the mesh, save the mash in marlin and then read it from the plugins...quite cumbersome but it works

jneilliii commented 4 years ago

@bonoboxita, based on the debug log, have you tried setting your GCODE commands to be all upper case? Like I mentioned on the previous post, the log indicated an unknown command with lowercase g29 t, so maybe this is just a capitalization issue in the plugin's settings. If that is the case then I can account for that in code, but need to know if that is actually the problem or not.

Also, does your leveling procedure complete in 3 minutes, still seems kind of short if you are doing a large mesh. If you do increase that Timeout please also make sure to restart OctoPrint for the changed setting to take effect.

TheGadge commented 4 years ago

Sorry, I'm not used to having to change timeouts for a plugin update lol.. WHICH timeout? There's several?

Many thanks.

Edit: tried 600/800. no change. What has happened to this wonderful plugin that's put us on this goose chase of wasting your time? ;)

jneilliii commented 4 years ago

I'm not really sure @TheGadge this is the timeout I was referring to. After changing it seems that restarting OctoPrint is the only thing that helps.

image

Also, it would help having more debug logs to identify what the issue might be, as well as what settings you're using for your gcode command and what firmware and version you are running. I can't reproduce the issue on my end so it's hard to identify where it's breaking.

TheGadge commented 4 years ago

What is this timeout of? Each probe? Or the whole bed? I have mine triple probing (which as got me a variation of 0.03 on the bed lol so I'm sticking with it) but it takes quite a while.

Also, it would help having more debug logs to identify what the issue might be, as well as what settings you're using for your gcode command and what firmware and version you are running. I can't reproduce the issue on my end so it's hard to identify where it's breaking.

jneilliii commented 4 years ago

@TheGadge, the value is for how long the whole probing process takes to complete, from the point in time when you press the update mesh button until an ok is received from the printer after the probing is complete.

I just pushed an updated version 0.1.13 that should help with all this confusion on the new timeout feature. It increases the default setting to 30 minutes and when it does timeout will show an error pop-up now instead of an info pop-up that has to be manually closed with instruction on what may need to be changed in settings.

IroCorp commented 4 years ago

Problem solved by setting a timeout greater than the time needed to the bltouch to probe. But I think the problem occurs because in the new version, settings are not loaded, they're blank. So the timeout is blank. I set a timeout, save, restart octoprint as recommended : Fail because the timeout is blank. I set a timeout, save: it works because the timeout has a good value

Thanks

jneilliii commented 4 years ago

Thanks @IroCorp. If the values are blank then there is an initial binding issue between the default settings and what was previously configured potentially. If that is the case, then there will be errors in your browser's developer console when you first open the web interface as part of the initial load that would help figure out a solution. Another possible fix, if you are running OctoPrint 1.4.0 is using the new erase feature to reset the settings back to defaults in Plugin Manager and make sure to restart OctoPrint and force a refresh of your browser.

image

MasterFuba commented 4 years ago

seems like this is the active case...I indeed have the same issue on my Ender3. Last update was on 29.3. when i used it excessive. Now couple of days later its no more working. Bed visualizer seems to be in quarantine like we all ;-) My timeout is 300, restarted rebooted, reinstalled it - nothing helps. My gcode in setting is this: G28 M155 S120 @BEDLEVELVISUALIZER G29 T M155 S3

Something has changed in this plugin prevent it from working anymore. KR Daniel

jneilliii commented 4 years ago

@MasterFuba please enable debug logging, restart OctoPrint and try an update mesh process. Then supply logs to debug as mentioned earlier in this post. Without this information I am unable to assist or find a solution for everyone. If anyone else on this issue thread that is still experiencing issues it would be very helpful if you did the same in order to narrow down a common denominator.