Error In Function Createsettingsdocument
Contents |
2010-01-11 Posts: 111 [Solved] OOo won't start i try to start openoffice but i get an error:[me@MyComp ~]$ oocalc
Warning: Failed To Read Path From Javaldx
%U [Java framework] Error in function createSettingsDocument (elements.cxx). javaldx javaldx failed libreoffice failed! terminate called after throwing an instance of 'com::sun::star::uno::RuntimeException'i've looked everywhere for an answer but found nothing that helped. Last edited by herrvideman (2010-03-15 14:03:09) Offline #2 2010-03-15 11:14:12 Ultraman Member Registered: 2009-12-24 Posts: 242 Re: [Solved] OOo won't start Have you installed a Java runtime? Offline #3 2010-03-15 12:37:42 herrvideman Member Registered: 2010-01-11 Posts: 111 Re: [Solved] OOo won't start Yes. I had openjdk6, then I figured maybe there was a problem with that. So i switched to jre, which is what I have now. Offline #4 2010-03-15 13:14:50 phantasmik Member Registered: 2010-03-15 Posts: 15 Re: [Solved] OOo won't start Have you tried reinstalling/updating the go-openoffice package and its dependencies? I have openjdk6 and cannot reproduce the issue, what version of xorg are you running? Enthusiast Offline #5 2010-03-15 13:34:22 herrvideman Member Registered: 2010-01-11 Posts: 111 Re: [Solved] OOo won't start I have version "xorg-server 1.7.5.902". And my Arch is up to date.And as far as uninstalling/reinstalling: I first installed the vanilla OOo. Then I uninstalled and then reinstalled it. Then I uninstalled it again and installed go-openoffice. Then I reinstalled that as well. None of that helped. (All dependencies were reinstalled as well (I used "pacman -Rnsu")).I also tried all that with both openjdk6 and jre. Offline #6 2010-03-15 13:38:50 phantasmik Member Registered: 2010-03-15 Posts: 15 Re: [Solved] OOo won't start check permissions on: /home/user/.config/.openoffice.orgyou can try:sudo chown -vR youruser:yourgroup ~/.config/.openoffice.org Enthusiast Offline #7 2010-03-15
communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Ask Ubuntu Questions Tags Users Badges Unanswered Ask Question _ Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Error in function createSettingsDocument (elements.cxx) when using a libreoffice https://bbs.archlinux.org/viewtopic.php?id=93168 command up vote 1 down vote favorite When I run the following script as a root user, the powerpoint file converts to a pdf. When I run the following script as a non root user or a user on my web server I get the errors below. When searching for a solution on this issue, I found a lot of references to the solution having to do with a .config file or a .libreoffice file. I http://askubuntu.com/questions/678125/error-in-function-createsettingsdocument-elements-cxx-when-using-a-libreoffice don't believe I have these files. I installed libreoffice using apt-get install libreoffice. This is the .php file I am executing: exec("libreoffice --headless --invisible --convert-to pdf ./general.pptx 2>&1", $output, $return); print_r($output); This is the result for a non root user: Array ( [0] => [Java framework] Error in function createSettingsDocument (elements.cxx). [1] => javaldx failed! [2] => Warning: failed to read path from javaldx ) libreoffice share|improve this question asked Sep 25 '15 at 1:25 Michael Williamson 61 add a comment| active oldest votes Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook. Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up using Facebook Sign up using Email and Password Post as a guest Name Email Post as a guest Name Email discard By posting your answer, you agree to the privacy policy and terms of service. Browse other questions tagged libreoffice or ask your own question. asked 1 year ago viewed 307 times Related 2Why LibreOffice 3.4 rc 1 missing a shared library that is present on the system?1error message when opening libreoffice 3.40Zotero error in libreoffice3libreoffice re-type password2Convert each slide to PNG with LibreOffice Impress in terminal with excel graph0What causes these error messages when trying to open LibreOffice Writer?1LibreOffice sort function is very slow2Ubuntu Server LibreOffice
index The team • Delete all board error in function cookies • All times are UTC + 1 hour [ DST ] Forum powered by phpBB © phpBB Group By any use of this Website, you agree to be bound by these Policies and Terms of Use Get OpenOffice
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up php libreoffice shell_exec not working up vote 1 down vote favorite 1 i am trying to convert .docx file to .html using php shell_exec in centOS 6.5 my php code: $command = "libreoffice --headless -convert-to html resume.docx 2>&1"; $result = shell_exec($command); echo $result; when i run the index.php at http://localhost/converter/ it gives me: javaldx: Could not find a Java Runtime Environment! Warning: failed to read path from javaldx /usr/lib64/libreoffice/program/soffice.bin X11 error: Can't open display: Set DISPLAY environment variable, use -display option or check permissions of your X-Server (See "man X" resp. "man xhost" for details) while in terminal it is working perfect: cd /var/www/html/converter/ libreoffice --healdess -convert-to html resume.docx here it creates resume.html in my /var/www/html/converter/ i am new to linux and shell_exec... please help any suggestion or help would be a great help thanks in advance. php linux centos libreoffice shell-exec share|improve this question asked Apr 9 '14 at 20:50 Muhammad Sufiyan 73611338 add a comment| 2 Answers 2 active oldest votes up vote 3 down vote Hi i have the same problem, i want to convert PDF's from DOCS created with PHP, i'm using OpenSuse 12.3 with LibreOffice, tried many things, finally i detect that the error is in folder: 1.- First check that you don't have disabled shell_exec in php.ini, and open_basedir don't restrict your access folders. 2.- Run the command as a simple user in shell (terminal) export HOME=/tmp && soffice --headless --convert-to pdf --outdir /srv/www/htdocs/ /srv/www/htdocs/Creecimientos/sic/app/webroot/usuarios/2/8_Pagare_CreePersonas.docx 3.- If it works, you only have to put the correct folders in your code, when i run this code in PHP, it show me a blank page, so i check the access_log of apache for