Weird problem when opening folder from outside program

Things you’d like to miss in the future...
Post Reply
thecon
Posts: 60
Joined: 09 Nov 2015 19:08

Weird problem when opening folder from outside program

Post by thecon »

Hello, since I upgraded to 26.40.0300 (from 26.00 I think) I get the following window error:
Screenshot 2024-10-02 154608.png
Screenshot 2024-10-02 154608.png (7.76 KiB) Viewed 893 times
when I do an "Open Folder" command from another program (i.e. Syncovery).

The folder opens ok, but I have to press OK to close that dialog.

What might be wrong?

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

Re: Weird problem when opening folder from outside program

Post by admin »

Where is your app data path (Go | Go to Application Data Folder)?

thecon
Posts: 60
Joined: 09 Nov 2015 19:08

Re: Weird problem when opening folder from outside program

Post by thecon »

It is:

C:\Users\root\AppData\Roaming\XYplorer\

Thanks!

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

Re: Weird problem when opening folder from outside program

Post by admin »

Strange, I can't reproduce it and can't see how it could happen. Are you sure it didn't happen in an earlier version?

thecon
Posts: 60
Joined: 09 Nov 2015 19:08

Re: Weird problem when opening folder from outside program

Post by thecon »

Hi.

I closed xyplorer while the previous message was given, and now it gives this:

Screenshot 2024-10-04 125105.png
Screenshot 2024-10-04 125105.png (11.63 KiB) Viewed 791 times

Therefore, I think I am close to solving the problem...

Edit 1: Also, I think the problem started after a BIOS update, which somehow also affected other random things throughout the OS.
Edit 2: Strangely enough, I don't have any startup.ini in my %appdata%\xyplorer\ folder.
Last edited by thecon on 04 Oct 2024 11:56, edited 1 time in total.

highend
Posts: 13737
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Weird problem when opening folder from outside program

Post by highend »

root != Default
One of my scripts helped you out? Please donate via Paypal

thecon
Posts: 60
Joined: 09 Nov 2015 19:08

Re: Weird problem when opening folder from outside program

Post by thecon »

Yes, also see the two edits above.

The xyplorer starts as root. I don't know why default came to play.

thecon
Posts: 60
Joined: 09 Nov 2015 19:08

Re: Weird problem when opening folder from outside program

Post by thecon »

If it helps, the problem arises between

26.20.0300 (works ok)
26.30.0400 (gives me the problem)

I got these from
https://www.xyplorer.com/freezer.php

If you can send me links between these two, I can also pinpoint the build that introduced the problem with more accuracy.

Edit: Found 26.30.0000. Still gives the problem. So, so far the problem is between 26.20.0300 to 26.30.0000.

highend
Posts: 13737
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Weird problem when opening folder from outside program

Post by highend »

Strangely enough, I don't have any startup.ini in my %appdata%\xyplorer\ folder.
That's not strange, that file is in XY's installation folder.
Open it, change the path to the correct folder
One of my scripts helped you out? Please donate via Paypal

thecon
Posts: 60
Joined: 09 Nov 2015 19:08

Re: Weird problem when opening folder from outside program

Post by thecon »

Tried that, unfortunately no change in outcome.

Note: See here: https://www.xyplorer.com/download/History.txt

.................
.......... XYplorer ver 26.20 .....................................................
v26.20.0304 - 2024-07-22 15:13 - unpublished
* Updated the help file.
v26.20.0303 - 2024-07-22 11:31
+ List | Details view | Path column: Added the option to truncate displayed paths from
the beginning instead of the middle. To toggle it, hold down CTRL while right-clicking
on the Path column header and click "Truncate Paths from Beginning". Rocker-click
works as well.
Why? Typically, a path specification has a redundancy gradient from beginning to end.
! Startup.ini: When the specified application data path was not found and could not be
created, you were met with a bunch of error messages instead of a graceful resolution.
Fixed. Now the data path is automatically changed to %APPDATA%\XYplorer_<versionnumber>.
...................

I think that something on 26.20.0303 was the reason behind my problem.

In any case, it's definately between 26.20.0300 and 26.30.0000.

highend
Posts: 13737
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Weird problem when opening folder from outside program

Post by highend »

Reboot
Start XY
Show the output of: e %USERNAME%; (executed from the address bar)
Show the content of the startup.ini file
Show the full path of where XY was installed into
One of my scripts helped you out? Please donate via Paypal

thecon
Posts: 60
Joined: 09 Nov 2015 19:08

Re: Weird problem when opening folder from outside program

Post by thecon »

Hi,

Solved it myself.

Options / Shell Integration:
For all users -> [Y] XYplorer in shell context menu, [Y] XYplorer is default file manager.
Current user -> [Y] XYplorer in shell context menu, [n] XYplorer is default file manager (could be [Y] as well, i just like it [n]).

and set startup.ini path to a folder accessible from all users (and of course moved the profile there from %appdata%)
(practically a portable installation with common settings for all users - I'm ok with that)

The problem I had rose from the fact that I run programs in my desktop but outside of my user space. These programs tried to invoke xyplorer from somewhere unexpected and thus the strange messages.

Now everything works ok (even on latest xyplorer versions).

Thank you for your time!

Edit: Interesting enough, if xyplorer is not installed, windows explorer shows also errors in similar condition, yet if you have XYplorer with the proper options (see above) it just works! Go XYplorer!

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

Re: Weird problem when opening folder from outside program

Post by admin »

thecon wrote: 04 Oct 2024 12:35 If it helps, the problem arises between

26.20.0300 (works ok)
26.30.0400 (gives me the problem)
This is the responsible change:

Code: Select all

v26.20.0303 - 2024-07-22 11:31
    ! Startup.ini: When the specified application data path was not found and could not be 
      created, you were met with a bunch of error messages instead of a graceful resolution. 
      Fixed. Now the data path is automatically changed to %APPDATA%\XYplorer_<versionnumber>.
And it was done to fix this:
viewtopic.php?t=27692

thecon
Posts: 60
Joined: 09 Nov 2015 19:08

Re: Weird problem when opening folder from outside program

Post by thecon »

admin wrote: 04 Oct 2024 19:05
thecon wrote: 04 Oct 2024 12:35 If it helps, the problem arises between

26.20.0300 (works ok)
26.30.0400 (gives me the problem)
This is the responsible change:

Code: Select all

v26.20.0303 - 2024-07-22 11:31
    ! Startup.ini: When the specified application data path was not found and could not be 
      created, you were met with a bunch of error messages instead of a graceful resolution. 
      Fixed. Now the data path is automatically changed to %APPDATA%\XYplorer_<versionnumber>.
And it was done to fix this:
viewtopic.php?t=27692
... and it was the trigger to show the underlying problem (mine, not XYplorer's). Thankfully, I fixed it on my side. Thank you!

Post Reply