| View previous topic :: View next topic |
| Author |
Message |
andre4s_y General User

Joined: 05 May 2008 Posts: 9
|
Posted: Sun Mar 01, 2009 8:04 am Post subject: How to solve error : Precondition violation! |
|
|
Hi all,
My current work is trying to convert presentation file (.ppt,.sxi and .odp) into .swf file via PUNO. I am using OpenOffice.org 2.4.1.
Everything run smooth, until when i try to convert one of my ppt file. It was made using Microsoft Power Point 2003. When i try to convert that file, OpenOffice.org output an error via log file :
| Quote: |
terminate called after throwing an instance of 'vigra::PreconditionViolation'
what():
Precondition violation!
BasicImage::upperLeft(): image must have non-zero size.
|
And then the OOo's service terminated.
The file open correctly when i try to open it normally using OOo impress. Then why error occured when i try to open it via OOo API? Presentation version conflict between Microsoft PowerPoint 2003 and OOo Impress 2.4.1? Or something else?
How to solve that error?
Anyone can help me?
Thank you very much..
NB :
I can still produce the error, if someone interested to try. |
|
| Back to top |
|
 |
B Marcelly Super User

Joined: 12 May 2004 Posts: 1414 Location: France
|
Posted: Mon Mar 02, 2009 1:14 am Post subject: |
|
|
Hi,
can you convert this ppt file into swf format with the user interface ?
______
Bernard |
|
| Back to top |
|
 |
andre4s_y General User

Joined: 05 May 2008 Posts: 9
|
Posted: Mon Mar 02, 2009 5:06 am Post subject: |
|
|
Hi..
Thanks for your response. The answer is YES..
I can convert that file only if i start OOo service with User Interface. (manually with impress and using command line without -headless option). If i start OOo with -headless option, it will log error and will terminate. In other word, it only happens in headless mode.
There is mail archive says that :
xStorable.storeToURL(destinationStoreUrl, propertyValues);
cause the crash.
But, i have tried it, and it gives error when open, not when try to convert. So, i say XComponentLoader.loadComponentFromUrl() method cause it. Maybe lack of arguments input? Which one?
Any help? |
|
| Back to top |
|
 |
|