-
Notifications
You must be signed in to change notification settings - Fork 26
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
Log is filling with errors #57
Comments
Please check with latest, thanks |
Unfortunately the same error. Failed to set printer consumable usage data (HP MFP M225dw @xxx.Xxx.Xxx.Xxx), Error: 'str' object has no attribute 'get', Line: 279 |
Please provide debug files so I'll be able to reproduce (instructions are in the readme) Thanks |
Log Details (ERROR) Error doing job: Task exception was never retrieved |
It happened when changed to debug |
Log Details (ERROR) Failed to load BlueIris, error: Unable to find service logger/set_level, line: 32 |
Can you do that manually? Seems like logger component is not running |
any updates? |
Hi, I have the same error. Here are the debug logs associated with the error. The component is issuing those errors each minute. 2020-05-11 12:40:25 DEBUG (MainThread) [custom_components.hpprinter.managers.home_assistant] Updating @2020-05-11 12:40:25.009881+00:00 |
Hi, I have the same error too. The error occurring in a fresh installation of HassOS 3.13 with Home Assistant version 0.109.6 I connected an HP Laserjet Pro MFP M125nw and in the device card I found this entities: HP Printer Connectivity : Connesso but the log file is full of messages like this: 2020-05-17 16:16:38 ERROR (MainThread) [custom_components.hpprinter.managers.HPDeviceData] Failed to set printer consumable usage data (HP Printer @192.168.xxx.xxx), Error: 'str' object has no attribute 'get', Line: 279 which are repeating 5 times every 60 seconds. |
Please check the latest, if it happens, please post logs at debug level to better understand the issue thanks |
Well... I've installed again the integration from HACS repository; I've overwritten all files with the version downloaded from github (latest version); I've set the Log Level to DEBUG and restarted Home Assistant; this is the error which appears in the log file: **_2020-05-17 20:01:58 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for shelly which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant. 2020-05-17 20:02:10 ERROR (MainThread) [custom_components.hpprinter] Failed to load HP Printer, error: Unable to find service logger/set_level, line: 32 |
please add it to the configuration YAML, didn't you use the HACS for the installation? |
I've installed the integration from the relative HACS menu; after that, I've overwritten the installed files with the files in your repository to be sure to have the latest version but the error is present even if I use the first files. If you prefer, I remove all files and redownload the integration from HACS; I set again the Log level to DEBUG and will report the results. the "Basic configuration steps" tell me of " In case you are already using that integration with YAML Configuration - please remove it " and I followed this indication... which instruction you want to insert in the configuration.yaml file? |
Seems that you installed it correctly, defined it from Integrations and configuration YAML not contains hp_printer:, |
upgrade after today's new version 2020-05-18 14:31:11 ERROR (MainThread) [custom_components.hpprinter.managers.HPDeviceData] Failed to set printer consumable usage data (HP LJPro M125nw @192.168.xxx.xxx), Error: 'str' object has no attribute 'get', Line: 285 When I set the log level in "Debug" mode, into the log file are added these lines: 2020-05-18 14:33:19 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved I hope these informations, helps you to resolve the issue |
can you please debug level in configuration.yaml? |
@rbiasiutti , did you try to set it manually from the configuration.yaml to provide debug level logs? thanks |
no, I'm not have set. |
I set debug for both custom_components.hpprinter and custom_components.hpprinter.managers.HPDeviceData It seems like the error is caused by trying to determine how many color pages have been printed on a black and white printer.
|
Just installed the most recent version (433ee93). The problem is still there. There are error logs at each 30 seconds.
|
@elad-bar i have the issue, alot of error in the log : Failed to set printer consumable usage data (HP Printer @192.168.1.250), Error: 'str' object has no attribute 'get', Line: 287` work with the last HA version 0.115.2 |
@rt400 please provide XML debug files - available in integration's options ( thanks |
@elad-bar I have the same HP LaserJet Pro MFP M125nw that generates error: 2021-05-07 12:07:01 ERROR (MainThread) [custom_components.hpprinter.managers.HPDeviceData] Failed to set printer consumable usage data (HP LaserJet Pro MFP M125nw @laserjet.local), Error: 'str' object has no attribute 'get', Line: 287 Here are the requested .xml files: HP LaserJet Pro MFP M125nw.zip |
The latest v1.0.12 release still produces the same high volume error messages on non-color devices: 2024-01-04 10:20:35.533 ERROR (MainThread) [custom_components.hpprinter.managers.HPDeviceData] Failed to set printer consumable usage data (HP LaserJet Pro MFP M125nw @laserjet.local), Error: 'str' object has no attribute 'get', Line: 287 |
Same for me. |
is it still relevant with v2? thanks |
This issue no longer seems relevant with the 2.x release. I no longer have: "Failed to set printer consumable usage data (HP LaserJet Pro MFP M125nw @laserjet.local), Error: 'str' object has no attribute 'get', Line: 287" errors. |
great thanks |
Log Details (ERROR)
Logger: custom_components.hpprinter.managers.HPDeviceData
Source: custom_components/hpprinter/managers/HPDeviceData.py:82
Integration: HP Printer (documentation)
First occurred: 11:18:09 PM (7 occurrences)
Last logged: 11:18:09 PM
Failed to set printer consumable usage data (HP MFP M225dw @ IP xxx.xxx.xxx.xxx), Error: 'str' object has no attribute 'get', Line: 279
The text was updated successfully, but these errors were encountered: