Bug 149852 - Opening Spreadsheet Saved as .UOS fails
Summary: Opening Spreadsheet Saved as .UOS fails
Status: RESOLVED INSUFFICIENTDATA
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-12-29 03:12 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 Comment hidden (obsolete)
Comment 7 QA Administrators 2023-12-29 03:12:04 UTC
Dear cvroblee,

Please read this message in its entirety before proceeding.

Your bug report is being closed as INSUFFICIENTDATA due to inactivity and
a lack of information which is needed in order to accurately
reproduce and confirm the problem. We encourage you to retest
your bug against the latest release. If the issue is still
present in the latest stable release, we need the following
information (please ignore any that you've already provided):

a) Provide details of your system including your operating
   system and the latest version of LibreOffice that you have
   confirmed the bug to be present

b) Provide easy to reproduce steps – the simpler the better

c) Provide any test case(s) which will help us confirm the problem

d) Provide screenshots of the problem if you think it might help

e) Read all comments and provide any requested information

Once all of this is done, please set the bug back to UNCONFIRMED
and we will attempt to reproduce the issue. Please do not:

a) respond via email 

b) update the version field in the bug or any of the other details
   on the top section of our bug tracker

Warm Regards,
QA Team

MassPing-NeedInfo-FollowUp