Fact is SU always uses the system-default copy handler, because the script offloads copy jobs to a vbscript, which is oblivious to XY's copy settings. AFAIK.oblivion wrote:SU still didn't work properly after I'd told XY just to use its own copy routines. I thought I'd broken something and was ashamed...
SimpleUpdater — Rev. 10.69 / 2016/06/19
Re: SimpleUpdater — Rev. 10.67 / 2015/06/14
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]
[ this user is asleep ]
Re: SimpleUpdater — Rev. 10.67 / 2015/06/14
Yes, SammaySarkar explained it right. SU is definitely sequential/synchronous in its workflow, so offloading file operations to TC will cause race conditions and similar issues.
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]
Don sees all [cit. from viewtopic.php?p=124094#p124094]
Re: SimpleUpdater — Rev. 10.67 / 2015/06/14
So if I understand what you've said here, if Windows does the copy part of the process everything will be nicely queued and nothing will happen until the copy's completed but if Teracopy does it the script thinks it can carry on as if the copy was complete when it hasn't started yet. That probably explains things -- the error was some sort of file not found thing, so if the script does "copy newxy to oldxy" then "delete newxy" there's every chance that the delete operation will have happened before the copy has got around to starting.Marco wrote:Yes, SammaySarkar explained it right. SU is definitely sequential/synchronous in its workflow, so offloading file operations to TC will cause race conditions and similar issues.
Thanks, that makes sense. I can live without Teracopy being the default.
-- bests, Tim
...This space unintentionally left blank.
...This space unintentionally left blank.
Re: SimpleUpdater — Rev. 10.67 / 2015/06/14
Updater is broken from 16.80.0006. I can see superfluous "s in the menu and during the update check I get "incorrect filename" error.
Re: SimpleUpdater — Rev. 10.67 / 2015/06/14
Confirmed. Something changed in how SC global is parsed. I'll file a bug report.
Meanwhile I suggest not to update to 16.80.0006 and onwards.
Meanwhile I suggest not to update to 16.80.0006 and onwards.
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]
Don sees all [cit. from viewtopic.php?p=124094#p124094]
Re: SimpleUpdater — Rev. 10.67 / 2015/06/14
Could it be related to the changed precedence of the concat-character '.'?
Win11 Pro 223H2 Gerrman
Re: SimpleUpdater — Rev. 10.67 / 2015/06/14
It's related to this, http://www.xyplorer.com/xyfc/viewtopic. ... 00#p138900PeterH wrote:Could it be related to the changed precedence of the concat-character '.'?
Basically, whitespaces after the first whitespace following the equal sign are considered part of the variable, and so are enclosing double quotes, and this makes (in my/LittleBiG's case) file paths invalid.
It's not related to the concat operator per se, but surely touching it led to a chain reaction.
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]
Don sees all [cit. from viewtopic.php?p=124094#p124094]
Re: SimpleUpdater — Rev. 10.67 / 2015/06/14
Meanwhile I saw your bug report: seems you are right
Win11 Pro 223H2 Gerrman
Re: SimpleUpdater — Rev. 10.67 / 2015/06/14
Fixed in 16.80.0008
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]
Don sees all [cit. from viewtopic.php?p=124094#p124094]
Re: SimpleUpdater — Rev. 10.67 / 2015/06/14
Still not perfect. Do you have any advice?
- Attachments
-
- 2016-05-28_19h51_48.png (27.05 KiB) Viewed 3362 times
Re: SimpleUpdater — Rev. 10.67 / 2015/06/14
Do know that it's on my list. I had some really, really busy days.
It's an effect of the change of precedence of the dot operator. The script works just fine, only that message is blank. I'll (hopefully) upload a beta fix soon.
It's an effect of the change of precedence of the dot operator. The script works just fine, only that message is blank. I'll (hopefully) upload a beta fix soon.
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]
Don sees all [cit. from viewtopic.php?p=124094#p124094]
Re: SimpleUpdater — Rev. 10.67 / 2015/06/14
Line 194.
Find
Replaceed. Whoo, no offense but parsing ((nested conditions)) AND ternaries (in (one line))) is tough if you didn't brew it yourself...
ed2. I'm still not 100% sure this is the correct "patch"...
Find
Code: Select all
if (confirm((("$major_changelog" == "1" AND compare("$major_version", "<xyver>", "v") == "1") OR "$beta_changelog" == "1")?"":"$str00500_yLb2oLZnSvh3<crlf>"."$str00600_yLb2oLZnSvh3") == "0")
Code: Select all
if (confirm(((("$major_changelog" == "1" AND compare("$major_version", "<xyver>", "v") == "1") OR "$beta_changelog" == "1")?"":"$str00500_yLb2oLZnSvh3<crlf>")."$str00600_yLb2oLZnSvh3") == "0")
ed2. I'm still not 100% sure this is the correct "patch"...
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]
[ this user is asleep ]
Re: SimpleUpdater — Rev. 10.67 / 2015/06/14
Yes Sammay, your patch is correct I must confess that I had to recall what exactly I wanted to achieve with that ternary
I'll upload the final tonight.
I'll upload the final tonight.
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]
Don sees all [cit. from viewtopic.php?p=124094#p124094]
Re: SimpleUpdater — Rev. 10.67 / 2015/06/14
Maybe you thought about alternating between "A new version of XYplorer is available." or "A new beta version of XYplorer is available."? This whole line goes missing currently.Marco wrote:I must confess that I had to recall what exactly I wanted to achieve with that ternary
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]
[ this user is asleep ]
Re: SimpleUpdater — Rev. 10.68 / 2016/06/01
More or less.
The script workflow is:
-show changelogs (if changelogs are enabled)
-ask the user if he wants to update (if such prompt is enabled)
If changelogs are actually shown (and they're only shown when there's a new version) then the user knows that there's a new build available, so there's no point in saying "Hey there's a new version. Wanna update?". I'll just say "Wanna update?". However, if changelogs are disabled, I'll go with the full phrase.
I know, subtleties
The script workflow is:
-show changelogs (if changelogs are enabled)
-ask the user if he wants to update (if such prompt is enabled)
If changelogs are actually shown (and they're only shown when there's a new version) then the user knows that there's a new build available, so there's no point in saying "Hey there's a new version. Wanna update?". I'll just say "Wanna update?". However, if changelogs are disabled, I'll go with the full phrase.
I know, subtleties
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]
Don sees all [cit. from viewtopic.php?p=124094#p124094]