You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried the command in the readme.md to create docker image and run the script.
Build was successful ("docker build -t solaredge_modbus .")
But if i start the script ("docker run --rm -it solaredge_modbus ") I get:
_Traceback (most recent call last):
File "example.py", line 6, in
import solaredge_modbus
File "", line 991, in _find_and_load
File "", line 975, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 618, in load_backward_compatible
File "", line 259, in load_module
File "/usr/local/lib/python3.8/site-packages/solaredge_modbus-0.8.0-py3.8.egg/solaredge_modbus/init.py", line 4, in
File "/usr/local/lib/python3.8/site-packages/pymodbus-3.7.2-py3.8.egg/pymodbus/init.py", line 16, in
from pymodbus.framer import FramerType
File "/usr/local/lib/python3.8/site-packages/pymodbus-3.7.2-py3.8.egg/pymodbus/framer/init.py", line 15, in
from pymodbus.framer.old_framer_ascii import ModbusAsciiFramer
File "/usr/local/lib/python3.8/site-packages/pymodbus-3.7.2-py3.8.egg/pymodbus/framer/old_framer_ascii.py", line 3, in
from pymodbus.framer.old_framer_base import BYTE_ORDER, FRAME_HEADER, ModbusFramer
File "/usr/local/lib/python3.8/site-packages/pymodbus-3.7.2-py3.8.egg/pymodbus/framer/old_framer_base.py", line 8, in
from pymodbus.factory import ClientDecoder, ServerDecoder
File "/usr/local/lib/python3.8/site-packages/pymodbus-3.7.2-py3.8.egg/pymodbus/factory.py", line 31, in
class ServerDecoder:
File "/usr/local/lib/python3.8/site-packages/pymodbus-3.7.2-py3.8.egg/pymodbus/factory.py", line 80, in ServerDecoder
def getFCdict(cls) -> dict[int, Callable]:
TypeError: 'type' object is not subscriptable
The text was updated successfully, but these errors were encountered:
I tried the command in the readme.md to create docker image and run the script.
Build was successful ("docker build -t solaredge_modbus .")
But if i start the script ("docker run --rm -it solaredge_modbus ") I get:
_Traceback (most recent call last):
File "example.py", line 6, in
import solaredge_modbus
File "", line 991, in _find_and_load
File "", line 975, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 618, in load_backward_compatible
File "", line 259, in load_module
File "/usr/local/lib/python3.8/site-packages/solaredge_modbus-0.8.0-py3.8.egg/solaredge_modbus/init.py", line 4, in
File "/usr/local/lib/python3.8/site-packages/pymodbus-3.7.2-py3.8.egg/pymodbus/init.py", line 16, in
from pymodbus.framer import FramerType
File "/usr/local/lib/python3.8/site-packages/pymodbus-3.7.2-py3.8.egg/pymodbus/framer/init.py", line 15, in
from pymodbus.framer.old_framer_ascii import ModbusAsciiFramer
File "/usr/local/lib/python3.8/site-packages/pymodbus-3.7.2-py3.8.egg/pymodbus/framer/old_framer_ascii.py", line 3, in
from pymodbus.framer.old_framer_base import BYTE_ORDER, FRAME_HEADER, ModbusFramer
File "/usr/local/lib/python3.8/site-packages/pymodbus-3.7.2-py3.8.egg/pymodbus/framer/old_framer_base.py", line 8, in
from pymodbus.factory import ClientDecoder, ServerDecoder
File "/usr/local/lib/python3.8/site-packages/pymodbus-3.7.2-py3.8.egg/pymodbus/factory.py", line 31, in
class ServerDecoder:
File "/usr/local/lib/python3.8/site-packages/pymodbus-3.7.2-py3.8.egg/pymodbus/factory.py", line 80, in ServerDecoder
def getFCdict(cls) -> dict[int, Callable]:
TypeError: 'type' object is not subscriptable
The text was updated successfully, but these errors were encountered: