MRX8024 / chopper-resonance-tuner

Registers calibration script for TMC drivers
GNU General Public License v3.0
81 stars 13 forks source link

Traceback Error After CHOPPER_TUNE MIN/MAX command #24

Open ReaperXD1 opened 4 weeks ago

ReaperXD1 commented 4 weeks ago

Hi there,

I have found another error, after waiting over 2 hours for the testing to finish twice, the terminal output an error; Traceback (most recent call last): File "/home/biqu/chopper-resonance-tuner/chopper_plot.py", line 153, in main() File "/home/biqu/chopper-resonance-tuner/chopper_plot.py", line 104, in main data = np.array([[float(row["accel_x"]), File "/home/biqu/chopper-resonance-tuner/chopper_plot.py", line 105, in float(row["accel_y"]), TypeError: float() argument must be a string or a number, not 'NoneType'

Please find attached the klippy log. Is there a way to use stored data to generate the graphs? I can't spare the printer again for another 2 hours hoping it works :( klippy (5).log

MRX8024 commented 4 weeks ago

Please show df -h output, but by the name of the host I can already see what the problem is with memory limit

ReaperXD1 commented 4 weeks ago

image

MRX8024 commented 4 weeks ago

Look https://github.com/MRX8024/chopper-resonance-tuner/issues/18, later I will more explicitly indicate these points in the wiki

ReaperXD1 commented 4 weeks ago

Ah okay, I'll give it another try maybe tomorrow.. It's a very loud process

MRX8024 commented 4 weeks ago

I didn't notice your last suggestion... if you haven't rebooted the host yet and the csvs are still in /tmp, you can .zip them and I'll generate a graph using the current data

ReaperXD1 commented 4 weeks ago

Luckily I found them in my /tmp and transferred them! Thank you very much! https://drive.google.com/file/d/19LshR2UBQfhbOpDIkJGePYc3pNl5H7x5/view?usp=sharing

MRX8024 commented 2 weeks ago

Hello! Sorry for the long wait, Ive had a lot of work fall on me. I analyzed your graphs and also added code, now program would not throw an error, will work with the available data. issue24.zip