I try to run the InsideViessmannVitosoft Python scripts on a Windows11 system.
I use the Python 3.10 (64) Interpreter and PyCharm Community Edition 2022.1.4
The scripts PrintDatapoints.py and PrintEventTypes.py work fine and deliver the expected results.
The script PrintEventsForDatapoint.py exits with code 1:
C:\Users\Werner\AppData\Local\Programs\Python\Python310\python.exe C:/Users/Werner/Documents/InsideViessmannVitosoft-main/PrintEventsForDatapoint.py
Traceback (most recent call last):
File "C:\Users\Werner\Documents\InsideViessmannVitosoft-main\PrintEventsForDatapoint.py", line 505, in
parse_DPDefinitions('VScotHO1_70')
File "C:\Users\Werner\Documents\InsideViessmannVitosoft-main\PrintEventsForDatapoint.py", line 160, in parse_DPDefinitions
root = etree.fromstring(re.sub(' xmlns="[^"]+"', '', open(DATAPATH + "DPDefinitions.xml", 'r').read()))
File "C:\Users\Werner\AppData\Local\Programs\Python\Python310\lib\xml\etree\ElementTree.py", line 1344, in XML
parser.feed(text)
xml.etree.ElementTree.ParseError: not well-formed (invalid token): line 1, column 1
Process finished with exit code 1
Vitosoft 300 Software has run successfully and delivered all information about my heater unit.
Any idea what is wrong? Windows Python environment? Thanks.
EDIT:
Works as designed with Raspberry Pi 4 Thonny Python IDE (Python 3.7.3)
I try to run the InsideViessmannVitosoft Python scripts on a Windows11 system.
I use the Python 3.10 (64) Interpreter and PyCharm Community Edition 2022.1.4
The scripts PrintDatapoints.py and PrintEventTypes.py work fine and deliver the expected results.
The script PrintEventsForDatapoint.py exits with code 1:
Vitosoft 300 Software has run successfully and delivered all information about my heater unit.
Any idea what is wrong? Windows Python environment? Thanks.
EDIT:
Works as designed with Raspberry Pi 4 Thonny Python IDE (Python 3.7.3)