Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to load main document with latest version of libreoffice (version 7.6.4) #91

Open
hakonhagland opened this issue Jan 19, 2024 · 7 comments

Comments

@hakonhagland
Copy link
Collaborator

hakonhagland commented Jan 19, 2024

After I upgraded my laptop from Ubuntu 22.04 which had libreoffice version 7.3.7 to Ubuntu 23.10 which has libreoffice version 7.6.4, I am no longer able to open the main.fodt document with libreoffice. It just freezes or takes forever to load. The same happens if I try to open the old main document OPM_Flow_Reference_Manual.fodt in the root of this repository.

I can open the sub documents like 4.fodt fine.

I can think of two things that are common for the two main documents: They both include the font descriptions, and they are both large documents. Hopefully the fonts are the problem for this should be easier to fix.

@blattms
Copy link
Member

blattms commented Jan 22, 2024

FYI Works with Debian stable and version 7.4 on my machine.

@hakonhagland
Copy link
Collaborator Author

Hopefully the fonts are the problem for this should be easier to fix.

Tried to remove the font descriptions from main.fodt using a Python script. Unfortunately it did not help. So it seems the issue is not related to the fonts then.

@hakonhagland
Copy link
Collaborator Author

I compiled a debug version of libreoffice development version and was able to get a backtrace for opening OPM_Flow_Reference_Manual.fodt. After waiting approximately 10 minutes, I attached gdb to the running libreoffice process and got this backtrace: gdb.txt. Not able to infer much about the problem by looking at backtrace though..

@hakonhagland
Copy link
Collaborator Author

FYI Works with Debian stable and version 7.4 on my machine.

@blattms Great! It also works with version 7.5 in a docker container with Ubuntu 22.04, see #96.

@gdfldm
Copy link
Collaborator

gdfldm commented Jan 23, 2024

FWIW I am able to open main.fodt with LibreOffice 7.5.9.2 (X86_64) on Windows 11. (LibreOffice 7.6.4 seemed less stable than 7.5.9 on my machine)

@hakonhagland
Copy link
Collaborator Author

It also works with version 7.5 in a docker container with Ubuntu 22.04

After I rebuilt the docker image, I am no longer able to open main.fodt even within the docker container

@blattms
Copy link
Member

blattms commented Mar 18, 2024

On my linux machine (Debian 12) it works (with #214).
On Windows I have problems, though

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants