Forums

abiword problems

Please tell me how i installed thy abiword in pythonanywhere

when i convert the docx file to pdf with abiword command line i got this error : (abiword:366): WARNING **: 07:25:12.190: clutter failed 0, get a life.
Unable to init server: Could not connect: Connection refused

If I'm not mistaken it's a warning that comes from another program that abiword is using, but it should not prevent abiword from converting the file. I've just tested this on the newest system image and it works (for pdf and doc documents at least). If you want to get rid of this warning, you can always redirect the stderr to /dev/null, by appending 2>/dev/null to the command.

oka but i do not know how can i use this command 2>/dev/null. please tell me the proper format with abiword commands.

Can i convert my file doc to pdf like this abiword --to=foo.pdf foo.docx 2>/dev/null

--to should be a format, so rather only pdf --> abiword --to=pdf foo.docx (I haven't tried docx, but it worked with doc for me).