Failed - error converting file. task did not complete within

Discuss the word processor

Failed - error converting file. task did not complete within

Postby psubramanian » Mon Sep 18, 2017 10:51 pm

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
psubramanian
 
Posts: 6
Joined: Mon Sep 18, 2017 9:33 pm

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

Postby John_Ha » Tue Sep 19, 2017 1:05 pm

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.
AOO 4.1.4, Windows 7 Home 64 bit

See the Writer Manual, the Writer FAQ, the Writer Tutorials and the up to date Writer guide for information. Click the Help button on a pop-up window for extensive help on that function.
John_Ha
Volunteer
 
Posts: 4656
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK

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

Postby psubramanian » Wed Sep 20, 2017 5:13 pm

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
psubramanian
 
Posts: 6
Joined: Mon Sep 18, 2017 9:33 pm

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

Postby John_Ha » Wed Sep 20, 2017 5:18 pm

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.
AOO 4.1.4, Windows 7 Home 64 bit

See the Writer Manual, the Writer FAQ, the Writer Tutorials and the up to date Writer guide for information. Click the Help button on a pop-up window for extensive help on that function.
John_Ha
Volunteer
 
Posts: 4656
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK

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

Postby psubramanian » Wed Sep 20, 2017 5:23 pm

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
psubramanian
 
Posts: 6
Joined: Mon Sep 18, 2017 9:33 pm

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

Postby John_Ha » Wed Sep 20, 2017 5:53 pm

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.
AOO 4.1.4, Windows 7 Home 64 bit

See the Writer Manual, the Writer FAQ, the Writer Tutorials and the up to date Writer guide for information. Click the Help button on a pop-up window for extensive help on that function.
John_Ha
Volunteer
 
Posts: 4656
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK

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

Postby psubramanian » Wed Sep 20, 2017 5:56 pm

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
psubramanian
 
Posts: 6
Joined: Mon Sep 18, 2017 9:33 pm

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

Postby RoryOF » Wed Sep 20, 2017 6:05 pm

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.4 on Xubuntu 16.04.03 (mostly 64 bit version) and infrequently on Win2K/XP
14 October 2016 was Pooh's 90th birthday
User avatar
RoryOF
Moderator
 
Posts: 25511
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

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

Postby psubramanian » Wed Sep 20, 2017 6:11 pm

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
psubramanian
 
Posts: 6
Joined: Mon Sep 18, 2017 9:33 pm

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

Postby John_Ha » Wed Sep 20, 2017 8:16 pm

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.
AOO 4.1.4, Windows 7 Home 64 bit

See the Writer Manual, the Writer FAQ, the Writer Tutorials and the up to date Writer guide for information. Click the Help button on a pop-up window for extensive help on that function.
John_Ha
Volunteer
 
Posts: 4656
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK

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

Postby psubramanian » Wed Sep 20, 2017 8:59 pm

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
psubramanian
 
Posts: 6
Joined: Mon Sep 18, 2017 9:33 pm


Return to Writer

Who is online

Users browsing this forum: No registered users and 23 guests