Page 4 of 8
Re: XYplorer Automatic Updater
Posted: 14 Jan 2009 11:36
by jacky
serendipity wrote:Wow Jacky!!! I just tried your new script and its incredible. Thanks for this nice script.

Thanks, glad you like it! I'm liking it myself very much as well

Re: XYplorer Automatic Updater
Posted: 14 Jan 2009 18:55
by a1l0s2k9
UPDATE: Latest info on January 9, 2009:
Jacky, let me start by saying this is a very nice piece of work -- thank you!!
I did want to report a low-priority bug, though. It's a tiny one. :)
When you run XYAU for the first time you won't have any settings, of course. If you run CheckForUpdates the first time you use XYAU (i.e. you don't configure it first), you'll get prompted for your settings. If you answer just the first question and click "Ok", you will get the settings configuration screen again. If you then answer all the questions after being prompted the second time, CheckForUpdates will proceed, but it won't reflect the settings you've entered (such as checking beta vs. official), even though your settings are saved in the .INI files. If you run XYAU again it works fine. Or if you answered all the questions the first time you get the configuration prompt, the first update will work fine.
I haven't dug into the script much to figure out why this happens, but I'm guessing that by answering just the first question about download path that I was able to fall through some bit of code that makes sure the configuration is set in one place but not another. I looked at the script briefly, but the issue didn't jump out at me. That could be because I'm not used to .xyz syntax enough yet, though I suspect the issue is an indirect behavior related to how settings are read in from various functions (not an obvious logic problem of failing to check that settings are initialized in ensureSettings for example).
Anyway, it's a very minor issue and the script otherwise works great (thanks again!), but I thought I'd pass this along anyway. :) I may dig into this myself later if you're busy. :)
Re: XYplorer Automatic Updater
Posted: 14 Jan 2009 19:56
by jacky
a1l0s2k9 wrote:Jacky, let me start by saying this is a very nice piece of work -- thank you!!
You're welcome, glad you guys like/use it
a1l0s2k9 wrote:I did want to report a low-priority bug, though. It's a tiny one.

Oh yeah, I had noticed that during my tests at one point, but it kinda slipped my mind...

Thanks.
Actually, that was because when called, _ensureSetting would just show the config window and that's it, no check after that. So in fact you could also simply click Ok without specifying anything at all, and have the same results. What happened was that after that the script to check whether for beta or official was called, and it does also call _ensureSetting hence the second time the config window would pop up, and why the beta/official setting was ignored (it had already been "taken into account" after the first time the config window was closed).
I've just changed that, now as long as you have missing settings, _ensureSettings keep showing the config window over & over again -- unless you hit Cancel/Close of course, but that also cancels the whole thing. That way all your settings should be taken into account, as expected.
As of now:

The latest version of the script is
0.01.0014 and can be
downloaded from here. Requires XY 7.90.0030 and CJ 0.01.0003

(0.01.0013) BETA updates: now the question/buttons to update or not are always visible, evne with long changelog

On first use (no config), when the config screen showed up you could not (fully) set things and continue. Which could have had the configuration window show a second twice, and the check for updates be done ignoring the beta/official choice or without all settings set, fixed.
Re: XYplorer Automatic Updater
Posted: 14 Jan 2009 21:20
by j_c_hallgren
jacky wrote:
The latest version of the script is
0.01.0014 and can be
downloaded from here. Requires XY 7.90.0030 and CJ 0.01.0003
Simple request: Since this requires "CJ", could you have the link/URL to D/L for it embedded in above (as you do for this script) so that I/we can pull both of them from this thread instead of having to get that one via separate thread?
Especially useful when the CJ vers needed chgs, but nice in all cases...Thanks!
Re: XYplorer Automatic Updater
Posted: 14 Jan 2009 21:34
by jacky
j_c_hallgren wrote:Simple request: Since this requires "CJ", could you have the link/URL to D/L for it embedded in above (as you do for this script) so that I/we can pull both of them from this thread instead of having to get that one via separate thread?
Especially useful when the CJ vers needed chgs, but nice in all cases...Thanks!
hmm.. Okay, good idea, I'll add links to the topic about common-jacky, that way one can easily see what it is/download it as well yes.
By the way if you use this script, you can of course have it check/download updates of itself & common-jacky as well, so you don't have to do it manually each time

Re: XYplorer Automatic Updater
Posted: 18 Jan 2009 05:31
by drewkeller
Hmmm. In case anyone else runs into this... The updater v0.01.0015 requires CJ v0.01.0004 which doesn't seem to be available for download yet. I edited CJ .0003 and changed it's version number to .0004 and ran the updater again. It worked for me once I did that.
Re: XYplorer Automatic Updater
Posted: 18 Jan 2009 13:12
by jacky
drewkeller wrote:Hmmm. In case anyone else runs into this... The updater v0.01.0015 requires CJ v0.01.0004 which doesn't seem to be available for download yet. I edited CJ .0003 and changed it's version number to .0004 and ran the updater again. It worked for me once I did that.
hmm... yes I was a little late updating things over here (sorry!

), but checking for updates of common-jacky with XYAU should have downloaded the latest version (0004). Anyways, I've updated the posts in here as well, so it should all be fine now

The latest version of the script is
0.01.0016 and can be
downloaded from here. Requires XY 7.90.0030 and
common-jacky 0.01.0004

Remove ZIP files of old versions didn't work since v0.01.0007 (!), fixed

On occasions you could have a recursion warning showing up (when checking for BETA, after the changelog was shown), fixed.

Check for Official: now when a new official version is available, the highlight of main new features (from website) is shown when asked whether or not to do the update
Re: XYplorer Automatic Updater
Posted: 18 Jan 2009 16:17
by drewkeller
but checking for updates of common-jacky with XYAU should have downloaded the latest version (0004).
I think the problem was, XYAU downloaded the new version of itself, which requires the updated CJ, but since I didn't have the updated CJ, it was a no-go. Or else it downloaded CJ, but it was still the old version and therefore still a no-go. I got the message that CJ was out of date twice and then the abort message.
I could not figure out a way to get the new CJ, so I faked it and all was smiles.
Re: XYplorer Automatic Updater
Posted: 09 Feb 2009 15:36
by jacky

The latest version of the script is
0.01.0020 and can be
downloaded from here. Requires XY 7.90.0075 and
common-jacky 0.01.0006

"Edit Configuration File" now done directly inside XY

Default theme on XY forum was changed, and broke the way the changelog was obtained, fixed.

XYAU is now treated just like any (other) scripts when it comes to checking for its updates -- i.e. no more setting AutoUpdate

Now when checking for updates of scripts & XY is all done at once, and then all results are shown on one single window. Changelog for scripts are also featured, and you chose what to update simply by checking the available updates!
Re: XYplorer Automatic Updater
Posted: 06 May 2009 13:14
by lukescammell
Is it just me, or is this script broken with the newer releases?
Re: XYplorer Automatic Updater
Posted: 06 May 2009 14:37
by serendipity
lukescammell wrote:Is it just me, or is this script broken with the newer releases?
No it worked even today for me. Few betas back it did not work, so i deleted the old updater and downloaded updater and common-jacky again. Maybe Jacky updated it secretly.
Re: XYplorer Automatic Updater
Posted: 07 May 2009 11:59
by serendipity
Maybe somebody already mentioned this, but when you download common-jacky it saves as common-jacky.htm. Change the htm extension to xys and the updater should work normally.
Re: XYplorer Automatic Updater
Posted: 10 May 2009 16:45
by jacky
serendipity wrote:lukescammell wrote:Is it just me, or is this script broken with the newer releases?
No it worked even today for me. Few betas back it did not work, so i deleted the old updater and downloaded updater and common-jacky again. Maybe Jacky updated it secretly.
Nope, didn't do any (secret) updates lately. But I've heard of some troubles indeed, and I think it was due to a bug in XY for a while. If that's what I've heard of, you were having XYAU's menu to popup over & over again or something, and that was because or a line such as "sub _check_supported;" which XY turned into "sub 1;" (because of suppORted) hence the mess.
Only thing to fix that was to update to a newer XY (well, or revert back to an older one

)
serendipity wrote:Maybe somebody already mentioned this, but when you download common-jacky it saves as common-jacky.htm. Change the htm extension to xys and the updater should work normally.
hmm... when does that happen ? I just
tried again and I am asked to save a file common-jacky.xys

Re: XYplorer Automatic Updater
Posted: 10 May 2009 19:23
by Pagat
jacky wrote:serendipity wrote:Maybe somebody already mentioned this, but when you download common-jacky it saves as common-jacky.htm. Change the htm extension to xys and the updater should work normally.
hmm... when does that happen ? I just
tried again and I am asked to save a file common-jacky.xys

Happens to me too, but only in Opera (9.64):
In IE it's downloaded correctly as .xys. Don't know why Opera thinks it's a .htm file...
Re: XYplorer Automatic Updater
Posted: 10 May 2009 20:15
by serendipity
Pagat wrote:jacky wrote:serendipity wrote:Maybe somebody already mentioned this, but when you download common-jacky it saves as common-jacky.htm. Change the htm extension to xys and the updater should work normally.
hmm... when does that happen ? I just
tried again and I am asked to save a file common-jacky.xys

Happens to me too, but only in Opera (9.64):
In IE it's downloaded correctly as .xys. Don't know why Opera thinks it's a .htm file...
Oh yes, thats right! i never thought it could be a browser thing.