Quick-Event / quickbox

Quick Event - Orienteering Software
GNU General Public License v2.0
52 stars 41 forks source link

Cannot print report Competitors with rented cards #944

Closed paukert closed 1 year ago

paukert commented 1 year ago

Runs → Print → Competitors with rented cards

2023-08-25T16:24:57[reportviewwidget.cpp:82]|I| Show report: /tmp/.mount_QuickEThYKHm/usr/bin/reports/Runs/qml/reports/competitorsWithCardRent.qml
2023-08-25T16:24:57[reportprocessor.cpp:66]|E| Erorr loading report component: /tmp/.mount_QuickEThYKHm/usr/bin/reports/Runs/qml/reports/competitorsWithCardRent.qml file:///tmp/.mount_QuickEThYKHm/usr/bin/reports/Runs/qml/reports/competitorsWithCardRent.qml:15 SqlTableModel is not a type

QQmlComponent: Component is not ready
2023-08-25T16:24:57[reportprocessor.cpp:115]|E| Error creating root object from component: 0x557cb16e4850 file:///tmp/.mount_QuickEThYKHm/usr/bin/reports/Runs/qml/reports/competitorsWithCardRent.qml
2023-08-25T16:24:57[reportprocessor.cpp:116]|E| Created object: 0
2023-08-25T16:24:57[reportprocessor.cpp:118]|E| file:///tmp/.mount_QuickEThYKHm/usr/bin/reports/Runs/qml/reports/competitorsWithCardRent.qml:15:2: SqlTableModel is not a type
QQmlComponent: Component is not ready
2023-08-25T16:24:57[reportprocessor.cpp:115]|E| Error creating root object from component: 0x557cb16e4850 file:///tmp/.mount_QuickEThYKHm/usr/bin/reports/Runs/qml/reports/competitorsWithCardRent.qml
2023-08-25T16:24:57[reportprocessor.cpp:116]|E| Created object: 0
2023-08-25T16:24:57[reportprocessor.cpp:118]|E| file:///tmp/.mount_QuickEThYKHm/usr/bin/reports/Runs/qml/reports/competitorsWithCardRent.qml:15:2: SqlTableModel is not a type
QQmlComponent: Component is not ready
2023-08-25T16:24:57[reportprocessor.cpp:115]|E| Error creating root object from component: 0x557cb16e4850 file:///tmp/.mount_QuickEThYKHm/usr/bin/reports/Runs/qml/reports/competitorsWithCardRent.qml
2023-08-25T16:24:57[reportprocessor.cpp:116]|E| Created object: 0
2023-08-25T16:24:57[reportprocessor.cpp:118]|E| file:///tmp/.mount_QuickEThYKHm/usr/bin/reports/Runs/qml/reports/competitorsWithCardRent.qml:15:2: SqlTableModel is not a type
paukert commented 1 year ago

Výše uvedené chyby to už nehází, ale je to zaseklé v nějaké smyčce. V logu se objevily tyhle věci, možná to bude příčina problému.

2023-08-27T21:08:53[reportviewwidget.cpp:82]|I| Show report: C:/QuickEvent/reports/Runs/qml/reports/competitorsWithCardRent.qml
file:///C:/QuickEvent/reports/Runs/qml/reports/competitorsWithCardRent.qml:26: TypeError: Cannot read property 'verticalMargin' of undefined
file:///C:/QuickEvent/reports/Runs/qml/reports/competitorsWithCardRent.qml:25: TypeError: Cannot read property 'horizontalMargin' of undefined
file:///C:/QuickEvent/reports/Runs/qml/reports/competitorsWithCardRent.qml:24: TypeError: Cannot read property 'pageHeight' of undefined
file:///C:/QuickEvent/reports/Runs/qml/reports/competitorsWithCardRent.qml:23: TypeError: Cannot read property 'pageWidth' of undefined

obrazek

paukert commented 1 year ago

QBE file was attached to #945.

fvacek commented 1 year ago

Výše uvedené chyby to už nehází, ale je to zaseklé v nějaké smyčce. V logu se objevily tyhle věci, možná to bude příčina problému.

2023-08-27T21:08:53[reportviewwidget.cpp:82]|I| Show report: C:/QuickEvent/reports/Runs/qml/reports/competitorsWithCardRent.qml
file:///C:/QuickEvent/reports/Runs/qml/reports/competitorsWithCardRent.qml:26: TypeError: Cannot read property 'verticalMargin' of undefined
file:///C:/QuickEvent/reports/Runs/qml/reports/competitorsWithCardRent.qml:25: TypeError: Cannot read property 'horizontalMargin' of undefined
file:///C:/QuickEvent/reports/Runs/qml/reports/competitorsWithCardRent.qml:24: TypeError: Cannot read property 'pageHeight' of undefined
file:///C:/QuickEvent/reports/Runs/qml/reports/competitorsWithCardRent.qml:23: TypeError: Cannot read property 'pageWidth' of undefined

obrazek

nemas reports nastaveny na nejakou starsi verzi, mne se to nedari zreprodukovat?

paukert commented 1 year ago

Fixed in 3.0.6.