Crash when current folder is deleted externally

Things you’d like to miss in the future...
Forum rules
:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:

: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: We 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.

:info: When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".

:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:
Post Reply
peter.arrenbrecht
Posts: 6
Joined: 16 Mar 2006 15:13
Contact:

Crash when current folder is deleted externally

Post by peter.arrenbrecht »

When I have XYplorer positioned on a temp folder of one of my ANT builds and then run a clean ANT build, XYplorer either

- blocks the delete of the temp folder (so ANT fails), or
- crashes without a message (it just disappears).

lukescammell
Posts: 744
Joined: 28 Jul 2006 13:15
Location: Kent, UK
Contact:

Post by lukescammell »

I know this sounds like a stupid question, but what's an ANT when it's at home?
Used to update to the latest beta every day. Now I have children instead…
Windows 10 Pro x64 (everywhere except phone…)

peter.arrenbrecht
Posts: 6
Joined: 16 Mar 2006 15:13
Contact:

Post by peter.arrenbrecht »

ANT is a Java build tool: http://ant.apache.org/

It probably also happens when you delete the current folder using the command prompt.

jacky
XYwiki Master
Posts: 3106
Joined: 23 Aug 2005 22:25
Location: France
Contact:

Re: Crash when current folder is deleted externally

Post by jacky »

peter.arrenbrecht wrote:When I have XYplorer positioned on a temp folder of one of my ANT builds and then run a clean ANT build, XYplorer either

- blocks the delete of the temp folder (so ANT fails), or
- crashes without a message (it just disappears).
Well, the crash really shouldn't happen. Regarding the lock, are you sure it comes from XY? I don't think XY should lock a folder just because he's in it.
I mean I just tried to go to some folder in XY, then delete that folder either using Windows Explorer, or a command prompt, both times XY just change its current location to the parent folder, no lock & no crash.
Proud XYplorer Fanatic

John Bee
Posts: 323
Joined: 01 May 2005 20:21
Location: Win10, Win11 @100%

Re: Crash when current folder is deleted externally

Post by John Bee »

I've gotten this by doing the following:

Focus a folder which contains a program with an uninstall.exe
Uninstall the program by clicking the uninstall.exe file.

The program then uninstalls itself and finishes by deleteing the folder.

As soon as that happens XY blinks out of existance.

John
Win2K
0009
482ms reload

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

Re: Crash when current folder is deleted externally

Post by admin »

Hm. Again I could not manage to reproduce this! Neither the lock nor the crash. :? What's that? A Win2K thing?

j_c_hallgren
XY Blog Master
Posts: 5826
Joined: 02 Jan 2006 19:34
Location: So. Chatham MA/Clearwater FL
Contact:

Post by j_c_hallgren »

Sorry, but I don't happen to have anything easily available to try it out on my W2K...I'll see if I can find something unless you find bug in meantime...it would appear from above that it somehow relates to folder being deleted by a program and not directly by user...
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.

John Bee
Posts: 323
Joined: 01 May 2005 20:21
Location: Win10, Win11 @100%

Post by John Bee »

j_c_hallgren wrote:...it would appear from above that it somehow relates to folder being deleted by a program and not directly by user...
By George, I think you've got it. :)

John
Win2K
0009
1,348ms

jacky
XYwiki Master
Posts: 3106
Joined: 23 Aug 2005 22:25
Location: France
Contact:

Post by jacky »

j_c_hallgren wrote:...it would appear from above that it somehow relates to folder being deleted by a program and not directly by user...
Yeah but, what exactly does "by user" means? when on DOS prompt or using Windows Explorer, it's still a program that does remove the folder.

I also just uninstalled a couple of softs, one of course didn't remove everything ( :evil: ) but the other did, and XY was on the folder, and just switch location to its parent...
Proud XYplorer Fanatic

John Bee
Posts: 323
Joined: 01 May 2005 20:21
Location: Win10, Win11 @100%

Post by John Bee »

jacky wrote:I also just uninstalled a couple of softs, one of course didn't remove everything ( :evil: ) but the other did, and XY was on the folder, and just switch location to its parent...
I think it is a transient thingy. It doesn't happen every time I uninstall something. Just like my Run-time error '10', once in a blue moon. Would really like to figure it out but....

John
Win2K
0016
1,285/1,289/21ms

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

Post by admin »

John Bee wrote:1,285/1,289/21ms
We see here that the difference between show and full load is almost nil! That's due to my solving the slow-drop-down mystery! 8)

Actually there's no point anymore in showing the app before it's fully loaded...

John Bee
Posts: 323
Joined: 01 May 2005 20:21
Location: Win10, Win11 @100%

Post by John Bee »

admin wrote:Actually there's no point anymore in showing the app before it's fully loaded...
Good, I was getting tired typing it in all the time. :D

I have a friend who is using the last freeware version of XY. He keeps hemming and hawing that "I guess I should buy it".

I remind him of this by telling him how many updates/revisions there have been since that LFV. It is up to 185 as of 5.4.0016. :shock:

John
Win2K
0016

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

Post by admin »

John Bee wrote:
admin wrote:Actually there's no point anymore in showing the app before it's fully loaded...
Good, I was getting tired typing it in all the time. :D

I have a friend who is using the last freeware version of XY. He keeps hemming and hawing that "I guess I should buy it".

I remind him of this by telling him how many updates/revisions there have been since that LFV. It is up to 185 as of 5.4.0016. :shock:
That would make a good banner:
185 updates since LFV and rising!
How long do you want to wait?

John Bee
Posts: 323
Joined: 01 May 2005 20:21
Location: Win10, Win11 @100%

Post by John Bee »

admin wrote:That would make a good banner:
185 updates since LFV and rising!
How long do you want to wait?
All yours, Don :wink:

John
Win2K
0016

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

Post by admin »

John Bee wrote:
admin wrote:That would make a good banner:
185 updates since LFV and rising!
How long do you want to wait?
All yours, Don :wink:
http://www.xyplorer.com/promote.htm

Help yourself, and your friend... :wink:

Post Reply