[Solved] Extending timeout value for links to external data

Discuss the spreadsheet application
Post Reply
gurkand
Posts: 29
Joined: Wed Feb 28, 2018 10:27 am

[Solved] Extending timeout value for links to external data

Post by gurkand »

Hello All,
Is there a way to adjust (actually increase) the timeout value for links to external data?
Some pages I am getting data are slow and I'd like to increase the timeout value, because they are loading but with a delay even from the web browser.
Thanks in advance.
Last edited by gurkand on Fri Sep 20, 2019 9:13 am, edited 1 time in total.
LibreOffice 6.3
User avatar
RusselB
Moderator
Posts: 6646
Joined: Fri Jan 03, 2014 7:31 am
Location: Sarnia, ON

Re: Extending the timeout value for links to external data

Post by RusselB »

Try adjusting the setting marked as Update every __ seconds. 60 is the default.
The wording of what this does, via the help file online, makes it sound like this might be the option you are looking for.
OpenOffice 4.1.7, LibreOffice 7.0.1.2 on Windows 7 Pro, Ultimate & Windows 10 Home (2004)
If you believe your problem has been resolved, please go to your first post in this topic, click the Edit button and add [Solved] to the beginning of the Subject line.
gurkand
Posts: 29
Joined: Wed Feb 28, 2018 10:27 am

Re: Extending the timeout value for links to external data

Post by gurkand »

Nope, it is not what I am asking for.

The data I am getting is on some slow pages. These pages are loaded even to any browser slowly. But they do load.

What I want is to increase the time that my Calc is waiting for a link to respond to it when Calc tries to update.

If let us say Calc tries 3 seconds, for a link to load the data, and timeouts after that time, and those pages actually are loaded in 5 seconds, refreshing more frequently will not Change anything.

Any other suggestions, please?
LibreOffice 6.3
gurkand
Posts: 29
Joined: Wed Feb 28, 2018 10:27 am

Re: Extending the timeout value for links to external data

Post by gurkand »

I believe I have explained the issue better now, any help on this question please?

Regards,
LibreOffice 6.3
gurkand
Posts: 29
Joined: Wed Feb 28, 2018 10:27 am

Re: Extending the timeout value for links to external data

Post by gurkand »

Hello People,

As nobody is replying to this message, I understood that it is not doable with any available Options.

Now a different question;

As this is "Open"Office, is there a way for me to find and Change this related Parameter, somewhere in the Code? Anyone who might help me in this? :roll:
LibreOffice 6.3
User avatar
robleyd
Moderator
Posts: 5426
Joined: Mon Aug 19, 2013 3:47 am
Location: Murbko, Australia

Re: Extending the timeout value for links to external data

Post by robleyd »

As your signature shows LibreOffice 6.3 you probably want LO source code - https://www.libreoffice.org/about-us/source-code/

Or you could submit an enhancement request - https://wiki.documentfoundation.org/QA/BugReport
Slackware 15 64 bit
Apache OpenOffice 4.1.15
LibreOffice 25.8.0.4; SlackBuild for 25.8.0 by Eric Hameleers
---------------------
Roses are Red, Violets are Blue]
Unexpected '{' on line 32
.
John_Ha
Volunteer
Posts: 9600
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK

Re: Extending the timeout value for links to external data

Post by John_Ha »

Can you do it the other way round? Get the data independently and when you have the data it, start LO.

Better, get it, say, every hour and store it locally. LO gets it from the local copy.

Showing that a problem has been solved helps others searching so, if your problem is now solved, 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.
gurkand
Posts: 29
Joined: Wed Feb 28, 2018 10:27 am

Re: Extending the timeout value for links to external data

Post by gurkand »

John_Ha wrote:Can you do it the other way round? Get the data independently and when you have the data it, start LO.

Better, get it, say, every hour and store it locally. LO gets it from the local copy.
Get it...

How will I get it and store automatically to somewhere LO can read?

I thought Calc's Link to External Data would be the best thing to automate this kind of requirements.
LibreOffice 6.3
John_Ha
Volunteer
Posts: 9600
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK

Re: Extending the timeout value for links to external data

Post by John_Ha »

Link to a place the data is stored on your hard drive.

I saved the entire web page www.openoffice.org/ to my desktop as Fred.htm. When I type C:\ in a browser I can navigate to Fred.htm and it shows as file:///C:/Users/John/Desktop/Fred.htm in my browser.

I inserted a hyperlink to Fred.htm into the attached file. Clicking the link opens the stored web page.

Click HELP on the pop-up window or see the Calc manual for more help.

I would download the page often and make a check when using it in LO that it is fairly recent in case the auto-download has stopped working. Or auto-delete it every hour or two so if it hasn't been refreshed it isn't there and you get an error. Or pull in the date the file was written as the age of the data. Or store a local copy of the web page in the browser cache and keep on refreshing it - LO reads from the cached page.
Clipboard01.png
link.ods
(8.43 KiB) Downloaded 172 times
Or use Tools > Customise > Events ..., to run a macro when a? the? spreadsheet opens which kicks off getting the data and waits till it has arrived before allowing the user to continue? putting up a message "OK to continue"?

There are many ways to do it if you are creative.
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.
User avatar
Villeroy
Volunteer
Posts: 31348
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: Extending the timeout value for links to external data

Post by Villeroy »

When I enter "timeout" into the search box of Tools>Options>LibreOffice>Advanced>[Open Expert Configuration] I get several hits.
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
gurkand
Posts: 29
Joined: Wed Feb 28, 2018 10:27 am

Re: Extending the timeout value for links to external data

Post by gurkand »

robleyd wrote:Or you could submit an enhancement request - https://wiki.documentfoundation.org/QA/BugReport
Thank you, I have submitted https://bugs.documentfoundation.org/sho ... ?id=127654
Last edited by robleyd on Fri Sep 20, 2019 9:24 am, edited 1 time in total.
Reason: Add link to enhancement request
LibreOffice 6.3
User avatar
robleyd
Moderator
Posts: 5426
Joined: Mon Aug 19, 2013 3:47 am
Location: Murbko, Australia

Re: [Solved] Extending the timeout value for links to extern

Post by robleyd »

Reinforcing Villeroy's suggestion, this link suggests that what you want may be configured via the expert configuration tool.
Slackware 15 64 bit
Apache OpenOffice 4.1.15
LibreOffice 25.8.0.4; SlackBuild for 25.8.0 by Eric Hameleers
---------------------
Roses are Red, Violets are Blue]
Unexpected '{' on line 32
.
gurkand
Posts: 29
Joined: Wed Feb 28, 2018 10:27 am

Re: Extending the timeout value for links to external data

Post by gurkand »

Villeroy wrote:When I enter "timeout" into the search box of Tools>Options>LibreOffice>Advanced>[Open Expert Configuration] I get several hits.
I will check and Reply to this Topic once I go home and have my home Laptop. Thanks in advance. :super:
LibreOffice 6.3
gurkand
Posts: 29
Joined: Wed Feb 28, 2018 10:27 am

Re: [Solved] Extending timeout value for links to external d

Post by gurkand »

I could not make it work with these parms. Will see how the bug report will work. Thank you.
LibreOffice 6.3
Post Reply