Date: prev next · Thread: first prev next last
2016 Archives by date, by thread · List index


Sorry I missed to add Online on the Subject. I forgot the mailing list is for all LibreOffice development not only online

On 09/23/2016 04:41 PM, Robert Marcano wrote:
I am learning about how Online works internally and and the same time
trying to build a Fedora package for it.

My first try building and running it in my Linux user session gave no
problems, See https://twitter.com/robmv/status/769739549589241857 . For
it I used collabora related tags and needed to use LibreOffice 5.2
instead of Fedora provided 5.1 because a new export of LOKit that is not
in 5.1 (It would be nice to list that requirement).

As this is for a Fedora package it is common to work on the cutting edge
so I switched to 1.9.2 but this time my test build gave a non fatal
JavaScript error, the JSON protocol documentation for lokitversion
message says that there is data but the server was sending only
"lokitversion". I did a hack just to skip that error on ClientSession.cpp

// Send LOKit version information
std::string lokVersionStr =
    "{ \"ProductName\":  \"XXX\", \"ProductVersion\":     \"" + version +
    "\", \"ProductExtension\": \"xxx\", \"BuildId\": \"" + hash + "\" }";
sendTextFrame("lokitversion " + lokVersionStr);

But hacking this fix doesn't solve fatal errors loading a file using
--o:storage.filesystem[@allow]=true

wsd-22698-22699 0:00:24.574890 [ prison_ws_0001 ] ERR
SocketProcessor: exception: Connection reset by peer
wsd-22698-22699 0:00:24.574963 [ prison_ws_0001 ] INF  SocketProcessor
finished.
wsd-22698-22699 0:00:24.574979 [ prison_ws_0001 ] TRC  Abnormal close
handshake.
wsd-22698-22699 0:00:24.575054 [ prison_ws_0001 ] INF
~PrisonerSession dtor [ToPrisoner-0001].
wsd-22698-22699 0:00:24.575088 [ prison_ws_0001 ] ERR
PrisonerRequestHandler::handleRequest: Exception: I/O error: Broken pipe
wsd-22698-22699 0:00:24.575109 [ prison_ws_0001 ] INF  Removing doc
/home/robert/test.odt from Admin
wsd-22698-22699 0:00:24.575126 [ prison_ws_0001 ] INF  Message to
admin console: rmdoc 22752 0001
wsd-22698-22699 0:00:24.575146 [ prison_ws_0001 ] INF  Document
/home/robert/test.odt dtor.
wsd-22698-22699 0:00:24.575212 [ prison_ws_0001 ] DBG  Thread finished.
wsd-22698-22756 0:00:24.574916 [ prison_ws ] ERR  SocketProcessor:
exception: Connection reset by peer

Are tagged releases like 1.9.2 stable enough? Same problems with master
(That return that the version is 1.9.0, older than the tag 1.9.2). What
tag/branch is recommended?

Thanks in advance


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.