Closed bambuleee closed 2 years ago
Hi @bambuleee, please attach the octoprint.log. Maybe there are some error entries.
Hi,this is my latest log. I think the spool manager is tracking, but the information is not passed through to the print hiostory.
Hi @bambuleee,
the log file does not cover a print job. Do you have a log file where a print job run is logged?
Btw. there is something wrong with the OctoDash-Config
2022-01-07 13:18:16,453 - octoprint.plugins.octodashcompanion - INFO - attempting open of /home/pi/.config/octodash/config.json.
2022-01-07 13:18:16,454 - octoprint.server.api.settings - ERROR - Could not load settings for plugin OctoDash Companion (0.0.6)
Traceback (most recent call last):
File "/home/pi/oprint/lib/python3.7/site-packages/octoprint/server/api/settings.py", line 372, in _get_plugin_settings
result = plugin.on_settings_load()
File "/home/pi/oprint/lib/python3.7/site-packages/octoprint/util/__init__.py", line 1737, in wrapper
return f(*args, **kwargs)
File "/home/pi/oprint/lib/python3.7/site-packages/octoprint_octodashcompanion/__init__.py", line 39, in on_settings_load
with open(self.config_file) as file:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.config/octodash/config.json'
2022-01-07 13:18:17,028 - octoprint.plugins.octodashcompanion - INFO - attempting open of /home/pi/.config/octodash/config.json.
2022-01-07 13:18:17,028 - octoprint.server.api.settings - ERROR - Could not load settings for plugin OctoDash Companion (0.0.6)
Traceback (most recent call last):
File "/home/pi/oprint/lib/python3.7/site-packages/octoprint/server/api/settings.py", line 372, in _get_plugin_settings
result = plugin.on_settings_load()
File "/home/pi/oprint/lib/python3.7/site-packages/octoprint/util/__init__.py", line 1737, in wrapper
return f(*args, **kwargs)
File "/home/pi/oprint/lib/python3.7/site-packages/octoprint_octodashcompanion/__init__.py", line 39, in on_settings_load
with open(self.config_file) as file:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.config/octodash/config.json'
Hi @bambuleee,
the log file does not cover a print job. Do you have a log file where a print job run is logged?
Btw. there is something wrong with the OctoDash-Config
2022-01-07 13:18:16,453 - octoprint.plugins.octodashcompanion - INFO - attempting open of /home/pi/.config/octodash/config.json. 2022-01-07 13:18:16,454 - octoprint.server.api.settings - ERROR - Could not load settings for plugin OctoDash Companion (0.0.6) Traceback (most recent call last): File "/home/pi/oprint/lib/python3.7/site-packages/octoprint/server/api/settings.py", line 372, in _get_plugin_settings result = plugin.on_settings_load() File "/home/pi/oprint/lib/python3.7/site-packages/octoprint/util/__init__.py", line 1737, in wrapper return f(*args, **kwargs) File "/home/pi/oprint/lib/python3.7/site-packages/octoprint_octodashcompanion/__init__.py", line 39, in on_settings_load with open(self.config_file) as file: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.config/octodash/config.json' 2022-01-07 13:18:17,028 - octoprint.plugins.octodashcompanion - INFO - attempting open of /home/pi/.config/octodash/config.json. 2022-01-07 13:18:17,028 - octoprint.server.api.settings - ERROR - Could not load settings for plugin OctoDash Companion (0.0.6) Traceback (most recent call last): File "/home/pi/oprint/lib/python3.7/site-packages/octoprint/server/api/settings.py", line 372, in _get_plugin_settings result = plugin.on_settings_load() File "/home/pi/oprint/lib/python3.7/site-packages/octoprint/util/__init__.py", line 1737, in wrapper return f(*args, **kwargs) File "/home/pi/oprint/lib/python3.7/site-packages/octoprint_octodashcompanion/__init__.py", line 39, in on_settings_load with open(self.config_file) as file: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.config/octodash/config.json'
Hi, sorry. Here is a logfile including a printjob. OctoDash is fixed. It was not installed anymore. Thank you. ;) octoprint.log
In the log I can see that the tracking of the filament works:
But it looks like the PJH could not read the data. I will move this issue the PJH repository.
Hi, I found in the logs that the needed filament was not provided by octoprint. That is the reason why the spool information is not tracked.
INFO - There is no calculated filament data in meta-file
The calculation is done during an "analyse-phase". The result is stored in the upload folder like this:
<OP>/uploads/metadata.json
"3DBenchy.gcode": {
"DisplayLayerProgress": {
"totalLayerCountWithoutOffset": "159"
},
"analysis": {
"estimatedPrintTime": 3529.315478428196,
"printingArea": {
"maxZ": 48.05,
"maxX": 119.791,
"maxY": 122.755,
"minX": 20.0,
"minY": 50.0,
"minZ": 0.3
},
"dimensions": {
"width": 99.791,
"depth": 72.755,
"height": 47.75
},
"filament": {
"tool0": {
"volume": 10.928834037976793,
"length": 4543.68119999991
}
}
},
Please check if the "analyse-feature" is activated like this:
Hi, the setting was not checked on always, but this with "always, it is not working octoprint.log .
I did a new installation (switch from octopi to octoprint-docker) with new settings, only backup from spool manager. It is working now.
Spool is selected for printing.![image](https://user-images.githubusercontent.com/10706472/144146278-a52d94ba-2735-41f7-911c-a387d0999200.png)
But in the finished print dialog it's not recognized. Stop working from one day to another. Reinstalled PrintJobHistory plugin and Sppol Manager.
Tried with different spools.