conversion in OM is performed by jodconverter if *.pdf file is not in the same "alphanumeric" folder then this conversion has failed
On Tue, Apr 15, 2014 at 8:04 PM, Giovanni <[email protected]> wrote: > Sure Maxim! > Headless conversions like > > libreoffice --headless --convert-to pdf /data/Giovanni/files/test.odt > --outdir /data/Giovanni/files > > > work fine, and I was kinda sure of it since when I upload an odt in OM the > box says "conversion completed" (and it's clear reading the log too), the > issue starts afterwards: it is like the --outdir of the conversion is > different from the one in which OM searches for the converted file. > Basically, not finding the file, it loads "deleted.swf" from > usr/lib/red5/wevapps/openmeetings/default/ which is the big crossed > rectangular box. > It's hard to find where do the files actually end up, since it names them > a random alphanumeric string... > > > 2014-04-15 11:32 GMT+02:00 Maxim Solodovnik <[email protected]>: > >> Please share your findings :) >> AFAIK conversion process was not changed since 2.2.0 .... >> >> >> On Tue, Apr 15, 2014 at 4:26 PM, Giovanni <[email protected]> wrote: >> >>> I don' know, I had OM 2.2.0 before and everything was working fine! >>> I'm gonna try to launch some conversion via command line, thank you! >>> >>> >>> 2014-04-14 12:25 GMT+02:00 Maxim Solodovnik <[email protected]>: >>> >>>> most probably OO headless is not configured properly >>>> >>>> >>>> >>>> On Mon, Apr 14, 2014 at 5:16 PM, Giovanni <[email protected]> wrote: >>>> >>>>> The local OM server is on a Ubuntu desktop machine (here it works) >>>>> while the remote server is a Ubuntu server one (and here it doesn't). >>>>> Ok, i'll give it a shot! >>>>> >>>>> >>>>> 2014-04-14 11:54 GMT+02:00 Maxim Solodovnik <[email protected]>: >>>>> >>>>>> I guess you need to to try to find the command used to convert file >>>>>> and try it from command line on both machines >>>>>> >>>>>> Both these Ubuntu machines are desktops? servers? >>>>>> >>>>>> >>>>>> On Mon, Apr 14, 2014 at 4:31 PM, Giovanni <[email protected]> wrote: >>>>>> >>>>>>> Hi! >>>>>>> I have JRE 1.6 in both my local and my remote server, but the >>>>>>> conversion of libreoffice files only works in my local OM server! It's >>>>>>> really weird, the systems are practically identical but it works only in >>>>>>> one of them, and I spent a bunch of time trying to figure out what's >>>>>>> wrong... >>>>>>> What could I check to see if I'm having the issue you described? >>>>>>> Thank you in advance! >>>>>>> >>>>>>> >>>>>>> 2014-04-11 17:44 GMT+02:00 Rob Bunch <[email protected]>: >>>>>>> >>>>>>> On 4/11/2014 7:06 AM, Giovanni wrote: >>>>>>>> >>>>>>>> Ok, here's what I've figured out reading openmeetings.log >>>>>>>> >>>>>>>> - Once you upload a .odt (for instance) it gets saved to >>>>>>>> /openmeetings/uploadtemp/files/ALPHANUMERIC.odt >>>>>>>> - JOD reads it and saves to >>>>>>>> /openmeetings/upload/files/ALFANUMERIC/ the conversion >>>>>>>> ALPHANUMERIC.swf and >>>>>>>> ALPHANUMERIC.odt itself. >>>>>>>> - openmeetings reads >>>>>>>> openmeetings/upload/files/ALPHANUMERIC/ALPHANUMERIC.swf and displays it >>>>>>>> onto the whiteboard >>>>>>>> >>>>>>>> My problem is: even though the JOD conversion is successful (the >>>>>>>> log says:START generate swf .... ALPHNUMERIC.swf) openmeetings can't >>>>>>>> find >>>>>>>> it in openmeetings/upload/files/ALPHANUMERIC/ because there's only the >>>>>>>> original ALPHANUMERIC.odt in there.... >>>>>>>> It's like JOD correctly generates the file but the it vanishes! >>>>>>>> Does anybody have a tip for me? >>>>>>>> Cheers! >>>>>>>> >>>>>>>> >>>>>>>> 2014-04-11 12:19 GMT+02:00 Giovanni <[email protected]>: >>>>>>>> >>>>>>>>> Hello everybody! >>>>>>>>> >>>>>>>>> I'm having troubles with uploading libreoffice files onto the >>>>>>>>> whiteboard: as I select one, after the upload all I get is a big >>>>>>>>> orange >>>>>>>>> crossed rectangular box with "deleted" written on it. >>>>>>>>> Checking the openoffice.log the only thing noticable is >>>>>>>>> >>>>>>>>> LOG DownloadHandler: The request file is not readable >>>>>>>>> >>>>>>>>> But I don't think is a privilege issue, since pdf and jpeg coming >>>>>>>>> from the same directory are uploaded right. >>>>>>>>> What it makes it ever more confusing is that I have a mirror >>>>>>>>> system in a local PC with the same exact setup, and there it works >>>>>>>>> perfectly! >>>>>>>>> Both the remote and local server are Ubuntu 12.04 LTS servers. >>>>>>>>> What could I check to troubleshoot this one? >>>>>>>>> I don't understand what is causing the error (jod? libreoffice? >>>>>>>>> openmeetings itself?)... >>>>>>>>> >>>>>>>>> Thank you in advance >>>>>>>>> >>>>>>>> >>>>>>>> Hi Giovanni, >>>>>>>> I am actually having the same exact problem with my >>>>>>>> installation at this time. I have done some research into jodconverter >>>>>>>> and >>>>>>>> it turns out that there is a bug in the tag where the java errors if >>>>>>>> it is >>>>>>>> not java 1.5. The reference is located in the description here: >>>>>>>> https://code.google.com/p/jodconverter/downloads/detail?name=jodconverter-core-3.0-beta-4-dist.zipI >>>>>>>> have not figured out how to modify the jar file yet but it sounds like >>>>>>>> that is what needs done for both of us :) If I figure out how to do it >>>>>>>> I >>>>>>>> will supply a link to the modified file. >>>>>>>> >>>>>>>> -- >>>>>>>> Rob Bunch >>>>>>>> Manager, Auctionaholics LLC >>>>>>>> P.O. Box 1055 >>>>>>>> Ward Cove, AK 99928http://www.auctionaholics.com907-821-8520 >>>>>>>> >>>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> WBR >>>>>> Maxim aka solomax >>>>>> >>>>> >>>>> >>>> >>>> >>>> -- >>>> WBR >>>> Maxim aka solomax >>>> >>> >>> >> >> >> -- >> WBR >> Maxim aka solomax >> > > -- WBR Maxim aka solomax
