Failed - error converting file. task did not complete within

Discuss the word processor
Post Reply
psubramanian
Posts: 12
Joined: Mon Sep 18, 2017 9:33 pm

Failed - error converting file. task did not complete within

Post by psubramanian »

Hi Team,

I am using OpenOffice 3.x to convert the HTML files into PDF.
Getting the below error for some of the html files.

failed - error converting file. task did not complete within timeout

It’s taking more time to convert and finally got failed. Is there a way how to find out what kind of issue in the HTML file?
Also, how to enable more logs in OpenOffice?

In our side, OpenOffice is installed in Linux env.

Any help would be appreciated.
OpenOffice 3.x
OS: Linux
John_Ha
Volunteer
Posts: 9584
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK

Re: Failed - error converting file. task did not complete wi

Post by John_Ha »

Welcome to the forum.

AOO is not brilliant with HTML files and it sounds like there is a problem with the HTML which AOO cannot resolve. Can you save as a .odt file? If so, save and then re-open the .odt file and try again.

Also, try Googling convert html and see what you get - zamzar may be able to do it. I quickly found
How do I change an HTML file to PDF?

To convert HTML files to a PDF document, you'll just need to open and print to Win2PDF using any Windows browser (e.g., Internet Explorer, Firefox, Chrome, etc.). First, open the HTML file or load the web site page in your browser window. Then select 'Print...' from the web browser's File menu.
If this solves the problem, please view your first post in this thread and click the Edit button (top right in the post) and add [Solved] in front of the subject.
LO 6.4.4.2, Windows 10 Home 64 bit

See the Writer Guide, the Writer FAQ, the Writer Tutorials and Writer for students.

Remember: Always save your Writer files as .odt files. - see here for the many reasons why.
psubramanian
Posts: 12
Joined: Mon Sep 18, 2017 9:33 pm

Re: Failed - error converting file. task did not complete wi

Post by psubramanian »

Hi John,

Thanks for your reply.

I renamed the file from .html to .odt, when I try to open the .odt file, getting the below error.

Cannot open file. Something went wrong and your file cannot be opened now. Please try again later.

Is there a way to enable the logs for AOO?

Thanks.
OpenOffice 3.x
OS: Linux
John_Ha
Volunteer
Posts: 9584
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK

Re: Failed - error converting file. task did not complete wi

Post by John_Ha »

You cannot just change the qualifier from .htm to .odt. It's like taking the label off a tin of tomatoes, and replacing it with a label saying plums. The tin still has tomatoes inside it irrespective of what the label says!

Visit zamzar.com and upload the HTML file and ask it to zamzar to convert it to a PDF.
LO 6.4.4.2, Windows 10 Home 64 bit

See the Writer Guide, the Writer FAQ, the Writer Tutorials and Writer for students.

Remember: Always save your Writer files as .odt files. - see here for the many reasons why.
psubramanian
Posts: 12
Joined: Mon Sep 18, 2017 9:33 pm

Re: Failed - error converting file. task did not complete wi

Post by psubramanian »

let me check with zamzar.com, looks this site is unavailable.

Is there a way to enable logs in AOO in Linux env? So that I can identify what kind of issue in the html file like that and why it is taking more time, finally it says failed - error converting file. task did not complete within timeout.
OpenOffice 3.x
OS: Linux
John_Ha
Volunteer
Posts: 9584
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK

Re: Failed - error converting file. task did not complete wi

Post by John_Ha »

psubramanian wrote:Is there a way to enable logs in AOO in Linux env?
If I remember correctly you need a "development version" which produces logs.
LO 6.4.4.2, Windows 10 Home 64 bit

See the Writer Guide, the Writer FAQ, the Writer Tutorials and Writer for students.

Remember: Always save your Writer files as .odt files. - see here for the many reasons why.
psubramanian
Posts: 12
Joined: Mon Sep 18, 2017 9:33 pm

Re: Failed - error converting file. task did not complete wi

Post by psubramanian »

How to identify the current version is installed is "development version". During shutdown / restart the open office in linux env, can we enable logs?
OpenOffice 3.x
OS: Linux
User avatar
RoryOF
Moderator
Posts: 34610
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Failed - error converting file. task did not complete wi

Post by RoryOF »

psubramanian wrote:let me check with zamzar.com, looks this site is unavailable.
That site was available earlier today and just now - I have checked.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
psubramanian
Posts: 12
Joined: Mon Sep 18, 2017 9:33 pm

Re: Failed - error converting file. task did not complete wi

Post by psubramanian »

How to identify the current version is installed is "development version". During shutdown / restart of the openoffice in linux env, how to enable the logs?
OpenOffice 3.x
OS: Linux
John_Ha
Volunteer
Posts: 9584
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK

Re: Failed - error converting file. task did not complete wi

Post by John_Ha »

Start by looking at the LO equivalent of The Apache OpenOffice Wiki

If this solves the problem, please view your first post in this thread and click the Edit button (top right in the post) and add [Solved] in front of the subject.
Last edited by John_Ha on Thu Sep 21, 2017 10:24 am, edited 1 time in total.
LO 6.4.4.2, Windows 10 Home 64 bit

See the Writer Guide, the Writer FAQ, the Writer Tutorials and Writer for students.

Remember: Always save your Writer files as .odt files. - see here for the many reasons why.
psubramanian
Posts: 12
Joined: Mon Sep 18, 2017 9:33 pm

Re: Failed - error converting file. task did not complete wi

Post by psubramanian »

Thanks I will follow this:
https://wiki.openoffice.org/wiki/Docume ... n_Linux%3F

This talks about the installation, not sure how to enable logs for open office.
OpenOffice 3.x
OS: Linux
Post Reply