Traceback (most recent call last):
File "/usr/local/bin/qet_tb_generator", line 8, in <module>
sys.exit(main())
File "/usr/local/lib/python3.8/dist-packages/src/main.py", line 851, in main
qet_terminals = qet_project.get_list_of_used_terminals()
File "/usr/local/lib/python3.8/dist-packages/src/qetproject.py", line 328, in get_list_of_used_terminals
cableNum = self._getCableNum(diagram, terminalId)
File "/usr/local/lib/python3.8/dist-packages/src/qetproject.py", line 217, in _getCableNum
for cable in diagram.find('conductors').findall('conductor'):
AttributeError: 'NoneType' object has no attribute 'findall'
Traceback (most recent call last):
File "qet_tb_generator.py", line 9, in <module>
File "src/main.py", line 840, in main
File "src/qetproject.py", line 80, in __init__
KeyError: 'folioSheetQuantity'
[10150] Failed to execute script qet_tb_generator
laurent@debian:/media/backup6/download$ qet_tb_generator -v
09:30:03 INFO ** QElectrotech terminal block plug-in - v1.1.6 ** [main.main:839]
09:30:03 INFO Using the argument passed: ['/usr/local/bin/qet_tb_generator', '-v'](2) [main.get_QET_path:769]
Traceback (most recent call last):
File "/usr/local/bin/qet_tb_generator", line 8, in <module>
sys.exit(main())
File "/usr/local/lib/python3.8/dist-packages/src/main.py", line 850, in main
qet_project = QETProject(qet_file) # allows working with a QET XML file.
File "/usr/local/lib/python3.8/dist-packages/src/qetproject.py", line 67, in __init__
self._qet_tree = etree.parse(project_file)
File "/usr/lib/python3.8/xml/etree/ElementTree.py", line 1202, in parse
tree.parse(source, parser)
File "/usr/lib/python3.8/xml/etree/ElementTree.py", line 584, in parse
source = open(source, "rb")
FileNotFoundError: [Errno 2] No such file or directory: '-v'
[09:30:03] laurent@debian:/media/backup6/download$ apt-cache policy qet-tb-generator
qet-tb-generator:
Installé : 1.1.6-2
Candidat : 1.1.6-2
Table de version :
*** 1.1.6-2 500
500 [url]http://debian.qelectrotech.org/qet/debian[/url] unstable/main amd64 Packages
100 /var/lib/dpkg/status
"Le jour où tu découvres le Libre, tu sais que tu ne pourras jamais plus revenir en arrière..."