https://bugs.freedesktop.org/show_bug.cgi?id=82937

          Priority: medium
            Bug ID: 82937
          Assignee: [email protected]
           Summary: segfault when exporting to HTML with python lokit
                    wrapper
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: [email protected]
          Hardware: Other
            Status: UNCONFIRMED
           Version: 4.3.0.4 release
         Component: Writer
           Product: LibreOffice

Created attachment 105084
  --> https://bugs.freedesktop.org/attachment.cgi?id=105084&action=edit
first backtrace

First of all exporting from gui, lloconv, --convert-to works fine so it could
be an issue of the cffi wrapper. Said that the crash is html export specific,
does not seem to be related to the input format, odt and doc both fails, see
attached backtraces.

How to reproduce:

virtualenv foo
cd foo
./bin/pip install pylokit
# change lo_path and file name accordingly
cat > repro.py
from pylokit import Office

lo_path = "/usr/lib/libreoffice/program/"

with Office(lo_path) as lo:
    with lo.documentLoad("foo.odt") as doc:
        doc.saveAs("foo.html")
^D

./bin/python repro.py

Tried with python 2.7 and 3.4.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to