Topic: Error running qet_tb_generator on last 0.8-dev
Hi Unalcalde,
'folioSheetQuantity' value was removed recently in project XML, and break qet_tb_generator:
https://git.tuxfamily.org/qet/qet.git/c … 196277a5d5
Traceback (most recent call last):
File "/usr/bin/qet_tb_generator", line 11, in <module>
load_entry_point('qet-tb-generator==1.1.5', 'console_scripts', 'qet_tb_generator')()
File "/usr/lib/python3/dist-packages/src/main.py", line 840, in main
qet_project = QETProject(qet_file) # allows working with a QET XML file.
File "/usr/lib/python3/dist-packages/src/qetproject.py", line 80, in __init__
self.pageOffset = int (self.qet_project.attrib
KeyError: 'folioSheetQuantity'
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'
[5263] Failed to execute script qet_tb_generator
Workaround add folioSheetQuantity="0" like this:
<project title="Example project" folioSheetQuantity="0" version="0.80">
before opening project to launch with qet_tb_generator.
https://github.com/qelectrotech/qet_tb_ … ect.py#L79