Webブラウザで動くOSSオフィスソフト、LibreOffice Online
この記事を参考に、LibreOfiiceOnline(lool)をUbuntu14.04にインストールしたのですが
install後make runでserverを起動し
office fileをブラウザで開いても、
ckeck_boxが一つ表示されるだけで、お手上げ状態です。
同じ状態になった方、解決方法を知っている方がいらっしゃいましたら
officeファイルを
html
1<!DOCTYPE html> 2<!-- saved from url=(0054)http://leafletjs.com/examples/quick-start-example.html --> 3<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 4<title>Online Editor</title> 5<meta charset="utf-8"> 6 7<meta name="viewport" content="width=device-width, initial-scale=1.0"> 8 9<script> 10 // Start listening for Host_PostmessageReady message and save the 11 // result for future 12 window.WOPIpostMessageReady = false; 13 var PostMessageReadyListener = function(e) { 14 var msg = JSON.parse(e.data); 15 if (msg.MessageId === 'Host_PostmessageReady') { 16 window.WOPIPostmessageReady = true; 17 window.removeEventListener('message', PostMessageReadyListener, false); 18 } 19 }; 20 window.addEventListener('message', PostMessageReadyListener, false); 21</script> 22<link rel="stylesheet" href="/loleaflet/master../branding.css"> <!-- add your logo here --> 23<link rel="localizations" href="/loleaflet/master../l10n/localizations.json" type="application/vnd.oftn.l10n+json"/> 24<link rel="localizations" href="/loleaflet/master../l10n/styles-localizations.json" type="application/vnd.oftn.l10n+json" /> 25<link rel="localizations" href="/loleaflet/master../l10n/uno-localizations.json" type="application/vnd.oftn.l10n+json" /> 26<link rel="localizations" href="/loleaflet/master../l10n/help-localizations.json" type="application/vnd.oftn.l10n+json"/> 27<style type="text/css"></style></head> 28 <body> 29 <!--The "controls" div holds map controls such as the Zoom button and 30 it's separated from the map in order to have the controls on the top 31 of the page all the time. 32 33 The "document-container" div is the actual display of the document, is 34 what the user sees and it should be no larger than the screen size. 35 36 The "map" div is the actual document and it has the document's size 37 and width, this being inside the smaller "document-container" will 38 cause the content to overflow, creating scrollbars --> 39 40 <div class="header-wrapper"> 41 <div id="logo" class="logo"></div> 42 <nav class="main-nav" role="navigation"> 43 <!-- Mobile menu toggle button (hamburger/x icon) --> 44 <input id="main-menu-state" type="checkbox" /> 45 <label class="main-menu-btn" for="main-menu-state"> 46 <span class="main-menu-btn-icon"></span> 47 </label> 48 <ul id="main-menu" class="sm sm-simple lo-menu"></ul> 49 </nav> 50 <div id="toolbar-wrapper"> 51 <div id="toolbar-up"></div> 52 <div id="formulabar"></div> 53 <div id="toolbar-up-more"></div> 54 </div> 55 <input id="insertgraphic" type="file" onchange="onInsertFile()" style="position: fixed; top: -100em"> 56 </div> 57 58 <div id="spreadsheet-row-column-frame"> 59 </div> 60 61 <div id="document-container"> 62 <div id="map"></div> 63 </div> 64 <div id="spreadsheet-toolbar"></div> 65 66 <div id="presentation-controls-wrapper"> 67 <div id="slide-sorter"></div> 68 <div id="presentation-toolbar"></div> 69 </div> 70 71 <div id="toolbar-down"></div> 72 73 <div id="about-dialog" style="display:none; text-align: center;"> 74 <h1 id="product-name">LibreOffice Online</h1> 75 <hr/> 76 <h3 id="product-string"></h3> 77 <p> 78 <h3>LOOLWSD</h3> 79 <div id="loolwsd-version"></div> 80 </p> 81 <p> 82 <h3>LOKit</h3> 83 <div id="lokit-version"></div> 84 </p> 85 </div> 86 87 <script> 88 window.host = 'wss://192.168.0.32:9980'; 89 window.access_token = ''; 90 window.access_token_ttl = '0'; 91 window.loleaflet_logging = 'true'; 92 </script> 93 <script src="/loleaflet/master../branding.js"></script> <!-- logo onclick handler --> 94 <script src="/loleaflet/master../bundle.js"></script> 95 <script src="/loleaflet/master../toolbar/w2ui.min.js"></script> 96 <script src="/loleaflet/master../toolbar/toolbar.js"></script> 97</body></html> 98
/tmp/loolwsd.log
error
1wsd-14964-14975 07:32:44.060806 [ websrv_poll ] INF #20: Client HTTP Request: GET /favicon.ico HTTP/1.1 / Host: 192.168.0.32:9980 / Connection: keep-alive / Pragma: no-cache / Cache-Control: no-cache / User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36 / Accept: image/webp,image/*,*/*;q=0.8 / Referer: https://192.168.0.32:9980/loleaflet/master../loleaflet.html?file_path=file:///opt/test/data/hello-world.odt / Accept-Encoding: gzip, deflate, sdch, br / Accept-Language: ja,en-US;q=0.8,en;q=0.6 / Cookie: oc_sessionPassphrase=zxXydwLUyq5X0Bz6WdqndEkpEzL61qDWbSvpdRUfH0lET%2Fxy5u9MGnLI4pf3bWq1cMC8AZqzbTOL2WQK%2B1PElmXzd7iZtA4FzJcuM3ROhUlfUH%2BDFHOnn8fdKBa9qFID; ociv9xhnoftp=b1kmp3st361e92acponov4g3g7wsd/LOOLWSD.cpp:1624 2wsd-14964-14975 07:32:44.060884 [ websrv_poll ] DBG Favicon request: /favicon.ico| wsd/LOOLWSD.cpp:1769 3wsd-14964-14975 07:32:44.060958 [ websrv_poll ] TRC #20: Set socket buffer size to 10860| ./net/Socket.hpp:121 4wsd-14964-14975 07:32:44.061004 [ websrv_poll ] TRC #20: Sending file [/opt/favicon.ico]: HTTP/1.0 200 OK^M 5Content-Type: image/vnd.microsoft.icon^M 6Content-Length: 5430^M 7User-Agent: LOOLWSD Agent^M 8Date: Mon, 03 Apr 2017 07:32:44 GMT^M 9Cache-Control: max-age=11059200^M 10ETag: "master.."^M 11^M 12| net/Socket.cpp:214 13wsd-14964-14975 07:32:44.068003 [ websrv_poll ] TRC #20: Wrote outgoing data 196 bytes.| ./net/Socket.hpp:786 14wsd-14964-14975 07:32:44.068186 [ websrv_poll ] TRC #20: Wrote outgoing data 5430 bytes.| ./net/Socket.hpp:786 15wsd-14964-14975 07:32:44.068227 [ websrv_poll ] TRC #20: Async shutdown requested.| ./net/Socket.hpp:592 16wsd-14964-14975 07:32:44.068253 [ websrv_poll ] DBG SslStreamSocket::closeConnection() #20| ./net/SslSocket.hpp:67 17wsd-14964-14975 07:32:44.068296 [ websrv_poll ] TRC #20: socket shutdown RDWR.| ./net/Socket.hpp:72 18wsd-14964-14975 07:32:44.068329 [ websrv_poll ] TRC #20: Closed. Firing onDisconnect.| ./net/Socket.hpp:759 19wsd-14964-14975 07:32:44.068347 [ websrv_poll ] DBG Removing socket #20 (of 1) from websrv_poll| ./net/Socket.hpp:337 20wsd-14964-14975 07:32:44.068364 [ websrv_poll ] DBG SslStreamSocket dtor #20| ./net/SslSocket.hpp:53 21wsd-14964-14975 07:32:44.068405 [ websrv_poll ] DBG StreamSocket dtor #20| ./net/Socket.hpp:576 22wsd-14964-14975 07:32:44.068424 [ websrv_poll ] TRC #20 Socket dtor.| ./net/Socket.hpp:59 23wsd-14964-14976 07:32:45.190647 [ admin ] TRC Poll completed with 0 live polls max (4999ms)(timedout)| ./net/Socket.hpp:315 24wsd-14964-14976 07:32:45.190708 [ admin ] TRC Admin poll for 4997ms| wsd/Admin.cpp:345 25wsd-14964-14964 07:32:45.192621 [ loolwsd ] TRC Poll completed with 0 live polls max (5000ms)(timedout)| ./net/Socket.hpp:315 26wsd-14964-14966 07:32:45.192677 [ prisoner_poll ] TRC Poll completed with 1 live polls max (5000ms)| ./net/Socket.hpp:315 27wsd-14964-14964 07:32:47.609947 [ loolwsd ] TRC Poll completed with 1 live polls max (5000ms)| ./net/Socket.hpp:315 28wsd-14964-14964 07:32:47.610000 [ loolwsd ] INF Stopping server socket listening. ShutdownFlag: true, TerminationFlag: false| wsd/LOOLWSD.cpp:2482 29wsd-14964-14964 07:32:47.610023 [ loolwsd ] INF Cleaning up lingering documents.| wsd/LOOLWSD.cpp:2489 30wsd-14964-14964 07:32:47.610037 [ loolwsd ] INF Requesting forkit process 14967 to terminate.| wsd/LOOLWSD.cpp:2494 31wsd-14964-14964 07:32:47.610051 [ loolwsd ] DBG Killing PID: 14967| common/SigUtil.cpp:284 32wsd-14964-14964 07:32:47.610073 [ loolwsd ] INF Requesting child processes to terminate.| wsd/LOOLWSD.cpp:2499 33wsd-14964-14964 07:32:47.610088 [ loolwsd ] DBG Closing ChildProcess [14969].| wsd/DocumentBroker.hpp:116 34wsd-14964-14974 07:32:47.610111 [ accept_poll ] TRC Poll completed with 1 live polls max (5000ms)| ./net/Socket.hpp:315 35wsd-14964-14966 07:32:47.610334 [ prisoner_poll ] TRC Poll completed with 1 live polls max (5000ms)| ./net/Socket.hpp:315 36wsd-14964-14966 07:32:47.610365 [ prisoner_poll ] WRN Removing dead spare child [-1].| wsd/LOOLWSD.cpp:334 37wsd-14964-14966 07:32:47.610381 [ prisoner_poll ] DBG StreamSocket dtor #12| ./net/Socket.hpp:576 38wsd-14964-14966 07:32:47.610396 [ prisoner_poll ] WRN Prisoner connection disconnected but without valid socket.| wsd/LOOLWSD.cpp:1411 39wsd-14964-14966 07:32:47.610410 [ prisoner_poll ] TRC #12: socket shutdown RDWR.| ./net/Socket.hpp:72 40wsd-14964-14966 07:32:47.610455 [ prisoner_poll ] TRC #12 Socket dtor.| ./net/Socket.hpp:59
#環境
Ubuntu14.04
node.js v7.8.0
npm 4.2.0
libreoffice 5.3.0.3
Apache/2.4.7 (Ubuntu)
lool branch:master
あなたの回答
tips
プレビュー