Page 1 of 1

Preview not working

PostPosted:Wed Jun 17, 2015 5:19 pm
by jshively
I am trying to get the preview working with a MS Word document and receive the following error in in version 6.3.0. I am using Open Office 3.4.
Code: Select all
2015-06-17 13:13:10,273 [http-bio-0.0.0.0-8080-exec-6] ERROR com.openkm.servlet.frontend.ConverterServlet- Error in sys.excepthook:
Traceback (most recent call last):
  File "lib/error.py", line 113, in __call__
  File "/xpython/wxpythonmods/wx/_windows.py", line 493, in __init__
wx._core.PyNoAppError: The wx.App object must be created first!

Original exception was:
Traceback (most recent call last):
  File "main.py", line 72, in <module>
  File "lib/app.py", line 83, in __init__
  File "gui/dialogs.py", line 57, in __init__
  File "gui/options/viewer.py", line 105, in __init__
  File "gui/options/viewer.py", line 64, in __init__
  File "gui/options/viewer.py", line 68, in list_viewers
WindowsError: [Error 2] The system cannot find the path specified: 'viewers/*.*'

com.openkm.core.ConversionException: Error in sys.excepthook:
Traceback (most recent call last):
  File "lib/error.py", line 113, in __call__
  File "/xpython/wxpythonmods/wx/_windows.py", line 493, in __init__
wx._core.PyNoAppError: The wx.App object must be created first!

Original exception was:
Traceback (most recent call last):
  File "main.py", line 72, in <module>
  File "lib/app.py", line 83, in __init__
  File "gui/dialogs.py", line 57, in __init__
  File "gui/options/viewer.py", line 105, in __init__
  File "gui/options/viewer.py", line 64, in __init__
  File "gui/options/viewer.py", line 68, in list_viewers
WindowsError: [Error 2] The system cannot find the path specified: 'viewers/*.*'

Re: Preview not working

PostPosted:Thu Jun 18, 2015 3:01 pm
by jllort
Can you convert word document to pdf ( there's a tool bar option )

Re: Preview not working

PostPosted:Thu Jun 18, 2015 3:12 pm
by jshively
I can convert a Word document, but not a text document.

Re: Preview not working

PostPosted:Sat Jun 20, 2015 8:17 am
by jllort
Word document can be converted to pdf but text document can not ? is that ?

Re: Preview not working

PostPosted:Mon Jun 22, 2015 12:03 pm
by jshively
Correct.

Re: Preview not working

PostPosted:Tue Jun 23, 2015 11:59 am
by jllort
Is your text file smaller ? because we have observated problems with conversion txt to pdf on small sized txt files. Can you check if this is your case ?

Re: Preview not working

PostPosted:Tue Jun 23, 2015 12:18 pm
by jshively
The text document is 12 Bytes and the word document is 21.5KB, but this morning it is not converting the Word document either. It worked when I started this request and have made no changes to the configuration. The error I get when converting the Word document to PDF is "Conversion: error in application/msword to PDF conversion.

Re: Preview not working

PostPosted:Fri Jun 26, 2015 6:47 am
by jllort
Can you take a look if you have a process named "soffice". Which is your OS ? and why are you using openoffice 3.4 and not 4.x ?

Re: Preview not working

PostPosted:Fri Jun 26, 2015 11:40 am
by jshively
No. There is no process called soffice. I'm running it on Windows 7 for now. I'm using openoffice 3.4 because when I ran 4.x it had other errors when trying to convert and one of the other forums said they used 3.4 and it worked. It did work to convert Word documents at first, but it doesn't seem to now.

Re: Preview not working

PostPosted:Sat Jun 27, 2015 3:57 pm
by jllort
You can use openoffice 4.x. If you have openkm started and there's no process named soffice running, then you have a problem on openoffice configuration. Try to check it again http://wiki.openkm.com/index.php/Previsualization