Bug 149852 - Opening Spreadsheet Saved as .UOS fails
Summary: Opening Spreadsheet Saved as .UOS fails
Status: NEEDINFO
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
7.2.7.2 release
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: UOF
  Show dependency treegraph
 
Reported: 2022-07-04 16:46 UTC by cvroblee
Modified: 2023-11-28 03:13 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Example .uos file that won't open (14.01 MB, application/xml)
2022-07-04 16:47 UTC, cvroblee
Details

Note You need to log in before you can comment on or make changes to this bug.
Description cvroblee 2022-07-04 16:46:46 UTC
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
Comment 1 cvroblee 2022-07-04 16:47:43 UTC
Created attachment 181111 [details]
Example .uos file that won't open
Comment 2 Rafael Lima 2022-07-04 17:45:52 UTC
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
Comment 3 Julien Nabet 2022-07-06 19:18:09 UTC
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.
Comment 4 Buovjaga 2023-01-23 11:43:12 UTC
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.
Comment 5 raal 2023-05-31 18:19:29 UTC
Please attach test file in .ods format. Thank you.
Comment 6 QA Administrators 2023-11-28 03:13:05 UTC
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