• Preview not working

  • OpenKM has many interesting features, but requires some configuration process to show its full potential.
OpenKM has many interesting features, but requires some configuration process to show its full potential.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #39936  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/*.*'
 #39951  by jllort
 
Can you convert word document to pdf ( there's a tool bar option )
 #39966  by jllort
 
Word document can be converted to pdf but text document can not ? is that ?
 #39977  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 ?
 #39978  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.
 #39993  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 ?
 #40000  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.

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.