-
-
Notifications
You must be signed in to change notification settings - Fork 12
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
Not Working for me - Cura 5.2.1 #7
Comments
Enter the folder |
See attached log. Everything else I did right though? One thing I wasn't sure is if I needed to create the estimator file manually or if it would generate automatically the first time it runs. |
Ok, so the issue is your "Path to config file", that is a local file path where to store the backup of the config, not a web path! Try setting it to "C:\Users\Louis\AppData\Roaming\cura\5.2\Klipper_Estimator\klipper_estimator.json" and I believe it should work fine. |
So that did fix it. Thank you. However, for some reason running the plugin causes massive delays, not when I slice the file, but when I go to save it to disk or upload it to moonraker. I tried disabling each portion one by one, but even when only Time-lapse is enabled it still causes the massive delay. This delay will eventually load a small model but anything is significance delays for what seems like indefinitely. Even with everything unchecked the delay still exists. Only when I remove it completely from post-processing or break it with the incorrect config path for the estimator does the delay disappear. I have attached the Cura log and a screen shot of what I was trying to upload. I let the fule in the screen shot rub and it took about 20 minutes to load the final upload confirmation. bit sure if this is just due to my laptops limitations or not. |
What was the size of the gcode file? can you zip it and upload it here? There's nothing on the log to indicate a single long operation, however klipper_estimator might take a bit of time... not much I can do about that, this is just a script that runs the app. |
cura.log here is a new log with the actual upload after 20 minutes or so and the gcode file itself |
I've checked the logs and do see some weird long operations, however these are not related to this script as all it does is run a few apps. I've just released a new version 1.2.2 of the script that will add more logging so it will enable you to more easily see if any of the external apps called by the script is causing this issue; if it is, I suggest you check with the respective app maintainer. |
I downloaded the update and ran it again. The log is attached. I think I put to many of the files in the folder for the estimator and cancel object. My earlier post has a screen shot of what I put in the app folders. Maybe that's why it is slow? Which files are needed for the apps to run on Windows? Sorry for the newb question. Thanks again for your help. |
Can you confirm that you see "Klipper Preprocessor v1.2.2" on the "Post Processing Scripts" window? The log you attached does not show the added logging I put on 1.2.2, so I believe you probably did some mistake with the update. |
I forgot to restart Cura. It updated now. See correct log. Should i delete any of the files in the App folders for cancel object and estimator? |
Well, I now know that this is not a problem with this script or any of the apps invoked by it! Here's a partial of the new log entries:
I can see the plugin work started at 10:04:09 and finished by 10:04:12, so a total of 3 seconds! So whatever you are experiencing, it has to be something else... Unrelated to this script, but I did notice that "Encoding thumbnail image..." entries seem to take a long time (2 minutes and above) so that might be your best bet to find the problem! |
So I figured it out. when the thumbnails are listed after the Klipper script it causes the delay but when the thumbnails are listed before the Klipper script no delay. I attached a log showing both scenarios with the last entry showing them listed first. |
What happened
I followed your settup steps but it is not adding anything to the GCode not even the Timelapse code. I manually checked and nothing is their. I am pretty new to all this so forgive me if I am making a stupid mistake. Below are the paths I used and screen shots of all the folders and the setup.
Path to Cancellation: C:\Users\Louis\AppData\Roaming\cura\5.2\Object_Cancellation\preprocess_cancellation-windows.exe
Path to Estimator: C:\Users\Louis\AppData\Roaming\cura\5.2\Klipper_Estimator\klipper_estimator.exe
Moonraker URL: http://XXX.XXX.XX.XXX:7125
Path to Config: /home/LCasadia/printer_data/config/klipper_estimator.json
Moonraker URL: http://XXX.XXX.XX.XXX:7125
Path to Config: /home/LCasadia/printer_data/config/klipper_estimator.json
What did you expect to happen
See Above
How to reproduce
See Above
Additional information
No response
The text was updated successfully, but these errors were encountered: