-
Notifications
You must be signed in to change notification settings - Fork 32
Common problems
OctoPrint by default displays the progress of the print as a percentage of the file because it doesn't have an accurate print time estimation. So if the printer is halfway through the file, it will display "50%". But that isn't necessarily the same as the print time progress. You might be 50% of the way through the file but not 50% of the total print time, because some parts of the file take longer to print than others (this is normal).
PrintTimeGenius does have an accurate one so it will helpfully replace the progress bar with one that is based on time and not on bytes. But it can only do this for the web interface, not for other plugins. This will cause you to see slightly different progress bars in some places. This has no effect on print times.
If you don't want PrintTimeGenius to adjust the progress bar, turn off the Display precise durations instead of fuzzy ones
option in the settings.
If you want other plugins to show the better progress bar, ask the author of that plugin to calculate the time-based progress (time remaining over total print time) and display that instead. OctoPrint-PrintTimeGenius cannot fix this for you.
There could be a few reasons for this.
- PTG has a compensation factor built-in. It looks at the most recent 5 prints and tries to find if printing is taking less time than predicted. If so, it will adjust predictions. To check, look at the "Compensation values" in the "Advanced" section of the settings. Also look in the PTG logs for
Average scaling factor
. It should usually be near 1.0. - PTG needs to know your printer settings in order to make a good estimate. PTG will notice whenever you run M503 and will store those settings. Check that the settings in the log match the ones on your printer by typing
M503
in the printer's console and comparing the lines with the ones in the log near where it saysmarlin-calc
. TheM503
output will have many more lines than in the log but theM200
-M205
should match, along withM220
,M221
, andM900
. Also view the file~/.octoprint/data/PrintTimeGenius/printer_config.yaml
, it should also matchM503
output.
Can't install / Command "python setup.py egg_info" failed / ImportError: cannot import name PrintTimeEstimator
Check that you are using a version of OctoPrint on or after 1.3.9rc1. Check that you are also using the latest version of PrintTimeGenius.
If you want to use the latest OctoPrint, you can choose that in the settings.
If you see the gold star, it's working:
Also, you should check that there are no errors in the log:
After you upload, the file analysis begins. It is cancelled if printing starts and a log message to that effect is added to the PTG log.
To solve this problem, either wait a little between uploading and printing or enable the option to analyze while printing.
That's because PTG calculated that the total time to print was infinity. That can happen if you have some bad settings. For example, maybe your max print speed or max acceleration is set to 0. To fix this, look at the M200,M201,M203,M204,... lines in PTG's log. You can look up those M codes on Google or here.
Compare those PTG settings with the ones that you get if you command the printer M503
while it isn't printing. Sometimes running M503
once will solve the problem for good. If you find that PTG and M503
disagree on settings still, file an issue and include the logs and the M503
output