moggieuk / Happy-Hare

MMU software driver for Klipper (ERCF, Tradrack, Prusa)
GNU General Public License v3.0
426 stars 102 forks source link

Internal error during connect: 'MmuToolHead' object has no attribute 'min_cruise_ratio' #229

Open pvdl101 opened 5 months ago

pvdl101 commented 5 months ago

After the most recent update I was immediately faced with this error: "Internal error during connect: 'MmuToolHead' object has no attribute 'min_cruise_ratio'" Reinstall of Happy-Hare does not resolve the issue klippy (1).log mmu (1).log

pvdl101 commented 5 months ago

Thanks for the fix, updating again resolved the issue.

Tribute06 commented 5 months ago

just updated and now getting this error Internal error during connect: 'MmuToolHead' object has no attribute 'requested_accel_to_decel' tried updating second time and still getting same error.

jdlarry commented 5 months ago

same issue now getting Internal error during connect: 'MmuToolHead' object has no attribute 'requested_accel_to_decel'

Sparkss commented 5 months ago

I am running Klippain + Happy Hare and had the same 'requested_accel_to_decel' error. I found that I had mcu mmu defined in both the HH and KP files. I commented out the ones in the KP files (they were in my mcu.cfg) and updated the ones in HH (in mmu/mmu.cfg) to reflect the proper comm (canbus id in my instance) and no longer get the error.

EDIT: There are a couple of ways to fix this, I chose to go with the config from HH. I believe this issue was caused by the HH mmu.cfg having an active (uncommented) serial configuration line that needed to be updated/corrected prior to proceeding. Mine was a fresh install so perhaps I just missed a step, but updating that config fixed it for me. I hope that helps.

Tribute06 commented 5 months ago

I will give that a try. Thanks for the help

Get Outlook for Androidhttps://aka.ms/AAb9ysg


From: Sparkss @.> Sent: Friday, March 15, 2024 11:57:35 AM To: moggieuk/Happy-Hare @.> Cc: Tribute06 @.>; Comment @.> Subject: Re: [moggieuk/Happy-Hare] Internal error during connect: 'MmuToolHead' object has no attribute 'min_cruise_ratio' (Issue #229)

I am running Klippain + Happy Hare and had the same 'requested_accel_to_decel' error. I found that I had mcu mmu defined in both the HH and KP files. I commented out the ones in the KP files (they were in my mcu.cfg) and updated the ones in HH (in mmu/mmu.cfg) to reflect the proper comm (canbus id in my instance) and no longer get the error.

— Reply to this email directly, view it on GitHubhttps://github.com/moggieuk/Happy-Hare/issues/229#issuecomment-1999965210, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BGYUVXNCVV65PSQOG2CBRVTYYMK67AVCNFSM6AAAAABEVK7E4KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOJZHE3DKMRRGA. You are receiving this because you commented.Message ID: @.***>

779124428 commented 4 months ago

same issue happend, "Internal error during connect: 'MmuToolHead' object has no attribute 'requested_accel_to_decel'" I checked the config files and installed HH again, but it does not work, how could I solve the problem?

jdlarry commented 4 months ago

Look in all your config files and comment out any accel to decel lines. This fixed it for me.