Imprimante injoignable

bonjour
je trouve plutôt top ce plugin mais malheureusement ne fonctionne pas sur une HL-L3210CW laser.
bonjour au départ je pensai à un souci de SNMP mais il ne semble pas d’autant que le service est actif, si vous avez une idée ?
cordialement CARI

[2023-06-03 16:18:37][INFO] : Lancement script Brother : LOGLEVEL=debug CALLBACK='http://localhost:80/plugins/brother/core/php/callback.php?apikey=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXId=514' python3 /var/www/html/plugins/brother/resources/jeeBrother.py 192.168.1.42 laser  >> /var/www/html/core/class/../../log/brother 2>&1 &
/usr/local/lib/python3.7/dist-packages/requests/__init__.py:91: RequestsDependencyWarning: urllib3 (2.0.2) or chardet (3.0.4) doesn't match a supported version!
  RequestsDependencyWarning)
DEBUG:brother:Using host: 192.168.1.42
ERROR:asyncio:Exception in callback AbstractTransportDispatcher._cbFun(<pysnmp.carri...x7fb8a9532f60>, ('192.168.1.42', 161), b"0\x82\x02\x...0\x00\x00\xff")
handle: <Handle AbstractTransportDispatcher._cbFun(<pysnmp.carri...x7fb8a9532f60>, ('192.168.1.42', 161), b"0\x82\x02\x...0\x00\x00\xff")>
Traceback (most recent call last):
  File "/usr/lib/python3.7/asyncio/events.py", line 88, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/local/lib/python3.7/dist-packages/pysnmp/carrier/base.py", line 85, in _cbFun
    self, transportDomain, transportAddress, incomingMessage
  File "/usr/local/lib/python3.7/dist-packages/pysnmp/entity/engine.py", line 152, in __receiveMessageCbFun
    self, transportDomain, transportAddress, wholeMsg
  File "/usr/local/lib/python3.7/dist-packages/pysnmp/proto/rfc3412.py", line 291, in receiveMessage
    msgVersion = verdec.decodeMessageVersion(wholeMsg)
  File "/usr/local/lib/python3.7/dist-packages/pysnmp/proto/api/verdec.py", line 17, in decodeMessageVersion
    recursiveFlag=False, substrateFun=lambda a, b, c: (a, b[:c])
  File "/usr/local/lib/python3.7/dist-packages/pyasn1/codec/ber/decoder.py", line 2003, in __call__
    for asn1Object in streamingDecoder:
  File "/usr/local/lib/python3.7/dist-packages/pyasn1/codec/ber/decoder.py", line 1919, in __iter__
    self._substrate, self._asn1Spec, **self._options):
  File "/usr/local/lib/python3.7/dist-packages/pyasn1/codec/ber/decoder.py", line 1781, in __call__
    self, substrateFun, **options):
  File "/usr/local/lib/python3.7/dist-packages/pyasn1/codec/ber/decoder.py", line 654, in valueDecoder
    for chunk in substrateFun(asn1Object, substrate, length, options):
TypeError: <lambda>() takes 3 positional arguments but 4 were given
ERROR:asyncio:Exception in callback AbstractTransportDispatcher._cbFun(<pysnmp.carri...x7fb8a9532f60>, ('192.168.1.42', 161), b"0\x82\x02\x...0\x00\x00\xff")
handle: <Handle AbstractTransportDispatcher._cbFun(<pysnmp.carri...x7fb8a9532f60>, ('192.168.1.42', 161), b"0\x82\x02\x...0\x00\x00\xff")>
Traceback (most recent call last):
  File "/usr/lib/python3.7/asyncio/events.py", line 88, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/local/lib/python3.7/dist-packages/pysnmp/carrier/base.py", line 85, in _cbFun
    self, transportDomain, transportAddress, incomingMessage
  File "/usr/local/lib/python3.7/dist-packages/pysnmp/entity/engine.py", line 152, in __receiveMessageCbFun
    self, transportDomain, transportAddress, wholeMsg
  File "/usr/local/lib/python3.7/dist-packages/pysnmp/proto/rfc3412.py", line 291, in receiveMessage
    msgVersion = verdec.decodeMessageVersion(wholeMsg)
  File "/usr/local/lib/python3.7/dist-packages/pysnmp/proto/api/verdec.py", line 17, in decodeMessageVersion
    recursiveFlag=False, substrateFun=lambda a, b, c: (a, b[:c])
  File "/usr/local/lib/python3.7/dist-packages/pyasn1/codec/ber/decoder.py", line 2003, in __call__
    for asn1Object in streamingDecoder:
  File "/usr/local/lib/python3.7/dist-packages/pyasn1/codec/ber/decoder.py", line 1919, in __iter__
    self._substrate, self._asn1Spec, **self._options):
  File "/usr/local/lib/python3.7/dist-packages/pyasn1/codec/ber/decoder.py", line 1781, in __call__
    self, substrateFun, **options):
  File "/usr/local/lib/python3.7/dist-packages/pyasn1/codec/ber/decoder.py", line 654, in valueDecoder
    for chunk in substrateFun(asn1Object, substrate, length, options):
TypeError: <lambda>() takes 3 positional arguments but 4 were given
ERROR:asyncio:Exception in callback AbstractTransportDispatcher._cbFun(<pysnmp.carri...x7fb8a9532f60>, ('192.168.1.42', 161), b"0\x82\x02\x...0\x00\x00\xff")
handle: <Handle AbstractTransportDispatcher._cbFun(<pysnmp.carri...x7fb8a9532f60>, ('192.168.1.42', 161), b"0\x82\x02\x...0\x00\x00\xff")>
Traceback (most recent call last):
  File "/usr/lib/python3.7/asyncio/events.py", line 88, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/local/lib/python3.7/dist-packages/pysnmp/carrier/base.py", line 85, in _cbFun
    self, transportDomain, transportAddress, incomingMessage
  File "/usr/local/lib/python3.7/dist-packages/pysnmp/entity/engine.py", line 152, in __receiveMessageCbFun
    self, transportDomain, transportAddress, wholeMsg
  File "/usr/local/lib/python3.7/dist-packages/pysnmp/proto/rfc3412.py", line 291, in receiveMessage
    msgVersion = verdec.decodeMessageVersion(wholeMsg)
  File "/usr/local/lib/python3.7/dist-packages/pysnmp/proto/api/verdec.py", line 17, in decodeMessageVersion
    recursiveFlag=False, substrateFun=lambda a, b, c: (a, b[:c])
  File "/usr/local/lib/python3.7/dist-packages/pyasn1/codec/ber/decoder.py", line 2003, in __call__
    for asn1Object in streamingDecoder:
  File "/usr/local/lib/python3.7/dist-packages/pyasn1/codec/ber/decoder.py", line 1919, in __iter__
    self._substrate, self._asn1Spec, **self._options):
  File "/usr/local/lib/python3.7/dist-packages/pyasn1/codec/ber/decoder.py", line 1781, in __call__
    self, substrateFun, **options):
  File "/usr/local/lib/python3.7/dist-packages/pyasn1/codec/ber/decoder.py", line 654, in valueDecoder
    for chunk in substrateFun(asn1Object, substrate, length, options):
TypeError: <lambda>() takes 3 positional arguments but 4 were given
ERROR:asyncio:Exception in callback AbstractTransportDispatcher._cbFun(<pysnmp.carri...x7fb8a9532f60>, ('192.168.1.42', 161), b"0\x82\x02\x...0\x00\x00\xff")
handle: <Handle AbstractTransportDispatcher._cbFun(<pysnmp.carri...x7fb8a9532f60>, ('192.168.1.42', 161), b"0\x82\x02\x...0\x00\x00\xff")>
Traceback (most recent call last):
  File "/usr/lib/python3.7/asyncio/events.py", line 88, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/local/lib/python3.7/dist-packages/pysnmp/carrier/base.py", line 85, in _cbFun
    self, transportDomain, transportAddress, incomingMessage
  File "/usr/local/lib/python3.7/dist-packages/pysnmp/entity/engine.py", line 152, in __receiveMessageCbFun
    self, transportDomain, transportAddress, wholeMsg
  File "/usr/local/lib/python3.7/dist-packages/pysnmp/proto/rfc3412.py", line 291, in receiveMessage
    msgVersion = verdec.decodeMessageVersion(wholeMsg)
  File "/usr/local/lib/python3.7/dist-packages/pysnmp/proto/api/verdec.py", line 17, in decodeMessageVersion
    recursiveFlag=False, substrateFun=lambda a, b, c: (a, b[:c])
  File "/usr/local/lib/python3.7/dist-packages/pyasn1/codec/ber/decoder.py", line 2003, in __call__
    for asn1Object in streamingDecoder:
  File "/usr/local/lib/python3.7/dist-packages/pyasn1/codec/ber/decoder.py", line 1919, in __iter__
    self._substrate, self._asn1Spec, **self._options):
  File "/usr/local/lib/python3.7/dist-packages/pyasn1/codec/ber/decoder.py", line 1781, in __call__
    self, substrateFun, **options):
  File "/usr/local/lib/python3.7/dist-packages/pyasn1/codec/ber/decoder.py", line 654, in valueDecoder
    for chunk in substrateFun(asn1Object, substrate, length, options):
TypeError: <lambda>() takes 3 positional arguments but 4 were given
ERROR:asyncio:Exception in callback AbstractTransportDispatcher._cbFun(<pysnmp.carri...x7fb8a9532f60>, ('192.168.1.42', 161), b"0\x82\x02\x...0\x00\x00\xff")
handle: <Handle AbstractTransportDispatcher._cbFun(<pysnmp.carri...x7fb8a9532f60>, ('192.168.1.42', 161), b"0\x82\x02\x...0\x00\x00\xff")>
Traceback (most recent call last):
  File "/usr/lib/python3.7/asyncio/events.py", line 88, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/local/lib/python3.7/dist-packages/pysnmp/carrier/base.py", line 85, in _cbFun
    self, transportDomain, transportAddress, incomingMessage
  File "/usr/local/lib/python3.7/dist-packages/pysnmp/entity/engine.py", line 152, in __receiveMessageCbFun
    self, transportDomain, transportAddress, wholeMsg
  File "/usr/local/lib/python3.7/dist-packages/pysnmp/proto/rfc3412.py", line 291, in receiveMessage
    msgVersion = verdec.decodeMessageVersion(wholeMsg)
  File "/usr/local/lib/python3.7/dist-packages/pysnmp/proto/api/verdec.py", line 17, in decodeMessageVersion
    recursiveFlag=False, substrateFun=lambda a, b, c: (a, b[:c])
  File "/usr/local/lib/python3.7/dist-packages/pyasn1/codec/ber/decoder.py", line 2003, in __call__
    for asn1Object in streamingDecoder:
  File "/usr/local/lib/python3.7/dist-packages/pyasn1/codec/ber/decoder.py", line 1919, in __iter__
    self._substrate, self._asn1Spec, **self._options):
  File "/usr/local/lib/python3.7/dist-packages/pyasn1/codec/ber/decoder.py", line 1781, in __call__
    self, substrateFun, **options):
  File "/usr/local/lib/python3.7/dist-packages/pyasn1/codec/ber/decoder.py", line 654, in valueDecoder
    for chunk in substrateFun(asn1Object, substrate, length, options):
TypeError: <lambda>() takes 3 positional arguments but 4 were given
ERROR:asyncio:Exception in callback AbstractTransportDispatcher._cbFun(<pysnmp.carri...x7fb8a9532f60>, ('192.168.1.42', 161), b"0\x82\x02\x...0\x00\x00\xff")
handle: <Handle AbstractTransportDispatcher._cbFun(<pysnmp.carri...x7fb8a9532f60>, ('192.168.1.42', 161), b"0\x82\x02\x...0\x00\x00\xff")>
Traceback (most recent call last):
  File "/usr/lib/python3.7/asyncio/events.py", line 88, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/local/lib/python3.7/dist-packages/pysnmp/carrier/base.py", line 85, in _cbFun
    self, transportDomain, transportAddress, incomingMessage
  File "/usr/local/lib/python3.7/dist-packages/pysnmp/entity/engine.py", line 152, in __receiveMessageCbFun
    self, transportDomain, transportAddress, wholeMsg
  File "/usr/local/lib/python3.7/dist-packages/pysnmp/proto/rfc3412.py", line 291, in receiveMessage
    msgVersion = verdec.decodeMessageVersion(wholeMsg)
  File "/usr/local/lib/python3.7/dist-packages/pysnmp/proto/api/verdec.py", line 17, in decodeMessageVersion
    recursiveFlag=False, substrateFun=lambda a, b, c: (a, b[:c])
  File "/usr/local/lib/python3.7/dist-packages/pyasn1/codec/ber/decoder.py", line 2003, in __call__
    for asn1Object in streamingDecoder:
  File "/usr/local/lib/python3.7/dist-packages/pyasn1/codec/ber/decoder.py", line 1919, in __iter__
    self._substrate, self._asn1Spec, **self._options):
  File "/usr/local/lib/python3.7/dist-packages/pyasn1/codec/ber/decoder.py", line 1781, in __call__
    self, substrateFun, **options):
  File "/usr/local/lib/python3.7/dist-packages/pyasn1/codec/ber/decoder.py", line 654, in valueDecoder
    for chunk in substrateFun(asn1Object, substrate, length, options):
TypeError: <lambda>() takes 3 positional arguments but 4 were given
ERROR:asyncio:Exception in callback AbstractTransportDispatcher._cbFun(<pysnmp.carri...x7fb8a9532f60>, ('192.168.1.42', 161), b"0\x82\x02\x...0\x00\x00\xff")
handle: <Handle AbstractTransportDispatcher._cbFun(<pysnmp.carri...x7fb8a9532f60>, ('192.168.1.42', 161), b"0\x82\x02\x...0\x00\x00\xff")>
Traceback (most recent call last):
  File "/usr/lib/python3.7/asyncio/events.py", line 88, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/local/lib/python3.7/dist-packages/pysnmp/carrier/base.py", line 85, in _cbFun
    self, transportDomain, transportAddress, incomingMessage
  File "/usr/local/lib/python3.7/dist-packages/pysnmp/entity/engine.py", line 152, in __receiveMessageCbFun
    self, transportDomain, transportAddress, wholeMsg
  File "/usr/local/lib/python3.7/dist-packages/pysnmp/proto/rfc3412.py", line 291, in receiveMessage
    msgVersion = verdec.decodeMessageVersion(wholeMsg)
  File "/usr/local/lib/python3.7/dist-packages/pysnmp/proto/api/verdec.py", line 17, in decodeMessageVersion
    recursiveFlag=False, substrateFun=lambda a, b, c: (a, b[:c])
  File "/usr/local/lib/python3.7/dist-packages/pyasn1/codec/ber/decoder.py", line 2003, in __call__
    for asn1Object in streamingDecoder:
  File "/usr/local/lib/python3.7/dist-packages/pyasn1/codec/ber/decoder.py", line 1919, in __iter__
    self._substrate, self._asn1Spec, **self._options):
  File "/usr/local/lib/python3.7/dist-packages/pyasn1/codec/ber/decoder.py", line 1781, in __call__
    self, substrateFun, **options):
  File "/usr/local/lib/python3.7/dist-packages/pyasn1/codec/ber/decoder.py", line 654, in valueDecoder
    for chunk in substrateFun(asn1Object, substrate, length, options):
TypeError: <lambda>() takes 3 positional arguments but 4 were given
ERROR:asyncio:Exception in callback AbstractTransportDispatcher._cbFun(<pysnmp.carri...x7fb8a9532f60>, ('192.168.1.42', 161), b"0\x82\x02\x...0\x00\x00\xff")
handle: <Handle AbstractTransportDispatcher._cbFun(<pysnmp.carri...x7fb8a9532f60>, ('192.168.1.42', 161), b"0\x82\x02\x...0\x00\x00\xff")>
Traceback (most recent call last):
  File "/usr/lib/python3.7/asyncio/events.py", line 88, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/local/lib/python3.7/dist-packages/pysnmp/carrier/base.py", line 85, in _cbFun
    self, transportDomain, transportAddress, incomingMessage
  File "/usr/local/lib/python3.7/dist-packages/pysnmp/entity/engine.py", line 152, in __receiveMessageCbFun
    self, transportDomain, transportAddress, wholeMsg
  File "/usr/local/lib/python3.7/dist-packages/pysnmp/proto/rfc3412.py", line 291, in receiveMessage
    msgVersion = verdec.decodeMessageVersion(wholeMsg)
  File "/usr/local/lib/python3.7/dist-packages/pysnmp/proto/api/verdec.py", line 17, in decodeMessageVersion
    recursiveFlag=False, substrateFun=lambda a, b, c: (a, b[:c])
  File "/usr/local/lib/python3.7/dist-packages/pyasn1/codec/ber/decoder.py", line 2003, in __call__
    for asn1Object in streamingDecoder:
  File "/usr/local/lib/python3.7/dist-packages/pyasn1/codec/ber/decoder.py", line 1919, in __iter__
    self._substrate, self._asn1Spec, **self._options):
  File "/usr/local/lib/python3.7/dist-packages/pyasn1/codec/ber/decoder.py", line 1781, in __call__
    self, substrateFun, **options):
  File "/usr/local/lib/python3.7/dist-packages/pyasn1/codec/ber/decoder.py", line 654, in valueDecoder
    for chunk in substrateFun(asn1Object, substrate, length, options):
TypeError: <lambda>() takes 3 positional arguments but 4 were given
ERROR:asyncio:Exception in callback AbstractTransportDispatcher._cbFun(<pysnmp.carri...x7fb8a9532f60>, ('192.168.1.42', 161), b"0\x82\x02\x...0\x00\x00\xff")
handle: <Handle AbstractTransportDispatcher._cbFun(<pysnmp.carri...x7fb8a9532f60>, ('192.168.1.42', 161), b"0\x82\x02\x...0\x00\x00\xff")>
Traceback (most recent call last):
  File "/usr/lib/python3.7/asyncio/events.py", line 88, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/local/lib/python3.7/dist-packages/pysnmp/carrier/base.py", line 85, in _cbFun
    self, transportDomain, transportAddress, incomingMessage
  File "/usr/local/lib/python3.7/dist-packages/pysnmp/entity/engine.py", line 152, in __receiveMessageCbFun
    self, transportDomain, transportAddress, wholeMsg
  File "/usr/local/lib/python3.7/dist-packages/pysnmp/proto/rfc3412.py", line 291, in receiveMessage
    msgVersion = verdec.decodeMessageVersion(wholeMsg)
  File "/usr/local/lib/python3.7/dist-packages/pysnmp/proto/api/verdec.py", line 17, in decodeMessageVersion
    recursiveFlag=False, substrateFun=lambda a, b, c: (a, b[:c])
  File "/usr/local/lib/python3.7/dist-packages/pyasn1/codec/ber/decoder.py", line 2003, in __call__
    for asn1Object in streamingDecoder:
  File "/usr/local/lib/python3.7/dist-packages/pyasn1/codec/ber/decoder.py", line 1919, in __iter__
    self._substrate, self._asn1Spec, **self._options):
  File "/usr/local/lib/python3.7/dist-packages/pyasn1/codec/ber/decoder.py", line 1781, in __call__
    self, substrateFun, **options):
  File "/usr/local/lib/python3.7/dist-packages/pyasn1/codec/ber/decoder.py", line 654, in valueDecoder
    for chunk in substrateFun(asn1Object, substrate, length, options):
TypeError: <lambda>() takes 3 positional arguments but 4 were given
ERROR:asyncio:Exception in callback AbstractTransportDispatcher._cbFun(<pysnmp.carri...x7fb8a9532f60>, ('192.168.1.42', 161), b"0\x82\x02\x...0\x00\x00\xff")
handle: <Handle AbstractTransportDispatcher._cbFun(<pysnmp.carri...x7fb8a9532f60>, ('192.168.1.42', 161), b"0\x82\x02\x...0\x00\x00\xff")>
Traceback (most recent call last):
  File "/usr/lib/python3.7/asyncio/events.py", line 88, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/local/lib/python3.7/dist-packages/pysnmp/carrier/base.py", line 85, in _cbFun
    self, transportDomain, transportAddress, incomingMessage
  File "/usr/local/lib/python3.7/dist-packages/pysnmp/entity/engine.py", line 152, in __receiveMessageCbFun
    self, transportDomain, transportAddress, wholeMsg
  File "/usr/local/lib/python3.7/dist-packages/pysnmp/proto/rfc3412.py", line 291, in receiveMessage
    msgVersion = verdec.decodeMessageVersion(wholeMsg)
  File "/usr/local/lib/python3.7/dist-packages/pysnmp/proto/api/verdec.py", line 17, in decodeMessageVersion
    recursiveFlag=False, substrateFun=lambda a, b, c: (a, b[:c])
  File "/usr/local/lib/python3.7/dist-packages/pyasn1/codec/ber/decoder.py", line 2003, in __call__
    for asn1Object in streamingDecoder:
  File "/usr/local/lib/python3.7/dist-packages/pyasn1/codec/ber/decoder.py", line 1919, in __iter__
    self._substrate, self._asn1Spec, **self._options):
  File "/usr/local/lib/python3.7/dist-packages/pyasn1/codec/ber/decoder.py", line 1781, in __call__
    self, substrateFun, **options):
  File "/usr/local/lib/python3.7/dist-packages/pyasn1/codec/ber/decoder.py", line 654, in valueDecoder
    for chunk in substrateFun(asn1Object, substrate, length, options):
TypeError: <lambda>() takes 3 positional arguments but 4 were given
ERROR:asyncio:Exception in callback AbstractTransportDispatcher._cbFun(<pysnmp.carri...x7fb8a9532f60>, ('192.168.1.42', 161), b"0\x82\x02\x...0\x00\x00\xff")
handle: <Handle AbstractTransportDispatcher._cbFun(<pysnmp.carri...x7fb8a9532f60>, ('192.168.1.42', 161), b"0\x82\x02\x...0\x00\x00\xff")>
Traceback (most recent call last):
  File "/usr/lib/python3.7/asyncio/events.py", line 88, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/local/lib/python3.7/dist-packages/pysnmp/carrier/base.py", line 85, in _cbFun
    self, transportDomain, transportAddress, incomingMessage
  File "/usr/local/lib/python3.7/dist-packages/pysnmp/entity/engine.py", line 152, in __receiveMessageCbFun
    self, transportDomain, transportAddress, wholeMsg
  File "/usr/local/lib/python3.7/dist-packages/pysnmp/proto/rfc3412.py", line 291, in receiveMessage
    msgVersion = verdec.decodeMessageVersion(wholeMsg)
  File "/usr/local/lib/python3.7/dist-packages/pysnmp/proto/api/verdec.py", line 17, in decodeMessageVersion
    recursiveFlag=False, substrateFun=lambda a, b, c: (a, b[:c])
  File "/usr/local/lib/python3.7/dist-packages/pyasn1/codec/ber/decoder.py", line 2003, in __call__
    for asn1Object in streamingDecoder:
  File "/usr/local/lib/python3.7/dist-packages/pyasn1/codec/ber/decoder.py", line 1919, in __iter__
    self._substrate, self._asn1Spec, **self._options):
  File "/usr/local/lib/python3.7/dist-packages/pyasn1/codec/ber/decoder.py", line 1781, in __call__
    self, substrateFun, **options):
  File "/usr/local/lib/python3.7/dist-packages/pyasn1/codec/ber/decoder.py", line 654, in valueDecoder
    for chunk in substrateFun(asn1Object, substrate, length, options):
TypeError: <lambda>() takes 3 positional arguments but 4 were given
ERROR:root:No SNMP response received before timeout
DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): localhost:80
[2023-06-03 16:19:00][DEBUG] : Données reçues en callback '{"unreachable": true}'
[2023-06-03 16:19:00][DEBUG] : [Technique][HL-L3210CW BROTHER LASER] data content: {"unreachable": true}
[2023-06-03 16:19:01][INFO] : [Technique][HL-L3210CW BROTHER LASER] record value for status: Injoignable
DEBUG:urllib3.connectionpool:http://localhost:80 "POST /plugins/brother/core/php/callback.php?apikey=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXId=514 HTTP/1.1" 200 0

Bonjour @CARI,

Merci d’utiliser le plugin et désolé que tu rencontres des problèmes avec !

Peux-tu m’en dire plus sur ton installation Jeedom (page santé, type de système, etc) stp ?
Est-ce que tu as d’autres imprimantes fonctionnelles avec le plugin sur le même Jeedom ?

As-tu essayé de réinstaller les dépendances ?
J’ai l’impression qu’il y a un souci avec urllib :

RequestsDependencyWarning: urllib3 (2.0.2) or chardet (3.0.4) doesn't match a supported version!

Bad

Salut je suis sur un serveur qnap en virtuel, non je n’ai que cette imprimante.
les 2 noks correspondent à jeedom connect et signal messenger mais il fonctionne quand même.
Pour jeedom connect c’est parce que je n’ai pas active le websocket et signal messenger ??? je ne sais pas pourquoi mais comme j’ai dit plus haut il fonctionne quand même.

sinon oui j’ai essayé en stable et beta et relancé les dépendances.

pi: je suis en wifi je ne sais pas si cela a d’importance
voila si tu as besoin d’autres info dit moi

image

Bonjour,

Même soucis pour moi avec il semblerait des logs similaire:

ERROR:asyncio:Exception in callback AbstractTransportDispatcher._cbFun(<pysnmp.carri...x7f5619e0ee80>, ('192.168.0.178', 161), b'0\x82\x02\x...\x00\x01s\xff')
handle: <Handle AbstractTransportDispatcher._cbFun(<pysnmp.carri...x7f5619e0ee80>, ('192.168.0.178', 161), b'0\x82\x02\x...\x00\x01s\xff')>
Traceback (most recent call last):
  File "/usr/lib/python3.7/asyncio/events.py", line 88, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/local/lib/python3.7/dist-packages/pysnmp/carrier/base.py", line 85, in _cbFun
    self, transportDomain, transportAddress, incomingMessage
  File "/usr/local/lib/python3.7/dist-packages/pysnmp/entity/engine.py", line 152, in __receiveMessageCbFun
    self, transportDomain, transportAddress, wholeMsg
  File "/usr/local/lib/python3.7/dist-packages/pysnmp/proto/rfc3412.py", line 291, in receiveMessage
    msgVersion = verdec.decodeMessageVersion(wholeMsg)
  File "/usr/local/lib/python3.7/dist-packages/pysnmp/proto/api/verdec.py", line 17, in decodeMessageVersion
    recursiveFlag=False, substrateFun=lambda a, b, c: (a, b[:c])
  File "/usr/local/lib/python3.7/dist-packages/pyasn1/codec/ber/decoder.py", line 2003, in __call__
    for asn1Object in streamingDecoder:
  File "/usr/local/lib/python3.7/dist-packages/pyasn1/codec/ber/decoder.py", line 1919, in __iter__
    self._substrate, self._asn1Spec, **self._options):
  File "/usr/local/lib/python3.7/dist-packages/pyasn1/codec/ber/decoder.py", line 1781, in __call__
    self, substrateFun, **options):
  File "/usr/local/lib/python3.7/dist-packages/pyasn1/codec/ber/decoder.py", line 654, in valueDecoder
    for chunk in substrateFun(asn1Object, substrate, length, options):
TypeError: <lambda>() takes 3 positional arguments but 4 were given
ERROR:asyncio:Exception in callback AbstractTransportDispatcher._cbFun(<pysnmp.carri...x7f5619e0ee80>, ('192.168.0.178', 161), b'0\x82\x02\x...\x00\x01s\xff')
handle: <Handle AbstractTransportDispatcher._cbFun(<pysnmp.carri...x7f5619e0ee80>, ('192.168.0.178', 161), b'0\x82\x02\x...\x00\x01s\xff')>
Traceback (most recent call last):
  File "/usr/lib/python3.7/asyncio/events.py", line 88, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/local/lib/python3.7/dist-packages/pysnmp/carrier/base.py", line 85, in _cbFun
    self, transportDomain, transportAddress, incomingMessage
  File "/usr/local/lib/python3.7/dist-packages/pysnmp/entity/engine.py", line 152, in __receiveMessageCbFun
    self, transportDomain, transportAddress, wholeMsg
  File "/usr/local/lib/python3.7/dist-packages/pysnmp/proto/rfc3412.py", line 291, in receiveMessage
    msgVersion = verdec.decodeMessageVersion(wholeMsg)
  File "/usr/local/lib/python3.7/dist-packages/pysnmp/proto/api/verdec.py", line 17, in decodeMessageVersion
    recursiveFlag=False, substrateFun=lambda a, b, c: (a, b[:c])
  File "/usr/local/lib/python3.7/dist-packages/pyasn1/codec/ber/decoder.py", line 2003, in __call__
    for asn1Object in streamingDecoder:
  File "/usr/local/lib/python3.7/dist-packages/pyasn1/codec/ber/decoder.py", line 1919, in __iter__
    self._substrate, self._asn1Spec, **self._options):
  File "/usr/local/lib/python3.7/dist-packages/pyasn1/codec/ber/decoder.py", line 1781, in __call__
    self, substrateFun, **options):
  File "/usr/local/lib/python3.7/dist-packages/pyasn1/codec/ber/decoder.py", line 654, in valueDecoder
    for chunk in substrateFun(asn1Object, substrate, length, options):
TypeError: <lambda>() takes 3 positional arguments but 4 were given
ERROR:asyncio:Exception in callback AbstractTransportDispatcher._cbFun(<pysnmp.carri...x7f5619e0ee80>, ('192.168.0.178', 161), b'0\x82\x02\x...\x00\x01s\xff')
handle: <Handle AbstractTransportDispatcher._cbFun(<pysnmp.carri...x7f5619e0ee80>, ('192.168.0.178', 161), b'0\x82\x02\x...\x00\x01s\xff')>
Traceback (most recent call last):
  File "/usr/lib/python3.7/asyncio/events.py", line 88, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/local/lib/python3.7/dist-packages/pysnmp/carrier/base.py", line 85, in _cbFun
    self, transportDomain, transportAddress, incomingMessage
  File "/usr/local/lib/python3.7/dist-packages/pysnmp/entity/engine.py", line 152, in __receiveMessageCbFun
    self, transportDomain, transportAddress, wholeMsg
  File "/usr/local/lib/python3.7/dist-packages/pysnmp/proto/rfc3412.py", line 291, in receiveMessage
    msgVersion = verdec.decodeMessageVersion(wholeMsg)
  File "/usr/local/lib/python3.7/dist-packages/pysnmp/proto/api/verdec.py", line 17, in decodeMessageVersion
    recursiveFlag=False, substrateFun=lambda a, b, c: (a, b[:c])
  File "/usr/local/lib/python3.7/dist-packages/pyasn1/codec/ber/decoder.py", line 2003, in __call__
    for asn1Object in streamingDecoder:
  File "/usr/local/lib/python3.7/dist-packages/pyasn1/codec/ber/decoder.py", line 1919, in __iter__
    self._substrate, self._asn1Spec, **self._options):
  File "/usr/local/lib/python3.7/dist-packages/pyasn1/codec/ber/decoder.py", line 1781, in __call__
    self, substrateFun, **options):
  File "/usr/local/lib/python3.7/dist-packages/pyasn1/codec/ber/decoder.py", line 654, in valueDecoder
    for chunk in substrateFun(asn1Object, substrate, length, options):
TypeError: <lambda>() takes 3 positional arguments but 4 were given
ERROR:asyncio:Exception in callback AbstractTransportDispatcher._cbFun(<pysnmp.carri...x7f5619e0ee80>, ('192.168.0.178', 161), b'0\x82\x02\x...\x00\x01s\xff')
handle: <Handle AbstractTransportDispatcher._cbFun(<pysnmp.carri...x7f5619e0ee80>, ('192.168.0.178', 161), b'0\x82\x02\x...\x00\x01s\xff')>
Traceback (most recent call last):
  File "/usr/lib/python3.7/asyncio/events.py", line 88, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/local/lib/python3.7/dist-packages/pysnmp/carrier/base.py", line 85, in _cbFun
    self, transportDomain, transportAddress, incomingMessage
  File "/usr/local/lib/python3.7/dist-packages/pysnmp/entity/engine.py", line 152, in __receiveMessageCbFun
    self, transportDomain, transportAddress, wholeMsg
  File "/usr/local/lib/python3.7/dist-packages/pysnmp/proto/rfc3412.py", line 291, in receiveMessage
    msgVersion = verdec.decodeMessageVersion(wholeMsg)
  File "/usr/local/lib/python3.7/dist-packages/pysnmp/proto/api/verdec.py", line 17, in decodeMessageVersion
    recursiveFlag=False, substrateFun=lambda a, b, c: (a, b[:c])
  File "/usr/local/lib/python3.7/dist-packages/pyasn1/codec/ber/decoder.py", line 2003, in __call__
    for asn1Object in streamingDecoder:
  File "/usr/local/lib/python3.7/dist-packages/pyasn1/codec/ber/decoder.py", line 1919, in __iter__
    self._substrate, self._asn1Spec, **self._options):
  File "/usr/local/lib/python3.7/dist-packages/pyasn1/codec/ber/decoder.py", line 1781, in __call__
    self, substrateFun, **options):
  File "/usr/local/lib/python3.7/dist-packages/pyasn1/codec/ber/decoder.py", line 654, in valueDecoder
    for chunk in substrateFun(asn1Object, substrate, length, options):
TypeError: <lambda>() takes 3 positional arguments but 4 were given
ERROR:asyncio:Exception in callback AbstractTransportDispatcher._cbFun(<pysnmp.carri...x7f5619e0ee80>, ('192.168.0.178', 161), b'0\x82\x02\x...\x00\x01s\xff')
handle: <Handle AbstractTransportDispatcher._cbFun(<pysnmp.carri...x7f5619e0ee80>, ('192.168.0.178', 161), b'0\x82\x02\x...\x00\x01s\xff')>
Traceback (most recent call last):
  File "/usr/lib/python3.7/asyncio/events.py", line 88, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/local/lib/python3.7/dist-packages/pysnmp/carrier/base.py", line 85, in _cbFun
    self, transportDomain, transportAddress, incomingMessage
  File "/usr/local/lib/python3.7/dist-packages/pysnmp/entity/engine.py", line 152, in __receiveMessageCbFun
    self, transportDomain, transportAddress, wholeMsg
  File "/usr/local/lib/python3.7/dist-packages/pysnmp/proto/rfc3412.py", line 291, in receiveMessage
    msgVersion = verdec.decodeMessageVersion(wholeMsg)
  File "/usr/local/lib/python3.7/dist-packages/pysnmp/proto/api/verdec.py", line 17, in decodeMessageVersion
    recursiveFlag=False, substrateFun=lambda a, b, c: (a, b[:c])
  File "/usr/local/lib/python3.7/dist-packages/pyasn1/codec/ber/decoder.py", line 2003, in __call__
    for asn1Object in streamingDecoder:
  File "/usr/local/lib/python3.7/dist-packages/pyasn1/codec/ber/decoder.py", line 1919, in __iter__
    self._substrate, self._asn1Spec, **self._options):
  File "/usr/local/lib/python3.7/dist-packages/pyasn1/codec/ber/decoder.py", line 1781, in __call__
    self, substrateFun, **options):
  File "/usr/local/lib/python3.7/dist-packages/pyasn1/codec/ber/decoder.py", line 654, in valueDecoder
    for chunk in substrateFun(asn1Object, substrate, length, options):
TypeError: <lambda>() takes 3 positional arguments but 4 were given
ERROR:asyncio:Exception in callback AbstractTransportDispatcher._cbFun(<pysnmp.carri...x7f5619e0ee80>, ('192.168.0.178', 161), b'0\x82\x02\x...\x00\x01s\xff')
handle: <Handle AbstractTransportDispatcher._cbFun(<pysnmp.carri...x7f5619e0ee80>, ('192.168.0.178', 161), b'0\x82\x02\x...\x00\x01s\xff')>
Traceback (most recent call last):
  File "/usr/lib/python3.7/asyncio/events.py", line 88, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/local/lib/python3.7/dist-packages/pysnmp/carrier/base.py", line 85, in _cbFun
    self, transportDomain, transportAddress, incomingMessage
  File "/usr/local/lib/python3.7/dist-packages/pysnmp/entity/engine.py", line 152, in __receiveMessageCbFun
    self, transportDomain, transportAddress, wholeMsg
  File "/usr/local/lib/python3.7/dist-packages/pysnmp/proto/rfc3412.py", line 291, in receiveMessage
    msgVersion = verdec.decodeMessageVersion(wholeMsg)
  File "/usr/local/lib/python3.7/dist-packages/pysnmp/proto/api/verdec.py", line 17, in decodeMessageVersion
    recursiveFlag=False, substrateFun=lambda a, b, c: (a, b[:c])
  File "/usr/local/lib/python3.7/dist-packages/pyasn1/codec/ber/decoder.py", line 2003, in __call__
    for asn1Object in streamingDecoder:
  File "/usr/local/lib/python3.7/dist-packages/pyasn1/codec/ber/decoder.py", line 1919, in __iter__
    self._substrate, self._asn1Spec, **self._options):
  File "/usr/local/lib/python3.7/dist-packages/pyasn1/codec/ber/decoder.py", line 1781, in __call__
    self, substrateFun, **options):
  File "/usr/local/lib/python3.7/dist-packages/pyasn1/codec/ber/decoder.py", line 654, in valueDecoder
    for chunk in substrateFun(asn1Object, substrate, length, options):
TypeError: <lambda>() takes 3 positional arguments but 4 were given
ERROR:asyncio:Exception in callback AbstractTransportDispatcher._cbFun(<pysnmp.carri...x7f5619e0ee80>, ('192.168.0.178', 161), b'0\x82\x02\x...\x00\x01s\xff')
handle: <Handle AbstractTransportDispatcher._cbFun(<pysnmp.carri...x7f5619e0ee80>, ('192.168.0.178', 161), b'0\x82\x02\x...\x00\x01s\xff')>
Traceback (most recent call last):
  File "/usr/lib/python3.7/asyncio/events.py", line 88, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/local/lib/python3.7/dist-packages/pysnmp/carrier/base.py", line 85, in _cbFun
    self, transportDomain, transportAddress, incomingMessage
  File "/usr/local/lib/python3.7/dist-packages/pysnmp/entity/engine.py", line 152, in __receiveMessageCbFun
    self, transportDomain, transportAddress, wholeMsg
  File "/usr/local/lib/python3.7/dist-packages/pysnmp/proto/rfc3412.py", line 291, in receiveMessage
    msgVersion = verdec.decodeMessageVersion(wholeMsg)
  File "/usr/local/lib/python3.7/dist-packages/pysnmp/proto/api/verdec.py", line 17, in decodeMessageVersion
    recursiveFlag=False, substrateFun=lambda a, b, c: (a, b[:c])
  File "/usr/local/lib/python3.7/dist-packages/pyasn1/codec/ber/decoder.py", line 2003, in __call__
    for asn1Object in streamingDecoder:
  File "/usr/local/lib/python3.7/dist-packages/pyasn1/codec/ber/decoder.py", line 1919, in __iter__
    self._substrate, self._asn1Spec, **self._options):
  File "/usr/local/lib/python3.7/dist-packages/pyasn1/codec/ber/decoder.py", line 1781, in __call__
    self, substrateFun, **options):
  File "/usr/local/lib/python3.7/dist-packages/pyasn1/codec/ber/decoder.py", line 654, in valueDecoder
    for chunk in substrateFun(asn1Object, substrate, length, options):
TypeError: <lambda>() takes 3 positional arguments but 4 were given
ERROR:asyncio:Exception in callback AbstractTransportDispatcher._cbFun(<pysnmp.carri...x7f5619e0ee80>, ('192.168.0.178', 161), b'0\x82\x02\x...\x00\x01s\xff')
handle: <Handle AbstractTransportDispatcher._cbFun(<pysnmp.carri...x7f5619e0ee80>, ('192.168.0.178', 161), b'0\x82\x02\x...\x00\x01s\xff')>
Traceback (most recent call last):
  File "/usr/lib/python3.7/asyncio/events.py", line 88, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/local/lib/python3.7/dist-packages/pysnmp/carrier/base.py", line 85, in _cbFun
    self, transportDomain, transportAddress, incomingMessage
  File "/usr/local/lib/python3.7/dist-packages/pysnmp/entity/engine.py", line 152, in __receiveMessageCbFun
    self, transportDomain, transportAddress, wholeMsg
  File "/usr/local/lib/python3.7/dist-packages/pysnmp/proto/rfc3412.py", line 291, in receiveMessage
    msgVersion = verdec.decodeMessageVersion(wholeMsg)
  File "/usr/local/lib/python3.7/dist-packages/pysnmp/proto/api/verdec.py", line 17, in decodeMessageVersion
    recursiveFlag=False, substrateFun=lambda a, b, c: (a, b[:c])
  File "/usr/local/lib/python3.7/dist-packages/pyasn1/codec/ber/decoder.py", line 2003, in __call__
    for asn1Object in streamingDecoder:
  File "/usr/local/lib/python3.7/dist-packages/pyasn1/codec/ber/decoder.py", line 1919, in __iter__
    self._substrate, self._asn1Spec, **self._options):
  File "/usr/local/lib/python3.7/dist-packages/pyasn1/codec/ber/decoder.py", line 1781, in __call__
    self, substrateFun, **options):
  File "/usr/local/lib/python3.7/dist-packages/pyasn1/codec/ber/decoder.py", line 654, in valueDecoder
    for chunk in substrateFun(asn1Object, substrate, length, options):
TypeError: <lambda>() takes 3 positional arguments but 4 were given
ERROR:asyncio:Exception in callback AbstractTransportDispatcher._cbFun(<pysnmp.carri...x7f5619e0ee80>, ('192.168.0.178', 161), b'0\x82\x02\x...\x00\x01s\xff')
handle: <Handle AbstractTransportDispatcher._cbFun(<pysnmp.carri...x7f5619e0ee80>, ('192.168.0.178', 161), b'0\x82\x02\x...\x00\x01s\xff')>
Traceback (most recent call last):
  File "/usr/lib/python3.7/asyncio/events.py", line 88, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/local/lib/python3.7/dist-packages/pysnmp/carrier/base.py", line 85, in _cbFun
    self, transportDomain, transportAddress, incomingMessage
  File "/usr/local/lib/python3.7/dist-packages/pysnmp/entity/engine.py", line 152, in __receiveMessageCbFun
    self, transportDomain, transportAddress, wholeMsg
  File "/usr/local/lib/python3.7/dist-packages/pysnmp/proto/rfc3412.py", line 291, in receiveMessage
    msgVersion = verdec.decodeMessageVersion(wholeMsg)
  File "/usr/local/lib/python3.7/dist-packages/pysnmp/proto/api/verdec.py", line 17, in decodeMessageVersion
    recursiveFlag=False, substrateFun=lambda a, b, c: (a, b[:c])
  File "/usr/local/lib/python3.7/dist-packages/pyasn1/codec/ber/decoder.py", line 2003, in __call__
    for asn1Object in streamingDecoder:
  File "/usr/local/lib/python3.7/dist-packages/pyasn1/codec/ber/decoder.py", line 1919, in __iter__
    self._substrate, self._asn1Spec, **self._options):
  File "/usr/local/lib/python3.7/dist-packages/pyasn1/codec/ber/decoder.py", line 1781, in __call__
    self, substrateFun, **options):
  File "/usr/local/lib/python3.7/dist-packages/pyasn1/codec/ber/decoder.py", line 654, in valueDecoder
    for chunk in substrateFun(asn1Object, substrate, length, options):
TypeError: <lambda>() takes 3 positional arguments but 4 were given
ERROR:asyncio:Exception in callback AbstractTransportDispatcher._cbFun(<pysnmp.carri...x7f5619e0ee80>, ('192.168.0.178', 161), b'0\x82\x02\x...\x00\x01s\xff')
handle: <Handle AbstractTransportDispatcher._cbFun(<pysnmp.carri...x7f5619e0ee80>, ('192.168.0.178', 161), b'0\x82\x02\x...\x00\x01s\xff')>
Traceback (most recent call last):
  File "/usr/lib/python3.7/asyncio/events.py", line 88, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/local/lib/python3.7/dist-packages/pysnmp/carrier/base.py", line 85, in _cbFun
    self, transportDomain, transportAddress, incomingMessage
  File "/usr/local/lib/python3.7/dist-packages/pysnmp/entity/engine.py", line 152, in __receiveMessageCbFun
    self, transportDomain, transportAddress, wholeMsg
  File "/usr/local/lib/python3.7/dist-packages/pysnmp/proto/rfc3412.py", line 291, in receiveMessage
    msgVersion = verdec.decodeMessageVersion(wholeMsg)
  File "/usr/local/lib/python3.7/dist-packages/pysnmp/proto/api/verdec.py", line 17, in decodeMessageVersion
    recursiveFlag=False, substrateFun=lambda a, b, c: (a, b[:c])
  File "/usr/local/lib/python3.7/dist-packages/pyasn1/codec/ber/decoder.py", line 2003, in __call__
    for asn1Object in streamingDecoder:
  File "/usr/local/lib/python3.7/dist-packages/pyasn1/codec/ber/decoder.py", line 1919, in __iter__
    self._substrate, self._asn1Spec, **self._options):
  File "/usr/local/lib/python3.7/dist-packages/pyasn1/codec/ber/decoder.py", line 1781, in __call__
    self, substrateFun, **options):
  File "/usr/local/lib/python3.7/dist-packages/pyasn1/codec/ber/decoder.py", line 654, in valueDecoder
    for chunk in substrateFun(asn1Object, substrate, length, options):
TypeError: <lambda>() takes 3 positional arguments but 4 were given
ERROR:asyncio:Exception in callback AbstractTransportDispatcher._cbFun(<pysnmp.carri...x7f5619e0ee80>, ('192.168.0.178', 161), b'0\x82\x02\x...\x00\x01s\xff')
handle: <Handle AbstractTransportDispatcher._cbFun(<pysnmp.carri...x7f5619e0ee80>, ('192.168.0.178', 161), b'0\x82\x02\x...\x00\x01s\xff')>
Traceback (most recent call last):
  File "/usr/lib/python3.7/asyncio/events.py", line 88, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/local/lib/python3.7/dist-packages/pysnmp/carrier/base.py", line 85, in _cbFun
    self, transportDomain, transportAddress, incomingMessage
  File "/usr/local/lib/python3.7/dist-packages/pysnmp/entity/engine.py", line 152, in __receiveMessageCbFun
    self, transportDomain, transportAddress, wholeMsg
  File "/usr/local/lib/python3.7/dist-packages/pysnmp/proto/rfc3412.py", line 291, in receiveMessage
    msgVersion = verdec.decodeMessageVersion(wholeMsg)
  File "/usr/local/lib/python3.7/dist-packages/pysnmp/proto/api/verdec.py", line 17, in decodeMessageVersion
    recursiveFlag=False, substrateFun=lambda a, b, c: (a, b[:c])
  File "/usr/local/lib/python3.7/dist-packages/pyasn1/codec/ber/decoder.py", line 2003, in __call__
    for asn1Object in streamingDecoder:
  File "/usr/local/lib/python3.7/dist-packages/pyasn1/codec/ber/decoder.py", line 1919, in __iter__
    self._substrate, self._asn1Spec, **self._options):
  File "/usr/local/lib/python3.7/dist-packages/pyasn1/codec/ber/decoder.py", line 1781, in __call__
    self, substrateFun, **options):
  File "/usr/local/lib/python3.7/dist-packages/pyasn1/codec/ber/decoder.py", line 654, in valueDecoder
    for chunk in substrateFun(asn1Object, substrate, length, options):
TypeError: <lambda>() takes 3 positional arguments but 4 were given
ERROR:root:No SNMP response received before timeout

Installation aujourd’hui de ce plugin.
Test en stable et beta même resultat.


L’erreur dans santé c’est une antenne BLEA qui est planté

Hello @biarnes64,

Tu as la même imprimante ?

Bad

Non j’ai oublié de préciser.
C’est une MFC-J5330DW

Merci, je vais creuser ça mais à première vue ça ressemble plus à un problème de version de urllib, car les exceptions ont lieux assez profond dans les bibliothèques.

Pouvez-vous me donner le retour de la commande sudo pip3 show brother svp ?
(en SSH ou via Réglage> Système> Configuration> Tab OS/DB> Administration Système)
Merci

Ma version de travail est la 1.0.2 et il semble qu’il y ait un drop du support de Python 3.6 et 3.7 en version 1.1.0, ce qui pourrait expliquer vos problèmes…

voila:

Name: brother
Version: 1.0.2
Summary: Python wrapper for getting data from Brother laser and inkjet         printers via SNMP.
Home-page: https://github.com/bieniu/brother
Author: Maciej Bieniek
Author-email:
License: Apache-2.0 License
Location: /usr/local/lib/python3.7/dist-packages
Requires: pysnmp
Required-by:

Ok, ça c’est tout bon… Je continue à chercher

EDIT @biarnes64 : Tant que tu y es, peux tu me faire un sudo pip3 freeze stp ?

Bonsoir @Bad,

Même constat pour ma part avec une brother MFC-J5720DW (peut être est ce dû au mode veille…)

sudo pip3 show brother

Name: brother
Version: 1.0.2
Summary: Python wrapper for getting data from Brother laser and inkjet         printers via SNMP.
Home-page: https://github.com/bieniu/brother
Author: Maciej Bieniek
Author-email:
License: Apache-2.0 License
Location: /usr/local/lib/python3.7/dist-packages
Requires: pysnmp
Required-by:

sudo pip3 freeze

asn1crypto==1.5.1
brother==1.0.2
certifi==2022.12.7
cffi==1.15.1
charset-normalizer==3.1.0
cryptography==40.0.2
distro-info==1.0
entrypoints==0.3
fail2ban==0.10.2
idna==3.4
importlib-metadata==6.6.0
importlib-resources==5.12.0
iotop==0.6
jaraco.classes==3.2.3
jeepney==0.8.0
keyring==23.13.1
keyrings.alt==4.2.0
more-itertools==9.1.0
ply==3.11
pyasn1==0.5.0
pycparser==2.21
pycrypto==2.6.1
pycryptodomex==3.17
pycurl==7.43.0.2
PyGObject==3.30.4
pyinotify==0.9.6
pysmi==0.3.4
pysnmp==4.4.12
python-apt==1.8.4.3
pyxdg==0.25
requests==2.29.0
SecretStorage==3.3.3
six==1.16.0
systemd-python==234
typing_extensions==4.5.0
unattended-upgrades==0.1
urllib3==1.26.15
zipp==3.15.0

Ok, merci pour ton retour.
Tu as exactement les mêmes messages d’erreur que ceux plus haut ?
Jeedom en 4.17 aussi ?
Et pas d’autre imprimante fonctionnelle avec le plugin ?

No soucis,

Alors :

  • Pour les logs oui à la virgule près :grin:
  • Jeedom en 4.3.17
  • Et je n’ai que cette imprimante ( :thinking: c’est déjà un bon gros bébé… :crazy_face:)

Merci

PS: je te joins le logs du brother_packages, il y a deux warnings, peut-être une piste


+ echo '*******************Begin of package installation******************'
*******************Begin of package installation******************
+ touch /tmp/jeedom_install_in_progress_brother
+ echo 1
+ echo 2
++ awk '$1 <= 4'
++ cut -f 2-
++ find /usr/local/lib/python2.7/dist-packages/ /usr/local/lib/python3.7/dist-packages/ -mindepth 1 -maxdepth 1 -type d -exec du -ks '{}' +
+ RESULTTODELETE=
++ echo ''
++ sed 's, ,\ ,g'
+ RESULTTODELETE2=
+ echo ''
+ xargs rm -rf
+ echo 3
+ sudo pip3 cache purge
ERROR: unknown command "cache" - maybe you meant "check"
+ echo 4
+ sudo pip3 install --upgrade pip
Collecting pip
Downloading https://files.pythonhosted.org/packages/08/e3/57d4c24a050aa0bcca46b2920bff40847db79535dc78141eb83581a52eb8/pip-23.1.2-py3-none-any.whl (2.1MB)
Installing collected packages: pip
Found existing installation: pip 18.1
Not uninstalling pip at /usr/lib/python3/dist-packages, outside environment /usr
Can't uninstall 'pip'. No files were found to uninstall.
Successfully installed pip-23.1.2
+ echo 5
+ sudo pip3 install --force-reinstall --upgrade requests
Collecting requests
Downloading requests-2.29.0-py3-none-any.whl (62 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.5/62.5 kB 2.2 MB/s eta 0:00:00
Collecting charset-normalizer<4,>=2 (from requests)
Downloading charset_normalizer-3.1.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (171 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 171.0/171.0 kB 2.8 MB/s eta 0:00:00
Collecting idna<4,>=2.5 (from requests)
Downloading idna-3.4-py3-none-any.whl (61 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.5/61.5 kB 1.7 MB/s eta 0:00:00
Collecting urllib3<1.27,>=1.21.1 (from requests)
Downloading urllib3-1.26.15-py2.py3-none-any.whl (140 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 140.9/140.9 kB 2.5 MB/s eta 0:00:00
Collecting certifi>=2017.4.17 (from requests)
Downloading certifi-2022.12.7-py3-none-any.whl (155 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 155.3/155.3 kB 2.3 MB/s eta 0:00:00
Installing collected packages: urllib3, idna, charset-normalizer, certifi, requests
Successfully installed certifi-2022.12.7 charset-normalizer-3.1.0 idna-3.4 requests-2.29.0 urllib3-1.26.15
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
+ echo 6
+ sudo pip3 install --force-reinstall --upgrade brother
Collecting brother
Downloading brother-1.0.2-py3-none-any.whl (11 kB)
Collecting pysnmp (from brother)
Downloading pysnmp-4.4.12-py2.py3-none-any.whl (296 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 296.5/296.5 kB 4.0 MB/s eta 0:00:00
Collecting pysmi (from pysnmp->brother)
Downloading pysmi-0.3.4-py2.py3-none-any.whl (80 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 80.0/80.0 kB 2.3 MB/s eta 0:00:00
Collecting pycryptodomex (from pysnmp->brother)
Downloading pycryptodomex-3.17-cp35-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.1 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.1/2.1 MB 4.0 MB/s eta 0:00:00
Collecting pyasn1>=0.2.3 (from pysnmp->brother)
Downloading pyasn1-0.5.0-py2.py3-none-any.whl (83 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 83.9/83.9 kB 3.8 MB/s eta 0:00:00
Collecting ply (from pysmi->pysnmp->brother)
Downloading ply-3.11-py2.py3-none-any.whl (49 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 49.6/49.6 kB 3.0 MB/s eta 0:00:00
Installing collected packages: ply, pysmi, pycryptodomex, pyasn1, pysnmp, brother
Successfully installed brother-1.0.2 ply-3.11 pyasn1-0.5.0 pycryptodomex-3.17 pysmi-0.3.4 pysnmp-4.4.12
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
+ echo 7
+ php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end brother
+ rm /tmp/jeedom_install_in_progress_brother
+ echo '*******************End of package installation******************'
*******************End of package installation******************

Désolé je n’étais plus connecté:

Voila:

aenum==3.1.12
android-backup==0.2.0
appdirs==1.4.4
asn1crypto==0.24.0
astroid==2.15.5
async-timeout==4.0.2
attrs==23.1.0
backports.zoneinfo==0.2.1
blessings==1.7
bluepy==1.3.0
brother==1.0.2
certifi==2023.5.7
cffi==1.15.1
chardet==3.0.4
charset-normalizer==3.1.0
click==8.1.3
construct==2.10.68
coverage==7.2.7
croniter==1.3.15
cryptography==41.0.1
defusedxml==0.7.1
dill==0.3.6
distro-info==0.21
entrypoints==0.3
enum-compat==0.0.3
enum34==1.1.10
fail2ban==0.10.2
future==0.18.3
idna==3.4
ifaddr==0.2.0
importlib-metadata==1.7.0
iotop==0.6
ipaddress==1.0.23
isort==5.11.5
keyring==17.1.1
keyrings.alt==3.1.1
lazy-object-proxy==1.9.0
mccabe==0.7.0
micloud==0.6
netifaces==0.11.0
nose==1.3.7
nose-html==1.1
nose-progressive==1.5.2
numpy==1.21.6
Pillow==9.5.0
platformdirs==3.5.1
ply==3.11
pyasn1==0.5.0
pycparser==2.21
pycrypto==2.6.1
pycryptodome==3.18.0
pycryptodomex==3.18.0
pycurl==7.43.0.2
PyGObject==3.30.4
pyinotify==0.9.6
pylint==2.17.4
pynut3==1.2.5
pyserial==3.4
pysmi==0.3.4
pysnmp==4.4.12
python-apt==1.8.4.3
python-dateutil==2.8.2
python-miio==0.5.12
pytz==2023.3
pyudev==0.24.1
pyxdg==0.25
PyYAML==6.0
requests==2.31.0
rijndael==0.1.1
SecretStorage==2.3.1
six==1.16.0
systemd-python==234
tomli==2.0.1
tomlkit==0.11.8
tqdm==4.65.0
typed-ast==1.5.4
typing_extensions==4.6.3
tzlocal==5.0.1
unattended-upgrades==0.1
urllib3==2.0.2
websocket-client==1.5.2
wrapt==1.15.0
yeelight==0.7.10
zeroconf==0.63.0
zipp==3.15.0

Ok, merci pour ces infos, je pense avoir trouvé le problème :

La version 0.5.0 de pyasn1 n’est pas compatible avec la version 4.4.12 de pysnmp:upside_down_face: :smiling_face_with_tear:

J’arrive à reproduire le pb en forçant la version 0.5.0 sur mon environnement de dev.

Si vous êtes bien en version 0.5.0 ET que seul pysnmp utilise cette bibliothèque (cf flèches) :

bad@jeedev:~$ sudo pip3 show pyasn1
Name: pyasn1
Version: 0.5.0              <<<---------------------------------------------------
Summary: Pure-Python implementation of ASN.1 types and DER/BER/CER codecs (X.208)
Home-page: https://github.com/pyasn1/pyasn1
Author: Ilya Etingof
Author-email: etingof@gmail.com
License: BSD-2-Clause
Location: /usr/local/lib/python3.7/dist-packages
Requires:
Required-by: pysnmp         <<<---------------------------------------------------

Alors essayez de passer la commande suivante sur vos Jeedom :

sudo pip3 install pyasn1==0.4.8

Sinon on regarde au cas par cas, et je figerai les versions dans l’installation du plugin.

Bad

Vu que je ne connais pas les manips de ce type je demande avant:
on passe cette commande dans Réglage> Système> Configuration> Tab OS/DB> Administration Système?

Oui c’est bien ça, commence par passer la commande :
sudo pip3 show pyasn1
Et vérifie si tu as bien Version: 0.5.0 (c’est normalement le cas selon ton dernier log)
et uniquement pysnmp dans Required-by.

Si c’est le cas, alors tu peux passer sereinement la commande :
sudo pip3 install pyasn1==0.4.8
Sinon on regarde ensemble.

Après avoir effectué ta modif cela fonctionne au top merci.
A voir pour les autres cordialement cari

1 « J'aime »

Après vérification:

Name: pyasn1
Version: 0.5.0
Summary: Pure-Python implementation of ASN.1 types and DER/BER/CER codecs (X.208)
Home-page: https://github.com/pyasn1/pyasn1
Author: Ilya Etingof
Author-email: etingof@gmail.com
License: BSD-2-Clause
Location: /usr/local/lib/python3.7/dist-packages
Requires:
Required-by: pysnmp



et effectué la modif ça fonctionne !
Merci pour la réactivité.

mais il y a un warning dans les log quand j’ai exécuté la commande:

Collecting pyasn1==0.4.8
  Downloading pyasn1-0.4.8-py2.py3-none-any.whl (77 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 77.1/77.1 kB 2.4 MB/s eta 0:00:00
Installing collected packages: pyasn1
  Attempting uninstall: pyasn1
    Found existing installation: pyasn1 0.5.0
    Uninstalling pyasn1-0.5.0:
      Successfully uninstalled pyasn1-0.5.0
Successfully installed pyasn1-0.4.8
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv

A voir pour le futur

En effet moi aussi j’ai ce message d’erreur, mais il me semble que ce n’est pas le seul plugin avec ce message d’erreur. il faudrait que je regarde lesquels.
par contre tous fonctionnent malgré ce message (c’est parfois un problème de version de python)