Actually any office file is being converted to PDF using Open/LibreOffice Then PDF is being converted to SWF.
can you check /usr/lib/red5/webapps/openmeetings/upload/files/ 4c18dc41cf94d40f9bc8248625523212/4c18dc41cf94d40f9bc8248625523212.pdf file using desktop PDF viewer? Is it OK? On Tue, Mar 10, 2015 at 7:50 PM, Roberto Greiner <robe...@nead.unesp.br> wrote: > Hi. > > I´m having a problem with "File Upload" in Openmeetings 3.0.4. If I > import a PDF file, it works fine. Anything else fails with a long error > screen starting with the following: > key: processSWF > process: generateSwf > command: /usr/local/bin/pdf2swf -s insertstop -s poly2bitmap -i -j 85 -s > zoom=100 > > /usr/lib/red5/webapps/openmeetings/upload/files/4c18dc41cf94d40f9bc8248625523212/4c18dc41cf94d40f9bc8248625523212.pdf > > /usr/lib/red5/webapps/openmeetings/upload/files/4c18dc41cf94d40f9bc8248625523212/4c18dc41cf94d40f9bc8248625523212.swf > > exception: null > error: Error: Unknown config file command 'fontFileCC' > (/usr/share/xpdf/xpdfrc-chinese-simplified:8) > Error: Unknown config file command 'fontFileCC' > (/usr/share/xpdf/xpdfrc-chinese-traditional:7) > Error: Unknown config file command 'fontFileCC' > (/usr/share/xpdf/xpdfrc-japanese:8) > Error: Unknown config file command 'fontFile' > (/usr/share/xpdf/xpdfrc-japanese:9) > ...... > > I tried to upload a file to the command line and reproduce the error, > and got the following > > ........ > (same messages as above, ending with the following) > Error: May not be a PDF file (continuing anyway) > Error: PDF file is damaged - attempting to reconstruct xref table... > Error: Couldn't find trailer dictionary > Error: Couldn't read xref table > ERROR Couldn't open my_document.doc > > So, it seems to me that Openmeetings is trying to import everything as > if it where pdfs, even files that are not. In this case, it was a > MS-Office file, but other types give the same error, even plain text > files. How do I correct that? > > Thanks, > > Roberto > > PS: install notes: > In my install, I had a 3.0.0-snapshot installed and upgraded it to 3.0.4 > following http://openmeetings.apache.org/Upgrade.html. The systems runs > in a Xen VM, uses Debian 7.8, 64bits, fully updated, 2GB RAM and 4 CPUS. > > -- > ----------------------------------------------------- > Marcos Roberto Greiner > > Os otimistas acham que estamos no melhor dos mundos > Os pessimistas tem medo de que isto seja verdade > James Branch Cabell > ----------------------------------------------------- > > -- WBR Maxim aka solomax