#1063: Error when converting from .docx to text upon
-------------------------------------------------+-------------------------
Reporter: skaplun | Owner: skaplun
Type: defect | Status: new
Priority: critical | Component: WebSubmit
Version: v1.0.0 | Resolution:
Keywords: libreoffice openoffice docx |
textification fulltext |
-------------------------------------------------+-------------------------
Comment (by skaplun):
Indeed this looks due to:
{{{
>>>> Frame __init__ in /usr/local/lib/python2.7/dist-
packages/invenio/asyncproc.py at line 138
*******************************************************************************
135 # Flag telling feeder threads to quit
136 self.__quit = False
137
----> 138 self.__process = subprocess.Popen(*params, **kwparams)
139
140 if self.__process.stdin:
141 self.__stdin_thread = threading.Thread(
*******************************************************************************
kwparams = "{'shell': False, 'stdout': -1, 'cwd':
None, 'stderr': -1, 'stdin': None}"
self = '<invenio.asyncproc.Process object at
0x32f43d0>'
params = "(('sudo', '-u', 'nobody',
'/usr/bin/python', '/opt/invenio/lib/python/invenio/unoconv.py', '-v',
'-s', 'localhost', '-p', 2002, '--outputfile', '/opt/invenio/v
ar/tmp/ooffice-tmp-files/tmpLLYteh.text', '-f', 'text', '/tmp/CDS-
list.docx'),)"
}}}
where {{{params}}} contains the {{{2002}}} value as an ''int'' rather than
''str''.
--
Ticket URL: <http://invenio-software.org/ticket/1063#comment:1>
Invenio <http://invenio-software.org>