Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to delete some folders #98

Open
craigfergusson opened this issue Oct 31, 2020 · 1 comment
Open

unable to delete some folders #98

craigfergusson opened this issue Oct 31, 2020 · 1 comment

Comments

@craigfergusson
Copy link

craigfergusson commented Oct 31, 2020

I'm using the latest 2.3.2 on an CoreELEC device.
I can't seem to be able to delete some folders. It appears like some of the RARS gets locked somehow.
I've experienced that in the past and reverted to an older version, but I can't remember the details (I think it was when moving from 2.0.7 to 2.0.8). At some point I've updated to latest through CE and there was no issue, but now I'm experiencing it again.

CE is currently on Leila 18.9. I've only installed rar funtion, not archive, sftp, iso.

@craigfergusson craigfergusson changed the title folder deletion unable to delete some folders Oct 31, 2020
@ibydos
Copy link

ibydos commented Oct 9, 2021

Hey,

same problem here.

Last working version: vfs.rar-2.0.8.zip (Kodi 18.9 / Windows 10)
All newer versions are affected for me.
I am testing currently with: v4.0.0 from the Kodi Addon Repo (Kodi 19.2 / Windows 10)

How to reproduce:

  1. Play file from SMB share: smb://FS/archiv/#misc/#ebooks/#p/Unable.to.delete.some.folders.vfs.rar.H264.720p-DEMO3/demo3.ts
  2. Skip ahead in the video file 2x10min by pressing the UP button (2 times)
  3. Stop playback > Go one folder UP: smb://FS/archiv/#misc/#ebooks/#p/
  4. Try to delete folder smb://FS/archiv/#misc/#ebooks/#p/Unable.to.delete.some.folders.vfs.rar.H264.720p-DEMO3
  5. DEBUG LOG SAYS:
    2021-10-09 12:39:28.309 T:16744 ERROR <general>: XFILE::CFile::Delete - Error deleting file smb://FS/archiv/#misc/#ebooks/#p/Unable.to.delete.some.folders.vfs.rar.H264.720p-DEMO3/demo3.r17

Leaves me with a half empty folder that only contains:

Unable.to.delete.some.folders.vfs.rar.H264.720p-DEMO3\demo3.r17	100,0 M	2021-10-09 12:27
Unable.to.delete.some.folders.vfs.rar.H264.720p-DEMO3\demo3.r18	100,0 M	2021-10-09 12:27
Unable.to.delete.some.folders.vfs.rar.H264.720p-DEMO3\demo3.r19	100,0 M	2021-10-09 12:27
Unable.to.delete.some.folders.vfs.rar.H264.720p-DEMO3\demo3.r20	100,0 M	2021-10-09 12:27
Unable.to.delete.some.folders.vfs.rar.H264.720p-DEMO3\demo3.r21	100,0 M	2021-10-09 12:28
Unable.to.delete.some.folders.vfs.rar.H264.720p-DEMO3\demo3.r22	100,0 M	2021-10-09 12:28
Unable.to.delete.some.folders.vfs.rar.H264.720p-DEMO3\demo3.r23	100,0 M	2021-10-09 12:28
Unable.to.delete.some.folders.vfs.rar.H264.720p-DEMO3\demo3.r24	100,0 M	2021-10-09 12:28
Unable.to.delete.some.folders.vfs.rar.H264.720p-DEMO3\demo3.r25	100,0 M	2021-10-09 12:28
Unable.to.delete.some.folders.vfs.rar.H264.720p-DEMO3\demo3.r26	54,1 M	2021-10-09 12:28
Unable.to.delete.some.folders.vfs.rar.H264.720p-DEMO3\demo3.rar	100,0 M	2021-10-09 12:27

And those folder will stay unable to delete until I close kodi.
If I try to manually delete single files via Windows Explorer at least those files are locked:

Unable.to.delete.some.folders.vfs.rar.H264.720p-DEMO3\demo3.r17
Unable.to.delete.some.folders.vfs.rar.H264.720p-DEMO3\demo3.rar	

After closing kodi, I am able to delete all Files/Folders again.

I also attached "debug2.txt" which shows the behavior on two test folders/files I created:

smb://FS/archiv/#misc/#ebooks/#p/Unable.to.delete.some.folders.vfs.rar.H264.720p-DEMO1
smb://FS/archiv/#misc/#ebooks/#p/Unable.to.delete.some.folders.vfs.rar.H264.720p-DEMO3

If you need those testfiles, I can also provide them for you to test.

debug2.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants