-
-
Notifications
You must be signed in to change notification settings - Fork 14
Description
What happened
I don't know if Cura 4.7.1 is not supported. I don't see any information on the main page about supported Cura versions.
Assuming it is supported, the script is not appearing.
Cura.log states:
2025-04-08 17:01:42,534 - ERROR - [MainThread] UM.Logger.logException [106]: Exception: Exception occurred while loading post processing plugin: invalid syntax (KlipperPreprocessor.py, line 160) 2025-04-08 17:01:42,538 - ERROR - [MainThread] UM.Logger.logException [110]: Traceback (most recent call last): 2025-04-08 17:01:42,542 - ERROR - [MainThread] UM.Logger.logException [110]: File "C:\Program Files\Ultimaker Cura 4.7\plugins\PostProcessingPlugin\PostProcessingPlugin.py", line 197, in loadScripts 2025-04-08 17:01:42,545 - ERROR - [MainThread] UM.Logger.logException [110]: spec.loader.exec_module(loaded_script) # type: ignore 2025-04-08 17:01:42,549 - ERROR - [MainThread] UM.Logger.logException [110]: File "<frozen importlib._bootstrap_external>", line 693, in exec_module 2025-04-08 17:01:42,553 - ERROR - [MainThread] UM.Logger.logException [110]: File "<frozen importlib._bootstrap_external>", line 799, in get_code 2025-04-08 17:01:42,556 - ERROR - [MainThread] UM.Logger.logException [110]: File "<frozen importlib._bootstrap_external>", line 759, in source_to_code 2025-04-08 17:01:42,560 - ERROR - [MainThread] UM.Logger.logException [110]: File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed 2025-04-08 17:01:42,564 - ERROR - [MainThread] UM.Logger.logException [110]: File "C:\Users\bhendin\AppData\Roaming\cura\4.7\scripts\KlipperPreprocessor.py", line 160 2025-04-08 17:01:42,567 - ERROR - [MainThread] UM.Logger.logException [110]: add_timelapse_take_frame: bool = self.getSettingValueByKey("add_timelapse_take_frame") 2025-04-08 17:01:42,571 - ERROR - [MainThread] UM.Logger.logException [110]: ^ 2025-04-08 17:01:42,575 - ERROR - [MainThread] UM.Logger.logException [110]: SyntaxError: invalid syntax
This is on a Windows 11 system.
I do plan to upgrade Cura, but right now I am comfortable on 4.7.1 and want to work out all the kinks in my current migration to Klipper first before I throw a new verison in the mix. If the issue is with 4.7.1, I will just wait until I'm able to upgrade.
In the meantime, is there any way to just get Mainsail's pause at layer functions working via Cura?
Thanks.
What did you expect to happen
Klipper script appears
How to reproduce
Place python script in scripts directory and restart Cura.
Additional information
No response