monperrus / ExpandAnimations

LibreOffice/OpenOffice.org extension to expand animations before exporting to PDF. Looking for maintainers.
https://github.com/monperrus/ExpandAnimations
GNU Lesser General Public License v3.0
230 stars 30 forks source link

ExpandAnimations freezes office #16

Open freeseek opened 8 years ago

freeseek commented 8 years ago

I am not sure how to present/debug this issue, but ExpandAnimations freezes while soffice.bin runs at 100% of the CPU. Nothing useful gets created other than a -expanded.odp file pretty much identical to the original file. The only way to regain control of the software is to kill libreoffice.

gmolledaj commented 8 years ago

¿Libreoffice version? ¿Linux/Windows/Mac? ¿Fedora, Ubuntu, Suse, Debian, Mint, ...? Steps, file example, ... Thanks.

freeseek commented 8 years ago

LibreOffice, Version: 5.1.4.2, Build ID: 1:5.1.4-0ubuntu1, running on Ubuntu 16.04. However, I think the issues might lie in LibreOffice as it froze itself similarly while I was trying to duplicate the slides manually. Feel Free to close this issue.

gmolledaj commented 8 years ago

You could attach the file and write the steps. I could reproduce it. I use Linux Mint 18 based in Ubuntu 16.04 with the same LibreOffice version.

pranavshirhatti commented 7 years ago

I am facing a similar issue (as freeseek) with the expand animations add on - which is a very useful tool that I use quite often.

Following are the symptoms:
(1) In converting a presentation to pdf using expand animations the program freezes (CPU usage goes to 100% for more than a 5 minutes) and the only option is to force quit LibreOffice. . (2) I see that my folder contains another .odp file with the name ...expanded but it is identical to the original document. Moreover there is no pdf output.

My .odp file is ~ 30 MB and it seems to be the issue to me. When I make a simple file with only a few slides with file size ~ 10 MB then it seems to work well.

My system details: LibreOffice version 5.1.4.2

I have tried this both on Windows 7 and Ubuntu 16.06 and the problem is reproducible.

gmolledaj commented 7 years ago

LibreOffice 5.2.0.4 LinuxMint 18 Mate (based Ubuntu 16.04): Doesn't work. Ne funkcias. No funciona. LinuxMint 17 Mate (based Ubuntu 14.04): Works. Ĝi funkcias. Funciona. I see that in LinuxMint 18 (ubuntu 16.04) the drop-down menu in Macro Editor doesn't work, and later the drop-down menu in LibreOffice don't work.

gmolledaj commented 7 years ago

In LinuxMint 18 Mate (64bits) I have uninstall all (sudo apt-get autoremove libreoffice* and remove ~/.config/libreoffice directory. I have installed LibreOffice 5.2.0.4 from www.libreoffice.org fresh version without libobasis5.2-gnome-integration_5.2.0.4-4_amd64.deb nor libobasis5.2-kde-integration_5.2.0.4-4_amd64.deb All work well now, ExpandAnimations with presentation with 94 slices (78 visible), 750,3 Kb, and all work ok --> output PDF 1,9Mb with 474 pages. One time, before, I open macro-editor, one breakpoint in function expandanimation in for and run, remove breakpoint and follow run (F5). The LibreOffice have a randomly behaviour, but ExpandAnimations work well. ¿Memory assigned in libreoffice? Tools - Options - Memory Vaya pestiño el inglés, realmente me empezó a funcionar bien tras varias pruebas y una vez que ejecuté la macro ExpandAnimations directamente desde el editor de macros, algo pasaría que dejé de perder los menús y se creó el pdf en tiempo récord, fenomenal. Como uso Mate pensé que tal vez me vienen los problemas de la integración con el escritorio y por eso no he instalado los paquetes con la palabra integration, pero no sé por qué pasaba lo de bloquearse (igual tardaba mucho, pero mucho, en ejecutarse ExpandAnimations). A ver si aprendemos todos esperanto que es más fácil y dejamos de perder miles de horas en aprender idiomas de otros de forma estúpida en vez de aprovechar el tiempo y no dejarnos robar por academias.

jcbastosportela commented 7 years ago

Hi, I faced similar issues. Tried to run ExpandAnimations in my .odt and CPU was 100% for nearly 2h, after I decided to kill the process. I worked around by manually splitting my presentation, exporting part by part and merging the result PDFs.

Maybe we can try to implement a similar mechanism. Maybe as a parameter, for choosing working slides pool. In the end it can run pdfunite or similar.

I had a look to the code and it seems do-able. :)

mangaloreman commented 7 years ago

I am facing the same issue -- Impress freezes when I run Expand Animations. A new 'filename_expanded.odp' gets created, but it is identical to the original 'filename.odp'

I've successfully used the Expand Animations tool for many years on Ubuntu 12.04, with its default LibreOffice package. I recently did a fresh install of Ubuntu 16.04 (64 bit) and tried to use Expand Animations, unsuccessfully.

Any updates/suggestions on this bug will be much appreciated!

mangaloreman commented 7 years ago

An update since my previous comment above.

I created a new empty odp file, and simply copied the old slides one by one into the new presentation file. I then ran Expand Animations, and it worked fine!