XY Beta - "Current location not available."

Things you’d like to miss in the future...
Forum rules
You might want to read this if you're looking for priority service

:info: Please Include The Following Information
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: Use Your Profile Or Signature
We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: How To Attach Images
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
Post Reply
Jeeves
Posts: 161
Joined: 15 May 2008 07:57

XY Beta - "Current location not available."

Post 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.

admin
Site Admin
Posts: 67271
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

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

Post by admin »

Windows reboot. :)

Jeeves
Posts: 161
Joined: 15 May 2008 07:57

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

Post 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.

admin
Site Admin
Posts: 67271
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

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

Post by admin »

Try this please:

Code: Select all

exist "\\Server\Location\etc";

Jeeves
Posts: 161
Joined: 15 May 2008 07:57

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

Post 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
To see the attached files, you need to log into the forum.

Jeeves
Posts: 161
Joined: 15 May 2008 07:57

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

Post 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.

admin
Site Admin
Posts: 67271
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

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

Post by admin »

Apparently you turned off the smart scripting detection (ScriptSmartDetect=1). Try this instead:

Code: Select all

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

Jeeves
Posts: 161
Joined: 15 May 2008 07:57

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

Post 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
To see the attached files, you need to log into the forum.

admin
Site Admin
Posts: 67271
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

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

Post by admin »

Thanks! I'll try something in the next beta (v21.10.0030).

Jeeves
Posts: 161
Joined: 15 May 2008 07:57

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

Post by Jeeves »

UNC Paths work as expected now. Thanks!

Post Reply