Calc hangs on opening ODS file - seems related to printer availability? [closed]
I have a strange problem. A few weeks ago a ods document I use almost every stopped loading. Calc just froze. I was able to open the file with 7-zip and everything in it looked ok. I restarted the computer, updated to the latest LO, cleaned out my user profile and just about everything else I could think of. Nothing helped. When I tried to open it a couple of days later everything worked as expected. Since then it seems that if I open the file the first thing I do when I switch on the computer, I get the biggest chance of it working. If I wait a while the chance is smaller. Very strange. I have no idea what it could be. I need some help getting ideas. What can I do to debug this issue? Can I switch on any logging or something like that to find what's causing it?
It's not only that ods file that has the problem. When it fails, any ods file fails. If I open calc without loading a file it starts but hangs when I open ods files from the menu.
Is it possible to attach the file here? (hopefully contains no confidential information)
What is your OS and GUI environemnt?
I have windows 7 home premium 64 bit. It is not just that file. It is any ods file. I'd rather not put it up here.
I did a test right now. I started calc. Entered a number and a formula. Saved it and tried to open it again and the same freeze happened. Seems like calc is waiting for something that never happens.
This is not an answer, but it can be a faulty firewall or antivirus settings. You can check in the Windows Task Manager if the LibreOffice (process name soffice) is running and try to restart it.
Do you have 32bit or 64bit Java installed? You will need 32bit even though your platform is 64bit.
Another possibility is that you have enormous amount of equations and loadable object count is exceeded. To correct this open Tools → Settings → Memory and set number of objects in memory to something like 1000, also you could raise memory caps, e.g LibreOffice loading will be faster if you allow at least 100 MB for it, but you could raise it even to a few hundred megabytes.
Same thing today. I started the computer, logged in and checked my gmail and looked at a few websites before I tried to open the ods. I then shut down the computer, switched it on again and then the first thing I did was opening the ods. It worked. Now it seems to work all evening no matter what I do. Very strange.
oweng, if I had the wrong java version it wouldn't work at all, would it? mahfiaz, I tried to set the number to 1000 and it did not help. Same here, it would never work if it exceeded the memory, right?
I found an old bug report for version 3.something. The bug was that calc stopped loading because it waited for windows print spooler in some cases. I don't know if it could be something like that. It would be good if there were some settings that enables logging of some sort.