Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After updating to 2.13.2 no tool head in the dashboard Creality K1Max and K1 #2100

Open
Atrox101 opened this issue Dec 27, 2024 · 36 comments · May be fixed by #2102
Open

After updating to 2.13.2 no tool head in the dashboard Creality K1Max and K1 #2100

Atrox101 opened this issue Dec 27, 2024 · 36 comments · May be fixed by #2102
Labels
⚡ Type: Bug Something isn't working

Comments

@Atrox101
Copy link

Atrox101 commented Dec 27, 2024

Mainsail Version:

v2.13.2

Browser:

Chrome

Device:

Desktop PC

Operating System:

Windows

What happened?

After I did the latest update on my Root Klipper K1 Max, I noticed that the tool head is no longer displayed.

The error was not present on another printer on which I also carried out this update, which is completely custom. It must be a pure problem in connection with the root with Creality printers.

A friend with a K1 had exactly the same problem after the update.

What did you expect to happen instead?

That it works as usual. It worked before that too. Incidentally, I also looked in the settings at the cogwheel at the top right. The tap is also empty there.

How to reproduce this bug?

Update

Additional information:

Screenshot 2024-12-27 214348
Screenshot 2024-12-27 214619
image
klippy.log

@Atrox101 Atrox101 added the ⚡ Type: Bug Something isn't working label Dec 27, 2024
@meteyou
Copy link
Member

meteyou commented Dec 27, 2024

pls post a screenshot from your browser console

@Atrox101
Copy link
Author

image
Like this?
I'm doing this for the first time. Incidentally, it's the same with Orca when I go under the device.

@meteyou
Copy link
Member

meteyou commented Dec 27, 2024

pls click on the console tab and post a screenshot in this area

@Atrox101
Copy link
Author

image

@meteyou
Copy link
Member

meteyou commented Dec 27, 2024

Thank you! I think I know what the issue is. Creality use a very old Klipper version.

@Atrox101
Copy link
Author

Atrox101 commented Dec 27, 2024

What I notice and my friend has exactly the same problem is you have to restart the printer completely but stay in the window then it comes back. But as soon as you close the window and reconnect to the printer it is gone. I don't have this problem with Fluid.

@tkunchick
Copy link

What ever it is, it affects both the toolhead controls, as well as multi extruders. if you have multi extruders setup, they do not appear in the extruder section after update. I reverted back to version 2.13.0 to correct the issue.

Running a K1 Max with Happy Hare and 4 colors.

@Atrox101
Copy link
Author

Was auch immer es ist, es betrifft sowohl die Werkzeugkopfsteuerung als auch Multi-Extruder. Wenn Sie Multi-Extruder eingerichtet haben, werden diese nach dem Update nicht im Extruderbereich angezeigt. Ich bin auf Version 2.13.0 zurückgegangen, um das Problem zu beheben.

Betreibe einen K1 Max mit Happy Hare und 4 Farben.

How did you reset the version? Exact explanation.

@tkunchick
Copy link

tkunchick commented Dec 28, 2024

Was auch immer es ist, es betrifft sowohl die Werkzeugkopfsteuerung als auch Multi-Extruder. Wenn Sie Multi-Extruder eingerichtet haben, werden diese nach dem Update nicht im Extruderbereich angezeigt. Ich bin auf Version 2.13.0 zurückgegangen, um das Problem zu beheben.
Betreibe einen K1 Max mit Happy Hare und 4 Farben.

How did you reset the version? Exact explanation.

I edited the paths.sh in the k1 helper script and directed the mainsail URL to https://github.com/mainsail-crew/mainsail/releases/download/v2.13.0/mainsail.zip

paths.sh.zip
just unzip it and place it in your usr/data/helper-script/scripts overwriting the existing.

use the helper script and uninstall mainsail, then reinstall it.

when ever its fixed, just change it back to https://github.com/mainsail-crew/mainsail/releases/latest/download/mainsail.zip

@meteyou
Copy link
Member

meteyou commented Dec 28, 2024

pls post the output of http://<ip or hostname>/printer/objects/query?gcode

@tkunchick
Copy link

tkunchick commented Dec 28, 2024

pls post the output of http://<ip or hostname>/printer/objects/query?gcode

{"result": {"eventtime": 68289.223161833, "status": {"gcode": {}}}}
on mainsail v2.13.0

{"result": {"eventtime": 68405.595008333, "status": {"gcode": {}}}}
on mainsail v2.13.3

@meteyou
Copy link
Member

meteyou commented Dec 28, 2024

thx! can you also post the output of http://<ip or hostname>/printer/objects/list

PS: these links are only Moonraker API URLs. these have nothing todo with mainsail

@tkunchick
Copy link

thx! can you also post the output of http://<ip or hostname>/printer/objects/list

PS: these links are only Moonraker API URLs. these have nothing todo with mainsail

404 not found for both versions

@meteyou
Copy link
Member

meteyou commented Dec 28, 2024

ok. doublechecked the url and works fine. pls check if you make some typo or something. (as i wrote above, these URLs have nothing todo with mainsail! its only a moonraker api call!)

@tkunchick
Copy link

ok. doublechecked the url and works fine. pls check if you make some typo or something. (as i wrote above, these URLs have nothing todo with mainsail! its only a moonraker api call!)

Screenshot 2024-12-28 at 10 51 40 AM

@meteyou
Copy link
Member

meteyou commented Dec 28, 2024

pls check if your browser redirect to https and fix it with http. maybe this is your issue

@meteyou
Copy link
Member

meteyou commented Dec 28, 2024

is Moonraker reachable via IP without any port in your case? i dont know the current K1 setup. in a normal MainsailOS/KIAUH instance, all URLs with /printer, /server and some more are redirected to Moonraker (port 7125).

but if this not work, i'm dont know, why the url above works without a port...

@tkunchick
Copy link

tkunchick commented Dec 28, 2024

my bad, didn't remove creality web, and didn't add port.

{"result": {"objects": ["webhooks", "configfile", "mcu", "mcu mmu", "mcu nozzle_mcu", "mcu leveling_mcu", "mcu rpi", "virtual_pins", "gcode_macro xyz_ready", "gcode_macro _IF_HOME_Z", "gcode_macro _IF_MOVE_XY", "gcode_macro _HOME_X", "gcode_macro _HOME_Y", "gcode_macro _HOME_Z", "gcode_macro PRINTER_PARAM", "gcode_macro AUTOTUNE_SHAPERS", "gcode_macro LOAD_MATERIAL_CLOSE_FAN2", "gcode_macro LOAD_MATERIAL_RESTORE_FAN2", "gcode_macro SET_E_MIN_CURRENT", "gcode_macro RESTORE_E_CURRENT", "gcode_macro LOAD_MATERIAL", "gcode_macro QUIT_MATERIAL", "gcode_macro Qmode", "gcode_macro Qmode_exit", "gcode_macro M204", "gcode_macro M205", "gcode_macro M900", "gcode_macro PRINT_CALIBRATION", "gcode_macro FIRST_FLOOR_PAUSE_POSITION", "gcode_macro ACCURATE_G28", "gcode_macro PRINT_PREPARED", "gcode_macro PRINT_PREPARE_CLEAR", "gcode_macro END_PRINT_POINT_WITHOUT_LIFTING", "gcode_macro END_PRINT_POINT", "gcode_macro END_PRINT", "gcode_macro FIRST_FLOOR_PAUSE", "gcode_macro FIRST_FLOOR_RESUME", "gcode_macro PAUSE", "gcode_macro INPUTSHAPER", "gcode_macro BEDPID", "gcode_macro TUNOFFINPUTSHAPER", "gcode_macro RESUME", "gcode_macro CANCEL_PRINT", "gcode_macro G29", "gcode_move", "print_stats", "fan_feedback", "custom_macro", "gcode_macro product_param", "gcode_macro _KLIPPER_BACKUP", "gcode_macro _KLIPPER_RESTORE", "gcode_macro _MOONRAKER_BACKUP", "gcode_macro _MOONRAKER_RESTORE", "gcode_macro KLIPPER_BACKUP_CONFIG", "gcode_macro KLIPPER_RESTORE_CONFIG", "gcode_macro MOONRAKER_BACKUP_DATABASE", "gcode_macro MOONRAKER_RESTORE_DATABASE", "gcode_macro RELOAD_CAMERA", "gcode_macro BED_LEVELING", "gcode_macro PID_BED", "gcode_macro PID_HOTEND", "gcode_macro WARMUP", "calibrate_shaper_config", "gcode_macro INPUT_SHAPER_CALIBRATION", "gcode_macro TEST_RESONANCES_GRAPHS", "gcode_macro BELTS_SHAPER_CALIBRATION", "gcode_macro EXCITATE_AXIS_AT_FREQ", "heaters", "output_pin ADAPTIVE_BED_MESH", "output_pin FULL_BED_MESH", "output_pin ADAPTIVE_PURGE_LINE", "gcode_macro _ADAPTIVE_BED_MESH_ON", "gcode_macro _FULL_BED_MESH_ON", "gcode_macro _BED_MESH_OFF", "gcode_macro _ADAPTIVE_PURGE_LINE_ON", "gcode_macro _ADAPTIVE_PURGE_LINE_OFF", "gcode_macro KAMP_BED_MESH_SETTINGS", "gcode_macro KAMP_PURGE_LINE_SETTINGS", "gcode_macro START_PRINT", "gcode_macro BED_MESH_CALIBRATE", "gcode_macro _LINE_PURGE", "gcode_macro _SMART_PARK", "gcode_macro DEFINE_OBJECT", "gcode_macro START_CURRENT_OBJECT", "gcode_macro END_CURRENT_OBJECT", "gcode_macro LIST_OBJECTS", "gcode_macro LIST_EXCLUDED_OBJECTS", "gcode_macro REMOVE_ALL_EXCLUDED", "gcode_macro _KAMP_Settings", "gcode_macro GET_TIMELAPSE_SETUP", "gcode_macro _SET_TIMELAPSE_SETUP", "gcode_macro TIMELAPSE_TAKE_FRAME", "gcode_macro _TIMELAPSE_NEW_FRAME", "gcode_macro HYPERLAPSE", "gcode_macro TIMELAPSE_RENDER", "gcode_macro TEST_STREAM_DELAY", "gcode_macro _MMU_CUT_TIP", "gcode_macro _FILAMETRIX_MOVE_IN_BOUNDS", "gcode_macro _FILAMETRIX_MOVE_TO_CUTTER_PIN", "gcode_macro _FILAMETRIX_DO_CUT_MOTION", "gcode_macro _FILAMETRIX_GANTRY_SERVO_DOWN", "gcode_macro _FILAMETRIX_GANTRY_SERVO_UP", "gcode_macro _MMU_FORM_TIP", "gcode_macro _WAIT_FOR_TEMP", "tmc2209 stepper_mmu_gear", "tmc2209 stepper_mmu_gear_1", "tmc2209 stepper_mmu_gear_2", "tmc2209 stepper_mmu_gear_3", "filament_switch_sensor mmu_pre_gate_0", "filament_switch_sensor mmu_pre_gate_1", "filament_switch_sensor mmu_pre_gate_2", "filament_switch_sensor mmu_pre_gate_3", "filament_switch_sensor mmu_gate_sensor", "filament_switch_sensor extruder_sensor", "mmu_sensors", "gcode_macro _MMU_LED_ACTION_CHANGED", "gcode_macro _MMU_LED_PRINT_STATE_CHANGED", "gcode_macro _MMU_LED_GATE_MAP_CHANGED", "gcode_macro _MMU_SET_LED", "gcode_macro _STOP_LED_EFFECTS", "gcode_macro _SET_LED_EFFECT", "save_variables", "gcode_macro _MMU_SOFTWARE_VARS", "gcode_macro _MMU_STATE_VARS", "gcode_macro _MMU_LED_VARS", "gcode_macro _MMU_SEQUENCE_VARS", "gcode_macro _MMU_CUT_TIP_VARS", "gcode_macro _MMU_FORM_TIP_VARS", "gcode_macro _MMU_CLIENT_VARS", "gcode_macro T0", "gcode_macro T1", "gcode_macro T2", "gcode_macro T3", "query_endstops", "motion_report", "tmc2209 extruder", "mmu", "gcode_macro _MMU_PARK", "gcode_macro _MMU_SAVE_POSITION", "gcode_macro __MMU_SAVE_POSITION", "gcode_macro _MMU_RESTORE_POSITION", "gcode_macro _MMU_RETRACT", "gcode_macro _MMU_UNRETRACT", "gcode_macro _MMU_CLEAR_POSITION", "gcode_macro MMU_UPDATE_HEIGHT", "gcode_macro _MMU_AUTO_HOME", "gcode_macro _MMU_PRE_UNLOAD", "gcode_macro _MMU_POST_FORM_TIP", "gcode_macro _MMU_POST_UNLOAD", "gcode_macro _MMU_PRE_LOAD", "gcode_macro _MMU_POST_LOAD", "gcode_macro _MMU_ERROR", "gcode_macro _MMU_LOAD_SEQUENCE", "gcode_macro _MMU_UNLOAD_SEQUENCE", "gcode_macro MMU_START_SETUP", "gcode_macro MMU_START_CHECK", "gcode_macro MMU_START_LOAD_INITIAL_TOOL", "gcode_macro MMU_END", "gcode_macro MMU_COLD_PULL", "gcode_macro _MMU_ERROR_DIALOG", "gcode_macro _MMU_RUN_MARKERS", "gcode_macro MMU__UNLOAD", "gcode_macro MMU__EJECT", "gcode_macro MMU__HOME", "gcode_macro MMU__STATUS", "gcode_macro MMU__MOTORS_OFF", "gcode_macro MMU__SERVO", "gcode_macro MMU__SELECT_TOOL", "gcode_macro MMU__SELECT_BYPASS", "gcode_macro MMU__LOAD_BYPASS", "gcode_macro MMU__RECOVER", "gcode_macro MMU__PRELOAD", "gcode_macro MMU__CHECK_GATE", "gcode_macro MMU_CHANGE_TOOL_STANDALONE", "gcode_macro MMU_CHECK_GATES", "gcode_macro MMU_REMAP_TTG", "gcode_macro MMU_FORM_TIP", "gcode_macro _MMU_PRINT_START", "gcode_macro _MMU_PRINT_END", "gcode_macro _MMU_UPDATE_HEIGHT", "gcode_macro _MMU_ACTION_CHANGED", "gcode_macro _MMU_PRINT_STATE_CHANGED", "gcode_macro _MMU_EVENT", "gcode_macro endstops", "gcode_macro my_BED_LEVELING", "gcode_macro clearmesh", "gcode_macro SET_ACTIVE_SPOOL", "gcode_macro CLEAR_ACTIVE_SPOOL", "gcode_macro Speed_50", "gcode_macro M141", "gcode_macro SET_MATERIAL", "gcode_macro pla_warm_up", "gcode_macro petg_warm_up", "gcode_macro asa_warm_up", "gcode_macro MOVE_TIMELAPSE", "gcode_macro REBOOT", "gcode_macro MY_KLIPPER_BACKUP_CONFIG", "gcode_macro MY_KLIPPER_RESTORE_CONFIG", "gcode_macro MOVE_RESONANCE", "gcode_macro RENAME_RESONANCE", "gcode_macro mesh", "gcode_macro WAIT_TEMP_START", "gcode_macro WAIT_TEMP_END", "gcode_macro MY_RESONANCES_GRAPHS", "gcode_macro MAKE_GRAPHS", "fan", "temperature_fan chamber_fan", "temperature_fan mcu_fan", "output_pin mcu_fan", "temperature_sensor _mcu_temp", "temperature_sensor _chamber_temp", "pause_resume", "filament_switch_sensor filament_sensor", "heater_fan hotend_fan_&_Bento_Cleaner", "idle_timeout", "virtual_sdcard", "tmc2209 stepper_x", "tmc2209 stepper_y", "tmc2209 stepper_z", "heater_bed", "output_pin fan0", "output_pin fan1", "output_pin fan2", "output_pin LED", "output_pin power", "probe", "bed_mesh", "display_status", "exclude_object", "system_stats", "manual_probe", "toolhead", "extruder"]}}

@meteyou
Copy link
Member

meteyou commented Dec 28, 2024

as i wrote multiple times above... these are moonraker api calls! so you dont have to post "both" outputs. these will everytime exactly the same!

@tkunchick
Copy link

as i wrote multiple times above... these are moonraker api calls! so you dont have to post "both" outputs. these will everytime exactly the same!

I am slow sometimes :-) PC tech, not a programmer, just wanted to make sure I was giving you all the info required.

@meteyou
Copy link
Member

meteyou commented Dec 28, 2024

these 2 outputs should help to fix this issue. i will post a short guide to "update" to the dev build. i would be happy, when you can verify it. its very difficult for me to test, because i dont have a printer with a crealityOS.

@tkunchick
Copy link

just give the url to the update and I can install it.

@meteyou
Copy link
Member

meteyou commented Dec 28, 2024

@tkunchick you can download the new test build here: https://github.com/mainsail-crew/mainsail/actions/runs/12528617227?pr=2102

your workflow wont work, because you have to be logged in GitHub + GitHub make a zip for the zip file... so you have to extract it 2 times (thx to GitHub for this...)

@tkunchick
Copy link

@meteyou
Copy link
Member

meteyou commented Dec 28, 2024

v2.9.8 is a complete other version and my link above is only a CI test build. no release.

@tkunchick
Copy link

sadly, I don't understand. I am going to be out for 2-3 hours before I can get back to this.

will put my google skills to the test to figure out part of GitHub.

@meteyou
Copy link
Member

meteyou commented Dec 28, 2024

you can only download the "mainsail-latest.zip" from my link above, unzip it twice and upload it via ssh (filezilla or winscp or similar)

@tkunchick
Copy link

Ok, so I updated to the CI, still reports as version 2.13.0 (did I install the right one?), but all UI elements are showing.

@meteyou
Copy link
Member

meteyou commented Dec 29, 2024

The CI build should show 2.13.2 (the current release number). If you don't see it your update didn't work.

@meteyou
Copy link
Member

meteyou commented Dec 29, 2024

I double-checked the PR and it use the v2.13.2:

image

@tkunchick
Copy link

tkunchick commented Dec 29, 2024

this file at the bottom correct?
Screenshot 2024-12-29 at 7 49 06 AM

feel like I am missing something that should be obvious ;(

@tkunchick
Copy link

tkunchick commented Dec 29, 2024

OK, think I got it. had to change the permissions on all the files after uploading..

Screenshot 2024-12-29 at 8 27 19 AM

Toolhead window seems fixed and stays after manually refreshing several times.
Screenshot 2024-12-29 at 8 28 57 AM

but the extruder window is still missing the 4 tools.
Screenshot 2024-12-29 at 8 28 30 AM

this is how it is on v2.13.0
Screenshot 2024-12-29 at 8 36 10 AM

@meteyou
Copy link
Member

meteyou commented Dec 29, 2024

Thanks! Yes, I also updated the check to read for tools in this release. I'm also surprised that you're using such an old Klipper version with a rooted Creality printer. Is there no option to update the Klipper version?

@tkunchick
Copy link

tkunchick commented Dec 29, 2024

This is the latest firmware from Creailty for the K1 Max.

The only alternative I have seen so far that seems viable is

https://github.com/pellcorp/creality/wiki/Simple-AF

I don't have a spare bl touch or other bed leveling sensor and it requires a lot of hardware changes to the bed that I am not ready to delve into yet.

I don't know if I was clear or not, I have a 4 extruder system, with the update from yesterday, they do not show.
Screenshot 2024-12-29 at 8 28 30 AM

I am still running 2.13.0 to keep the tools available.

@meteyou
Copy link
Member

meteyou commented Dec 29, 2024

@tkunchick I pushed another commit to add another fallback for older klipper versions to show the toolchange macros.

you can find the testbuild here: https://github.com/mainsail-crew/mainsail/actions/runs/12539037131

@tkunchick
Copy link

tkunchick commented Dec 30, 2024

Screenshot 2024-12-29 at 7 32 28 PM

That seems to have gotten it as far as I can tell.

Thank you very much for your hard work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⚡ Type: Bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants