Tif file can't be deleted and crashes XYplorer when right-clicking
Forum rules
You might want to read this if you're looking for priority service
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%).
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.
How To Attach Images
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
You might want to read this if you're looking for priority service
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%).
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.
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
-
roel_v
- Posts: 24
- Joined: 13 Jul 2014 12:39
Tif file can't be deleted and crashes XYplorer when right-clicking
I have a few tif files (geotiff) that I can't delete in XYplorer; I get the message 'The action can't be completed because the file is open in XYplorer. Close the file and try again.' but I obviously am not doing anything to the file except trying to delete it. I also don't have any other processes running. Also when I right-click the file, XYplorer crashes. Lastly, when I drag this file from XYplorer to another program (Arcgis in this case, but it happens right when the dragging starts), XYplorer also crashes. Probably related. I have some other files of this same series of maps that I generated that I can't delete, but for which the right-click and dragging are not a problem. So it might be several problems with tif file parsing manifesting together. Let me know if you want more sample files.
To see the attached files, you need to log into the forum.
-
roel_v
- Posts: 24
- Joined: 13 Jul 2014 12:39
Re: Tif file can't be deleted and crashes XYplorer when right-clicking
Should maybe add that when I open a Windows Explorer window in the directory where the files are in, it closes itself (probably crashing underneath but without a crash message); when I used a cmd.exe to delete the files, I had to close XYplorer while doing so because I got the 'file used by another process' there as well. So I closed XYplorer, deleted the files, reopened and all was fine.
-
admin
- Site Admin
- Posts: 67271
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Tif file can't be deleted and crashes XYplorer when right-clicking
No problem here with that file. Although it looks very dark in the preview.
So it's probably your preview handler...
So it's probably your preview handler...
FAQ | XY News RSS | XY X
-
roel_v
- Posts: 24
- Joined: 13 Jul 2014 12:39
Re: Tif file can't be deleted and crashes XYplorer when right-clicking
So after deleting the file manually (through cmd.exe), regenerating it, and after having restarted XYplorer, I can no longer reliably reproduce the issue. Sometimes it works fine, sometimes XYplorer freezes and I have to kill it through process manager, sometimes I get the behaviour I described earlier. However what does seem to be consistent is that the file is locked or at least opened by XYplorer somehow, as I get a message 'cannot get exclusive lock on file' in my other scripts that create these files. Then I have to close XYplorer, run script, restart.
What is this 'preview handler' ? I never set anything other than the default AFAIK. I've looked through the 'Preview' section of the 'Configuration' dialog but I don't see anywhere there where I could set an external binary. I've tried disabling previews for tif and tiff but that doesn't seem to help.
What is this 'preview handler' ? I never set anything other than the default AFAIK. I've looked through the 'Preview' section of the 'Configuration' dialog but I don't see anywhere there where I could set an external binary. I've tried disabling previews for tif and tiff but that doesn't seem to help.
-
admin
- Site Admin
- Posts: 67271
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Tif file can't be deleted and crashes XYplorer when right-clicking
Run this script through the XYplorer Address Bar to see your TIF preview handler:roel_v wrote:What is this 'preview handler' ? I never set anything other than the default AFAIK. I've looked through the 'Preview' section of the 'Configuration' dialog but I don't see anywhere there where I could set an external binary. I've tried disabling previews for tif and tiff but that doesn't seem to help.
Code: Select all
text get("previewhandler", "tif");Did you maybe right-click those files to pop the context menu? This can also lead to a crash caused by faulty shell extensions? In that case you can tick this to see if it helps:
Configuration | General | Menus, Mouse, Safety | Context Menus | Hide shell extensions from shell context menu
FAQ | XY News RSS | XY X
-
roel_v
- Posts: 24
- Joined: 13 Jul 2014 12:39
Re: Tif file can't be deleted and crashes XYplorer when right-clicking
Preview handler query says 'No preview handler found for tif files.', so that's not it.
I'm just documenting here as I go along otherwise I'll forget - I don't think there's much actionable information in here yet.
Disabling the shell extensions I haven't been able to reproduce the crash I reported before, but I do get another one. The locking of the file by XYplorer still happens (can't delete file through external application, nor through XYplorer). When I closed down XYplorer, I got a crash; the stack trace of course isn't very detailed, but it traces it back to a certain 'libgfl340.dll', which seems to be associated with 'SageThumbs' which I apparently installed at some point. So I've uninstalled it and I'll see how it goes. Maybe it injects itself into the shell in some other ways and some circumstances around its interactions with XYplorer (even when shell extensions are off) are triggering a crash in that software? We'll see.
I'm just documenting here as I go along otherwise I'll forget - I don't think there's much actionable information in here yet.
Disabling the shell extensions I haven't been able to reproduce the crash I reported before, but I do get another one. The locking of the file by XYplorer still happens (can't delete file through external application, nor through XYplorer). When I closed down XYplorer, I got a crash; the stack trace of course isn't very detailed, but it traces it back to a certain 'libgfl340.dll', which seems to be associated with 'SageThumbs' which I apparently installed at some point. So I've uninstalled it and I'll see how it goes. Maybe it injects itself into the shell in some other ways and some circumstances around its interactions with XYplorer (even when shell extensions are off) are triggering a crash in that software? We'll see.
XYplorer Beta Club