Forum

[v10.1.3] CSV expor...
 
Notifications
Retirer tout

[v10.1.3] CSV export - huge number of errors are logged

2 Posts
1 Utilisateurs
0 Reactions
1,122 Vu
 Dan
(@caccia)
Posts: 340
Honorable Member
Début du sujet
 
[#8615]

Hi,

This is linked to my previous thread "Error on CSV export of report" - which I closed too rapidly.

After upgrading our existing (v10.0.6) installation to v10.1.3, I am now able to successfully export the report "Work synthesis per activity" to CSV.
However I now see that in the logs there is huge amount of errors logged :

16:07:02.270 ** ERROR ** [V10.1.3] Impossible to load class UConverter
 => Not found in ../model/custom/UConverter.php
 => Not found in ../model/UConverter.php
 => Not found in ../model/persistence/UConverter.php
16:07:02.270 ** ERROR ** [V10.1.3]  === Trace Stack for last error === 16:07:02.280 ** ERROR ** [V10.1.3]  => /opt/projeqtor/tool/projeqtor.php at line 1789 calling debugPrintTraceStack() 16:07:02.288 ** ERROR ** [V10.1.3]  => calling projeqtorAutoload() 16:07:02.298 ** ERROR ** [V10.1.3]  => /opt/projeqtor/external/HtmlPhpExcel/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/StringHelper.php at line 337 calling class_exists() 16:07:02.310 ** ERROR ** [V10.1.3]  => /opt/projeqtor/external/HtmlPhpExcel/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Cell/DefaultValueBinder.php at line 23 calling PhpOfficePhpSpreadsheetSharedStringHelper:sanitizeUTF8() 16:07:02.329 ** ERROR ** [V10.1.3]  => /opt/projeqtor/external/HtmlPhpExcel/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Cell/Cell.php at line 193 calling PhpOfficePhpSpreadsheetCellDefaultValueBinder:bindValue() 16:07:02.338 ** ERROR ** [V10.1.3]  => /opt/projeqtor/external/HtmlPhpExcel/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Worksheet/Worksheet.php at line 1144 calling PhpOfficePhpSpreadsheetCellCell:setValue() 16:07:02.338 ** ERROR ** [V10.1.3]  => /opt/projeqtor/external/HtmlPhpExcel/vendor/ticketpark/htmlphpexcel/lib/HtmlPhpExcel/HtmlPhpExcel.php at line 217 calling PhpOfficePhpSpreadsheetWorksheetWorksheet:setCellValue() 16:07:02.354 ** ERROR ** [V10.1.3]  => /opt/projeqtor/external/HtmlPhpExcel/vendor/ticketpark/htmlphpexcel/lib/HtmlPhpExcel/HtmlPhpExcel.php at line 104 calling TicketparkHtmlPhpExcelHtmlPhpExcel:createExcel() 16:07:02.355 ** ERROR ** [V10.1.3]  => /opt/projeqtor/view/print.php at line 374 calling TicketparkHtmlPhpExcelHtmlPhpExcel:process() 16:07:02.374 ** ERROR ** [V10.1.3]  => /opt/projeqtor/view/print.php at line 298 calling finalizePrint() 16:07:02.384 ** ERROR ** [V10.1.3]  ===

When launching the export for a large project (many sub-projects & activities), this results in long wait times - probably because of the amount of logs that have to be written ( I got a 5M log file after waiting on the export for a few minutes, after which I force-killed the PHP process).

This will be quite blocking if a user uses this feature on Production.

Thanks


 
Posté : 18/11/2022 6:18 pm
 Dan
(@caccia)
Posts: 340
Honorable Member
Début du sujet
 

Ah, thankfully the internet is full of resources 🙂
After a quick search I found that the issue is caused by a missing PHP extension : "internationalization"

After activating this PHP extension, eveything is back to normal - phew ! 

On Linux : 

sudo apt install php8.0-intl

=> Did I miss something, or should this maybe be made more explicit in the release notes ?
 


 
Posté : 18/11/2022 6:31 pm
Share:
Retour en haut