Topic: Error running qet_tb_generator after generating terminal blocks
First of all, thanks for your great electrical drawing program.
I more or less finish my drawing and decided to generate the terminal block, which worked well.
After reopening the drawing and doing a Save within qet, the tb generator does work any more and generates the message below.
Traceback (most recent call last):
File "C:\Users\Hermanita\AppData\Local\Programs\Python\Python38-32\Scripts\qet_tb_generator-script.py", line 11, in <module>
load_entry_point('qet-tb-generator==1.1.5', 'console_scripts', 'qet_tb_generator')()
File "c:\users\hermanita\appdata\local\programs\python\python38-32\lib\site-packages\src\main.py", line 840, in main
qet_project = QETProject(qet_file) # allows working with a QET XML file.
File "c:\users\hermanita\appdata\local\programs\python\python38-32\lib\site-packages\src\qetproject.py", line 66, in __init__
self._qet_tree = etree.parse(project_file)
File "c:\users\hermanita\appdata\local\programs\python\python38-32\lib\xml\etree\ElementTree.py", line 1202, in parse
tree.parse(source, parser)
File "c:\users\hermanita\appdata\local\programs\python\python38-32\lib\xml\etree\ElementTree.py", line 595, in parse
self._root = parser._parse_whole(source)
xml.etree.ElementTree.ParseError: unbound prefix: line 7, column 20
I did some testing and the problem appears after saving a drawing within Qet when terminal blocks are generated.
Any clues to resolve this?
Do you need any logs/files to diagnose this problem?
Regards Herman