Hi :)
There is not much point in fixing a problem when you don't know what the problem is or where it is
if there is one. That's a bit like "pin the tail on the donkey" but without anyone looking to see
how close you got. What if, as it turned out, that the file/folder permissions were not the issue?
You can chown all you want but now you don't know whether the problem has been solved or not.
One trouble-shooting technique is to try su or sudo and if it had no effect then you can rule out a
whole bunch of stuff. As has happened in this case.
As Graham says, what would be really nice is to find a log-file or generate one. Almost all
commands have a "verbose" tag that does the job. How can we get more info about what is going
wrong?
Regards from
Tom :)
________________________________
From: Jay Lozier <jslozier@gmail.com>
To: users@global.libreoffice.org
Sent: Thursday, 28 March 2013, 18:26
Subject: Re: [libreoffice-users] --convert-to always fails silently on Ubuntu
On 03/28/2013 01:58 PM, Tom Davies wrote:
Hi :)
It might have made a difference if he didn't have read/write access to the folder or something
dumb like that. Also it's something quick to try and beats just tearing your hair out.
Regards from
Tom :)
sudo chown blah to change ownership of the folder - I have to look the
exact switches, etc. I have seen this issue crop up occasionally were a
folder tree does not have the permissions set to allow something like this.
________________________________
From: Jay Lozier <jslozier@gmail.com>
To: Kieran Peckett <crazyskeggy@gmail.com>
Cc: users@global.libreoffice.org
Sent: Thursday, 28 March 2013, 17:26
Subject: Re: [libreoffice-users] --convert-to always fails silently on Ubuntu
Keieran
I missed that last night - good catch
On 03/28/2013 12:51 PM, Kieran Peckett wrote:
How would that make a difference? Isn't that what he means when he
said it wouldn't work as SU? - either that or he ran "sudo su" before
running the command, so I doubt that that is th problem.
On 28/03/2013, Jay Lozier <jslozier@gmail.com> wrote:
On 03/27/2013 10:57 PM, Graham Glass wrote:
Hi everyone,
I just downloaded libreoffice 4 and installed it on a Mac (Lion) and
Linux
(Ubuntu). On the Mac, everything works exactly as I expected, and I can
easily convert documents to pdfs using the command line tool like this:
/Applications/LibreOffice.app/Contents/MacOS/soffice --headless
--convert-to
pdf sample.ppt
However, on Unbuntu, when I execute the equivalent command, it always
fails
quickly and silently with exit code 77 (Permission denied).
/opt/libreoffice4.0/program/soffice --headless --convert-to pdf
sample.ppt
This failure happens regardless of whether I am a regular user or
superuser.
I am not running libreoffice via a user interface, and this command is
being
executed on an Amazon EC2 headless machine.
Can someone offer any advice, either a method to get more error
information
(such as a log file or a verbose flag) so I can figure out what's going
on?
I'm sure it's a simple issue, but right now the lack of error reporting
is
making it hard to get the issue resolved.
Thanks in advance!
Cheers,
Graham
--
View this message in context:
http://nabble.documentfoundation.org/convert-to-always-fails-silently-on-Ubuntu-tp4046531.html
Sent from the Users mailing list archive at Nabble.com.
Graham,
Try the command prefixed with sudo.
--
Jay Lozier
jslozier@gmail.com
--
For unsubscribe instructions e-mail to: users+help@global.libreoffice.org
Problems?
http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be
deleted
--
Jay Lozier
jslozier@gmail.com
--
For unsubscribe instructions e-mail to: users+help@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted
--
Jay Lozier
jslozier@gmail.com
--
For unsubscribe instructions e-mail to: users+help@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted
--
For unsubscribe instructions e-mail to: users+help@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.