https://bugs.documentfoundation.org/show_bug.cgi?id=96250
Bug ID: 96250 Summary: Crash loading an ODT file in LOK view Product: LibreOffice Version: 5.1.0.0.beta1 Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: medium Component: Linguistic Assignee: libreoffice-bugs@lists.freedesktop.org Reporter: bugzi...@hadess.net It's a very simple ODT file created with LibreOffice, and that I can open with the same version of LibreOffice [1]. $ cat test.js #!/usr/bin/gjs const Gtk = imports.gi.Gtk; const LOKDocView = imports.gi.LOKDocView; function open_document_cb(res, doc) { print ("open document cb got called"); } Gtk.init(null); let view = LOKDocView.View.new("/usr/lib64/libreoffice/program/", null, null); let location = "/home/hadess/Documents/Battery user testing.odt"; this.view.open_document(location, "", null, function() { print ("open document cb got called"); }); Gtk.main(); $ GI_TYPELIB_PATH=$GI_TYPELIB_PATH:/usr/lib64/libreoffice/girepository-1.0/ LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib64/libreoffice/program/ gjs test.js open document cb got called terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::property_tree::json_parser::json_parser_error> >' what(): <unspecified file>(1): expected value Application Error Make sure to change the path to the ODT file when testing it. [1]: From here: http://koji.fedoraproject.org/koji/buildinfo?buildID=703072 -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs