Page 2 of 21
Re: SimpleUpdater - Rev. 10.20 / 2012/11/03
Posted: 03 Nov 2012 18:34
by klownboy
Thanks Marco and serendipity, that 10.20 update worked great on 2 desktops and a laptop for us in US.
Ken
Re: SimpleUpdater - Rev. 10.30 / 2012/11/06
Posted: 06 Nov 2012 11:39
by Marco
Release 10.30 is out. Check the first post for more info.
Re: SimpleUpdater - Rev. 10.40 / 2012/12/17
Posted: 17 Dec 2012 19:34
by Marco
Release 10.40 is out. Check the first post for more info.
Re: SimpleUpdater - Rev. 10.40 / 2012/12/17
Posted: 17 Dec 2012 21:05
by Filehero
Hi Marco,
Marco wrote:Release 10.40 is out. Check the first post for more info.
I get the following error upon triggering "Check for Updates"

- SimpleUpdater_error.gif (43.66 KiB) Viewed 4213 times
With 10.20 (obviously I'd missed 10.30 as I see now) everything (update to 11.90 from today) works fine.
Cheers,
Filehero
Re: SimpleUpdater - Rev. 10.40 / 2012/12/17
Posted: 17 Dec 2012 21:17
by Marco
What does the German string mean?
EDIT: I guess it means that system can't find the requested file. Try raising, in the ini file, the Delay to some higher value.
Re: SimpleUpdater - Rev. 10.40 / 2012/12/17
Posted: 17 Dec 2012 21:37
by serendipity
No, if you upgrade from 10.30 then you will get this error because back then there was no command getpathcomponent.
@Marco: I PMed you earlier that we should have an assert command in the script to make sure that users upgrading have the minimum version.
edit- something like this:
Code: Select all
$minimum = "11.40.0202";
$compatible = (compare(<xyver>, $minimum, v) == -1) ? 0 : 1;
assert ($compatible), "This script needs XYplorer version $minimum or higher.", 1;
Re: SimpleUpdater - Rev. 10.40 / 2012/12/17
Posted: 17 Dec 2012 21:47
by Marco
He is not upgrading from XY 10.30, he said he missed SU 10.30.
Anyway, re the version check, what should be the minimum version?
Re: SimpleUpdater - Rev. 10.40 / 2012/12/17
Posted: 17 Dec 2012 21:51
by serendipity
Sorry, read that tad too fast.
I think getpathcomponent command came in version 11.40.0202.
Re: SimpleUpdater - Rev. 10.40 / 2012/12/17
Posted: 17 Dec 2012 21:54
by Marco
But we don't use getpathcomponent...
Re: SimpleUpdater - Rev. 10.40 / 2012/12/17
Posted: 17 Dec 2012 21:59
by Filehero
Seems I got confused you by confusing myself.
If I remember correctly my last
script version before updating to 10.40 was 10.20. The XY version I got the error with script version 10.40 was v11.80.011.
This is my SimpleUpdater.ini:
Code: Select all
[XYData]
LastModified=Mon, 17 Dec 2012 11:54:48 GMT
[XYSettings]
Delay=1500
Beta=1
Changelog=1
Prompt=1
MultipleInstances=1
Deletion=0
SaveSettings=1
Channel=1
MajorChangelog=0
BetaChangelog=1
Cheers,
Filehero
Re: SimpleUpdater - Rev. 10.40 / 2012/12/17
Posted: 17 Dec 2012 22:13
by serendipity
Marco wrote:But we don't use getpathcomponent...

, i need a coffee now.
Re: SimpleUpdater - Rev. 10.40 / 2012/12/17
Posted: 17 Dec 2012 23:12
by Marco
@Filehero, can you reproduce consistently the error? If so, raising the delay to 2500 solves the problem?
Re: SimpleUpdater - Rev. 10.40 / 2012/12/17
Posted: 18 Dec 2012 15:07
by Filehero
Hi Marco,
yes it's absolutely reproducible. And tweaking the delay param does not change it, neither raising up 2500 nor cranking up to 5000. However, immediately reverting to the previous script version does the trick. Strange.
Cheers,
Filehero
Re: SimpleUpdater - Rev. 10.40 / 2012/12/17
Posted: 18 Dec 2012 20:58
by Marco
Serendipity, do you have any clue?
Re: SimpleUpdater - Rev. 10.40 / 2012/12/17
Posted: 18 Dec 2012 22:14
by Filehero
Marco wrote:Serendipity, do you have any clue?
Just let me know, wether and how I could help you.