<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Thanks a lot for your reply!<br>
<br>
I've actually tried fiddling with several versions of LibreOffice
and OpenOffice and finally reverted to OpenOffice from the main
lucid repository (i've made sure to purge old installs before
trying new ones), because all had the same behaviour.<br>
<br>
I had to change the paths in <span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">~/lib/cfg.d/openoffice.pl</span>,
because I initially saw the error "OpenOffice is not installed on
your system".<br>
<br>
I could easily search for soffice.bin and change the path to:<br>
/usr/lib/openoffice/program/soffice.bin<br>
<br>
$c->{executables}->{openoffice} =
'/usr/lib/openoffice/program/soffice.bin';<br>
<br>
However there is no "python" in the same folder, and searching for
it gives me several locations, because there is no file extension,
so I am not sure which location to choose. <br>
<br>
Am I looking for a file or a folder, and are there any clues, that
might point me to the right path?<br>
<br>
Running:<br>
<span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">~/archives/ARCHIVEID/bin/openoffice-local.pl
ARCHIVEID start</span><br>
<br>
Gives me "Permission denied". User and group for <span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">openoffice-local.pl</span>
is www-data. I've tried changing the user to eprints, but still
"permission denied".<br>
<br>
The log file is now appended to, but unfortunately it is not very
helpful:<br>
"...<br>
OpenOffice process died, restarting...<br>
Starting OpenOffice<br>
Tried 10 times to start OpenOffice in the last 15 secs. Something
is wrong, leaving now"<br>
<br>
Thanks again for you help. I guess I'll try all the "python"
locations just to make sure, but I have no idea what to do about
the permission denied error.<br>
<br>
<div class="moz-signature">
<p style="color:#999;"><strong>Med venlig hilsen/Best regards</strong></p>
<p style="color:#999;"><strong>JACOB WENZEL<br>
Projektleder</strong></p>
<p style="color:#999;"><strong>ENERGIAKADEMIET</strong><br>
Strandengen 1<br>
8305 SAMSØ<br>
+45 60 61 15 97<br>
<a style="color:#999; text-decoration:none;"
href="mailto:jw@energiakademiet.dk">jw@energiakademiet.dk</a><br>
<a style="color:#999; text-decoration:none;"
href="http://energiakademiet.dk">www.energiakademiet.dk</a><br>
</p>
</div>
On 19-05-2014 11:19, John Salter wrote:<br>
</div>
<blockquote
cite="mid:EMEW3|8c7d93c532b1009b4dea206b6f8ce835q4IAKa14eprints-tech-bounces|ecs.soton.ac.uk|7154BCBB8909D642AE6F44CA713DBC2008EFB683CB22@HERMES7.ds.leeds.ac.uk"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Word 14 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Try
running it from the commandline:<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">~/archives/ARCHIVEID/bin/openoffice-local.pl
ARCHIVEID start<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">I’d
have a look at the following:<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">~/lib/cfg.d/openoffice.pl<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">and
check all the paths are OK – it may be that Ubuntu installs
them elsewhere. I had to tweak it slightly as we use
LibreOffce.<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">I
think that by default, the openoffice log is overwritten,
not appended to (this may have changed since I last looked
at it though). Look in
~/lib/plugins/EPrints/Plugin/OpenOffice.pm, at the ‘new’ sub
– you might want to change:<o:p></o:p></span></p>
<p class="MsoNormal" style="text-indent:36.0pt"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">if(
open( $fh, "+>".$self->logfile() ) )<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">to<o:p></o:p></span></p>
<p class="MsoNormal" style="text-indent:36.0pt"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">if(
open( $fh, ">>".$self->logfile() ) )<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">If
you’re using OpenOffice for coversheets, it’s also worth
knowing that the indexer (that process’ the events) uses
it’s own copy of the EPrints stack – so any changes to the
config of a reo require the indexer to be restarted before
they are picked up.<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Cheers,<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">John<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">
<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF
1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext"
lang="EN-US">From:</span></b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext"
lang="EN-US"> <a class="moz-txt-link-abbreviated" href="mailto:eprints-tech-bounces@ecs.soton.ac.uk">eprints-tech-bounces@ecs.soton.ac.uk</a>
[<a class="moz-txt-link-freetext" href="mailto:eprints-tech-bounces@ecs.soton.ac.uk">mailto:eprints-tech-bounces@ecs.soton.ac.uk</a>] <b>On
Behalf Of </b>Jacob Wenzel<br>
<b>Sent:</b> 19 May 2014 07:23<br>
<b>To:</b> <a class="moz-txt-link-abbreviated" href="mailto:eprints-tech@ecs.soton.ac.uk">eprints-tech@ecs.soton.ac.uk</a><br>
<b>Subject:</b> [EP-tech] OpenOffice failed to start<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">In EPrints v3.3.12 on Ubuntu Server
10.04.04: Whenever I press "Start OpenOffice", EPrints
displays the message: "OpenOffice started".<br>
<br>
But when I refresh the page or click somewhere else and go
back, a red error message is displayed reading "Failed to
start OpenOffice".<br>
<br>
"Openoffice.log" in "/usr/share/eprints3/var" is completely
empty, even though it seems to be edited every time I try to
start OpenOffice from EPrints.<br>
<br>
This is driving me nuts, please help me solve this puzzle. Any
help would be greatly appreciated. <o:p></o:p></p>
<div>
<p class="MsoNormal">-- <o:p></o:p></p>
<p><strong><span style="color:#999999">Med venlig hilsen/Best
regards</span></strong><span style="color:#999999"><o:p></o:p></span></p>
<p><strong><span style="color:#999999">JACOB WENZEL</span></strong><b><span
style="color:#999999"><br>
<strong>Projektleder</strong></span></b><span
style="color:#999999"><o:p></o:p></span></p>
<p><strong><span style="color:#999999">ENERGIAKADEMIET</span></strong><span
style="color:#999999"><br>
Strandengen 1<br>
8305 SAMSØ<br>
+45 60 61 15 97<br>
<a moz-do-not-send="true"
href="mailto:jw@energiakademiet.dk"><span
style="color:#999999;text-decoration:none">jw@energiakademiet.dk</span></a><br>
<a moz-do-not-send="true" href="http://energiakademiet.dk"><span
style="color:#999999;text-decoration:none">www.energiakademiet.dk</span></a><o:p></o:p></span></p>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">*** Options: <a class="moz-txt-link-freetext" href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech">http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</a>
*** Archive: <a class="moz-txt-link-freetext" href="http://www.eprints.org/tech.php/">http://www.eprints.org/tech.php/</a>
*** EPrints community wiki: <a class="moz-txt-link-freetext" href="http://wiki.eprints.org/">http://wiki.eprints.org/</a>
*** EPrints developers Forum: <a class="moz-txt-link-freetext" href="http://forum.eprints.org/">http://forum.eprints.org/</a>
</pre>
</blockquote>
<br>
</body>
</html>