-
Notifications
You must be signed in to change notification settings - Fork 373
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
unoconv: UnoException during conversion #3
Comments
github ate some code :) take a look at screenshot — http://dl.dropbox.com/u/3829178/discuss/unoconv-error.png |
Hi, It's not simple to understand what the errors mean. Even for me :-) We get the error from OpenOffice or LibreOffice. Since unoconv 0.4 we added the specific error-code as part of the output (code: 1287) which me help the OpenOffice/LibreOffice developers to track the error to something specific. Googling this error code may give some relevant information:
If you find the cause and we can fix it in unoconv, let me know. |
Problem solved. These files are the problem. I don't know where they came from: .~lock.index.pdf# |
Mike, that's in fact interesting. Maybe unoconv should remove them if encountered, or at least report when they exist they could cause problems. Thanks for the feedback. I'd like to keep this open until we have more info about this. |
I added this possibility to the README's troubleshooting section. Since this is likely caused by LibreOffice/OpenOffice crashing, it's better to fix the cause than trying to workaround it. It's no clear whether we can make sure stale lock files are in fact stale... |
unoconv don't convert anymore:
$ unoconv -f pdf index.html
unoconv: UnoException during conversion in <class 'main.com.sun.star.task.ErrorCodeIOException'>:
ERROR: The provided document cannot be converted to the desired format. (code: 1287)
What can it be?
Some information:
.......................................................................................................................
$ unoconv --version
unoconv 0.4
Written by Dag Wieers dag@wieers.com
Homepage at http://dag.wieers.com/home-made/unoconv/
platform posix/linux2
python 2.6.6 (r266:84292, Dec 26 2010, 22:31:48)
[GCC 4.4.5]
build revision$Rev$
.......................................................................................................................
$ cat /etc/issue
Debian GNU/Linux 6.0
.......................................................................................................................
$ dpkg -l|grep libreoffice
ii libreoffice-base-core 1:3.3.2-3 office productivity suite -- shared library
ii libreoffice-common 1:3.3.2-3 office productivity suite -- arch-independent files
ii libreoffice-core 1:3.3.2-3 office productivity suite -- arch-dependent files
ii libreoffice-draw 1:3.3.2-3 office productivity suite -- drawing
ii libreoffice-filter-binfilter 1:3.3.2-3 office productivity suite -- legacy filters (e.g. StarOffice 5.2)
ii libreoffice-impress 1:3.3.2-3 office productivity suite -- presentation
ii libreoffice-java-common 1:3.3.2-3 office productivity suite -- arch-independent Java support files
ii libreoffice-math 1:3.3.2-3 office productivity suite -- equation editor
ii libreoffice-style-galaxy 1:3.3.2-3 office productivity suite -- Galaxy (Default) symbol style
ii libreoffice-writer 1:3.3.2-3 office productivity suite -- word processor
ii libreoffice-writer2latex 1.0.2-5 Writer/Calc to LaTeX converter extension for LibreOffice
ii libreoffice-writer2xhtml 1.0.2-5 Writer/Calc to XHTML converter extension for LibreOffice
.......................................................................................................................
$ ps axu | grep soffice
1007 3216 0.0 0.0 7536 844 pts/5 S+ 14:17 0:00 grep soffice
root 9107 0.0 0.9 478388 29772 ? Sl Apr28 0:35 /usr/lib/libreoffice/program/soffice.bin -headless -invisible -nocrashreport -nodefault -nologo -nofirststartwizard -norestore -accept=socket,host=localhost,port=2002;urp;StarOffice.ComponentContext
1007 29319 0.0 0.0 324340 2408 ? Sl Apr30 0:15 /usr/lib/libreoffice/program/soffice.bin --versio -splash-pipe=5
.......................................................................................................................
The text was updated successfully, but these errors were encountered: