Hi Stephan, That's encouraging if it works for you. It is possibly an issue with my setup. But I may need help figuring it out. The error I get is listed below : and the file is attached. -------------- error.txt ---------------------------- Traceback (most recent call last): File "libreconverter-master/libreconverter.py", line 18, in <module> import loutils File "libreconverter-master/loutils.py", line 39, in <module> import uno File "libreoffice-4.0/lib/libreoffice/program/uno.py", line 38, in <module> _g_ctx = pyuno.getComponentContext( ) SystemError: Error during bootstrapping uno (RuntimeException):missing whitespace before attribute in file:///<path>/libreoffice-4.2/lib/libreoffice/program/types/oovbaapi.rdb -------------- error.txt ---------------------------- On Tue, Dec 10, 2013 at 11:27 AM, Stephan Bergmann <sbergman@redhat.com>wrote:
On 12/10/2013 05:06 PM, Neeraj Rai wrote:thanks for the explanation- it makes things clear. Would you happen to know if running an uno server or connecting to it, is affected by this? Background: Robinson Tyron put up on github recently a python utility to convert xls sheets to csv using headless option in response to another post https://github.com/colonelqubit/libreconverter I ran into issues running libreconverter.py It works with 4.0.0.3 but fails for 4.2 with error about whitespace in oovbaapi.rdbThat's odd. I just tried with a fresh checkout of that libreconverter and it works fine here (modulo an unrelated problem with how it finds the LO installation) against my local LO 4.2 build. What is the exact error output you get, and what's the input file you feed into it (can you make it available somewhere)? Stephan
-- ===== Intuition - is the inability to figure out the facts on which we based the decision.
Attachment:
test-headless3.xlsx
Description: MS-Excel 2007 spreadsheet