Description: I accidentally saved my important spreadsheet as .UOS. It cannot be opened with libreoffice. When you open the file with libreoffice calc it fails: runtime error: file file:///usr/lib/libreoffice/program/../share/xslt/import/uof/uof2odf_spreadsheet.xsl line 3262 element value-of xsltApplySequenceConstructor: A potential infinite template recursion was detected. You can adjust xsltMaxDepth (--maxdepth) in order to raise the maximum number of nested template calls and variables/params (currently set to 3000). Steps to Reproduce: 1.Create spreadsheet with lots of data and charts 2.Save as .UOS "Unified Office Format" 3.Open file with libreoffice calc Actual Results: Popup with: General Error. General input/output error Command line says: runtime error: file file:///usr/lib/libreoffice/program/../share/xslt/import/uof/uof2odf_spreadsheet.xsl line 3262 element value-of xsltApplySequenceConstructor: A potential infinite template recursion was detected. You can adjust xsltMaxDepth (--maxdepth) in order to raise the maximum number of nested template calls and variables/params (currently set to 3000). Templates: #0 name condition-row-col-pos-max #1 name create-row #2 name create-row #3 name create-row #4 name create-row #5 name create-row #6 name create-row #7 name create-row #8 name create-row #9 name create-row #10 name create-row #11 name create-row #12 name create-row #13 name create-row #14 name create-row Variables: #0 div-value last-value condition-pos-str #1 last-value condition-pos-str #2 condition-pos-str #3 var current #4 condition-pos-str current-index times row-value worksheetNo span-value index-value #5 current-index times row-value worksheetNo span-value index-value #6 times row-value worksheetNo span-value index-value #7 row-value worksheetNo span-value index-value #8 worksheetNo span-value index-value #9 span-value index-value #10 index-value #11 condition-pos-str current-index times row-value worksheetNo span-value index-value #12 current-index times row-value worksheetNo span-value index-value #13 times row-value worksheetNo span-value index-value #14 row-value worksheetNo span-value index-value Expected Results: File opens properly Reproducible: Always User Profile Reset: Yes OpenGL enabled: Yes Additional Info: Version: 7.2.7.2 / LibreOffice Community Build ID: 20(Build:2) CPU threads: 12; OS: Linux 5.15; UI render: default; VCL: kf5 (cairo+xcb) Locale: en-US (en_US.UTF-8); UI: en-US 7.2.7-2 Calc: threaded
Created attachment 181111 [details] Example .uos file that won't open
When I try to open the attached file I get "General Error. General input/output error." System info Version: 7.5.0.0.alpha0+ / LibreOffice Community Build ID: 61f5c991a97de8990badfed6ef840941b5aa8c7f CPU threads: 12; OS: Linux 5.15; UI render: default; VCL: kf5 (cairo+xcb) Locale: pt-BR (pt_BR.UTF-8); UI: en-US Calc: threaded
On pc Debian x86-64 with master sources updated today, I could reproduce this too. Since it's an important file, I hope you got backup. I don't know at all how to to debug xslt of 9000 lines on an xml file of 14MB.
So do you mean you deleted your original spreadsheet after saving it in UOS format? We would need your original spreadsheet to reproduce the problem.
Please attach test file in .ods format. Thank you.
Dear cvroblee, This bug has been in NEEDINFO status with no change for at least 6 months. Please provide the requested information as soon as possible and mark the bug as UNCONFIRMED. Due to regular bug tracker maintenance, if the bug is still in NEEDINFO status with no change in 30 days the QA team will close the bug as INSUFFICIENTDATA due to lack of needed information. For more information about our NEEDINFO policy please read the wiki located here: https://wiki.documentfoundation.org/QA/Bugzilla/Fields/Status/NEEDINFO If you have already provided the requested information, please mark the bug as UNCONFIRMED so that the QA team knows that the bug is ready to be confirmed. Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-NeedInfo-Ping