Page 1 of 1

XY Beta - "Current location not available."

Posted: 01 Oct 2020 19:14
by Jeeves
Using XYPlorer, using the latest Beta version (21.10.0028) network locations (by UNC) that are available, I get the message:

Code: Select all

 "Current location not available."
\\Server\Location\etc
Testing in a copy of XYPlorer /fresh, I get the same message.

If I open the path in Explorer, it is visible and works as expected.

I have rolled back to previous versions but haven't seen a time when it worked. I only know that it is undesired and does not match Windows Explorer.

Here's a gif: https://i.imgur.com/mEKvpqJ.gif

It should also be noted that XYPlorer can see the paths and all their subdirectories, but the contents are never displayed.

Re: XY Beta - "Current location not available."

Posted: 01 Oct 2020 19:23
by admin
Windows reboot. :)

Re: XY Beta - "Current location not available."

Posted: 01 Oct 2020 19:38
by Jeeves
admin wrote: ↑01 Oct 2020 19:23Windows reboot. :)
This is consistent before and after reboots. To confirm, I rebooted and it still happens afterwards.

Re: XY Beta - "Current location not available."

Posted: 01 Oct 2020 20:09
by admin
Try this please:

Code: Select all

exist "\\Server\Location\etc";

Re: XY Beta - "Current location not available."

Posted: 01 Oct 2020 21:16
by Jeeves
admin wrote: ↑01 Oct 2020 20:09 Try this please:

Code: Select all

exist "\\Server\Location\etc";
Two things I notice:
1) It's referencing the current location.
2) It's dropping the leading slash from the UNC path.
unc-double.jpg
I thought the leading slash might need to be escaped, adding additional slashes did not prove useful:
unc-escape.jpg

Re: XY Beta - "Current location not available."

Posted: 01 Oct 2020 21:20
by Jeeves
Jeeves wrote: ↑01 Oct 2020 21:16
admin wrote: ↑01 Oct 2020 20:09 Try this please:

Code: Select all

exist "\\Server\Location\etc";
Two things I notice:
1) It's referencing the current location.
2) It's dropping the leading slash from the UNC path.

unc-double.jpg

I thought the leading slash might need to be escaped, adding additional slashes did not prove useful:
unc-escape.jpg
Also note; The location that 'does not exist' is open in the right-most tab. It clearly does exist.

Re: XY Beta - "Current location not available."

Posted: 01 Oct 2020 21:31
by admin
Apparently you turned off the smart scripting detection (ScriptSmartDetect=1). Try this instead:

Code: Select all

::exist "\\Server\Location\etc";

Re: XY Beta - "Current location not available."

Posted: 01 Oct 2020 21:35
by Jeeves
admin wrote: ↑01 Oct 2020 21:31 Apparently you turned off the smart scripting detection (ScriptSmartDetect=1). Try this instead:

Code: Select all

::exist "\\Server\Location\etc";
xy_exist.jpg

Re: XY Beta - "Current location not available."

Posted: 02 Oct 2020 08:52
by admin
Thanks! I'll try something in the next beta (v21.10.0030).

Re: XY Beta - "Current location not available."

Posted: 02 Oct 2020 16:00
by Jeeves
UNC Paths work as expected now. Thanks!