Filament calculation dose not work

What is the problem?

Since the last update of my OctoPi, the filiament calculator no longer works.
I get the following error message:

Does anyone have an idea where I should look to fix the error?

The PrintTimeGenius plugin has also stopped working properly since then (it no longer calculates the time after uploading).

What did you already try to solve it?

WRITE HERE

Have you tried running in safe mode?

No

Did running in safe mode solve the problem?

No

Systeminfo Bundle

browser.user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36
connectivity.connection_check: 192.168.2.96:53
connectivity.connection_ok: true
connectivity.enabled: true
connectivity.online: true
connectivity.resolution_check: octoprint.org
connectivity.resolution_ok: true
env.hardware.cores: 4
env.hardware.freq: 1400
env.hardware.ram: 914001920
env.os.bits: 32
env.os.id: linux
env.os.platform: linux
env.plugins.pi_support.model: Raspberry Pi 3 Model B Plus Rev 1.3
env.plugins.pi_support.octopi_version: 0.18.0
env.plugins.pi_support.throttle_state: 0x0
env.python.pip: 21.0.1
env.python.version: 3.7.3
env.python.virtualenv: true
octoprint.safe_mode: false
octoprint.version: 1.7.2
printer.firmware: Marlin 1.1.0-RC8 (Github)
systeminfo.generator: systemapi

Hello @FreundderNacht !

As you are running OctoPrint 1.7.2, you should have seen this:

So could you please upload the bundle into the next post not just the systeminfo.

Hi,
sorry, I thought I had uploaded it.
Here is my system info:

octoprint-systeminfo-20211103190316.zip (209.1 KB)

Please try in safe mode.
You should get a filament amount like this:
grafik

What slicer are you using?

I use the latest version of Cura as a slicer.
I will try out the SafeMode, but it might take until Friday before I can give feedback.

I have now started Octoprint in save mode. Since all plug-ins are deactivated here, I could not find anything wrong.

I have also uninstalled and reinstalled the Printtimegenius plugin.
Unfortunately without success

I also deactivated and activated the Spool Manager.
Unfortunately without success.

At the moment the PrinttimeGenius is not working and the Spoolmanger is not working properly.

I have made a debug log of the Printtimegenius:

2021-11-04 19:03:11,807 Start von PrintTimeGenius
2021-11-04 19:07:21,046 Die integrierte Analyse wird nicht ausgeführt.
2021-11-04 19:07:21,047 Deaktiviert: "/home/pi/oprint/bin/python3" "/home/pi/oprint/lib/python3.7/site-packages/octoprint_PrintTimeGenius/analyzers/analyze_gcode_comments.py" "/home/pi/.octoprint/uploads/Untersetzer/Untersetzer Ø120_PLAplus-schwarz.gcode"
2021-11-04 19:07:21,047 Läuft: "/home/pi/oprint/bin/python3" "/home/pi/oprint/lib/python3.7/site-packages/octoprint_PrintTimeGenius/analyzers/analyze_progress.py" marlin-calc "/home/pi/.octoprint/uploads/Untersetzer/Untersetzer Ø120_PLAplus-schwarz.gcode" ""
2021-11-04 19:07:34,266 Fehler beim Ausführen von '"/home/pi/oprint/bin/python3" "/home/pi/oprint/lib/python3.7/site-packages/octoprint_PrintTimeGenius/analyzers/analyze_progress. py" marlin-calc "/home/pi/.octoprint/uploads/Untersetzer/Untersetzer Ø120_PLAplus-schwarz.gcode" ""'
Traceback (letzter Anruf zuletzt):
  Datei "/home/pi/oprint/lib/python3.7/site-packages/octoprint_PrintTimeGenius/__init__.py", Zeile 337, in _do_analysis
    results_err = sarge_job.stderr.text
  Datei "/home/pi/oprint/lib/python3.7/site-packages/sarge/__init__.py", Zeile 275, im Text
    return self.bytes.decode(self.encoding)
UnicodeDecodeError: 'utf-8' Codec kann Byte 0xd8 in Position 275 nicht dekodieren: ungültiges Fortsetzungsbyte
2021-11-04 19:07:34,303 Deaktiviert: "/home/pi/oprint/bin/python3" "/home/pi/oprint/lib/python3.7/site-packages/octoprint_PrintTimeGenius/analyzers/analyze_gcode_comments.py" "/home/pi/.octoprint/uploads/Untersetzer/Untersetzer Ø120_PLAplus-schwarz.gcode" --parsers slic3r_pe_print_time slic3r_pe_print_time_remaining
2021-11-04 19:07:35.391 Integrierte Analyse wird nicht ausgeführt.
2021-11-04 19:07:35.398 Deaktiviert: "/home/pi/oprint/bin/python3" "/home/pi/oprint/lib/python3.7/site-packages/octoprint_PrintTimeGenius/analyzers/analyze_gcode_comments.py" "/home/pi/.octoprint/uploads/Untersetzer/Untersetzer Ø120_PLA-Glow_in_the_dark.gcode"
2021-11-04 19:07:35,404 Läuft: "/home/pi/oprint/bin/python3" "/home/pi/oprint/lib/python3.7/site-packages/octoprint_PrintTimeGenius/analyzers/analyze_progress.py" marlin-calc "/home/pi/.octoprint/uploads/Untersetzer/Untersetzer Ø120_PLA-Glow_in_the_dark.gcode" ""
2021-11-04 19:07:48,675 Fehler beim Ausführen von '"/home/pi/oprint/bin/python3" "/home/pi/oprint/lib/python3.7/site-packages/octoprint_PrintTimeGenius/analyzers/analyze_progress. py" marlin-calc "/home/pi/.octoprint/uploads/Untersetzer/Untersetzer Ø120_PLA-Glow_in_the_dark.gcode" ""'
Traceback (letzter Anruf zuletzt):
  Datei "/home/pi/oprint/lib/python3.7/site-packages/octoprint_PrintTimeGenius/__init__.py", Zeile 337, in _do_analysis
    results_err = sarge_job.stderr.text
  Datei "/home/pi/oprint/lib/python3.7/site-packages/sarge/__init__.py", Zeile 

It shows an error, I just can't assign it.

You may raise an issure report at the authors github:

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.