Hello Guest, if you are reading this it means you have not registered yet. Please take a second, Click here to register, and in a few simple steps you will be able to enjoy our community and use our OpenViX support section.
Results 1 to 15 of 38

Thread: Cannot delete folder from' Delete folder' + various other small problems ...

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Title
    Forum Supporter
    Donated Member
    Join Date
    Jun 2020
    Location
    Earth
    Posts
    103
    Thanks
    40
    Thanked 5 Times in 5 Posts
    That is the problem.

    I might not have explained it well.

    I did go there and deleted it, but it reappears, it now had about 4x .del.del.del.del on it!

    I will amend my initial message to reflect that.

  2. #2
    BrokenUnusableAccount
    Quote Originally Posted by Mundosat View Post
    That is the problem.

    I might not have explained it well.

    I did go there and deleted it, but it reappears, it now had about 4x .del.del.del.del on it!

    I will amend my initial message to reflect that.
    Yes the .del.del.del.del thing is a, probably harmless, bug with the delayed deletion feature.

  3. #3
    birdman's Avatar
    Title
    Moderator
    Join Date
    Sep 2014
    Location
    Hitchin, UK
    Posts
    7,828
    Thanks
    238
    Thanked 1,662 Times in 1,309 Posts
    Quote Originally Posted by BefuddledBrian View Post
    Yes the .del.del.del.del thing is a, probably harmless, bug with the delayed deletion feature.
    The descriptions so far imply that the background eraser won't delete a directory - ever.
    MiracleBox Prem Twin HD - 2@DVB-T2 + Xtrend et8000 - 5(incl. 2 different USBs)@DVB-T2[terrestrial - UK Freeview HD, Sandy Heath] - LAN/USB-stick/HDD

  4. #4

    Title
    ViX Beta Tester
    Join Date
    Nov 2017
    Posts
    888
    Thanks
    103
    Thanked 480 Times in 285 Posts
    Here's the smoking gun:

    Code:
     
    18:49:51.4987 [eBackgroundFileEraser] deleting '/media/hdd/movie/k.del'
    18:49:51.4989 [eBackgroundFileEraser] removing /media/hdd/movie/k.del failed: Is a directory
    I can't currently determine why ATV deletes directories successfully and Vix doesn't. There are only slight differences on Vix with the filename processing in the file_eraser.cpp, which is where this message originates.

    Can anyone shed any light on why deleting a file is considered so heavyweight that it has to be done in a background thread with masses of complicated checks for the size of files being deleted? The initial commit for the background eraser says what it does, not why it's being added. I'd wondered if it was due to slow or unreliable network drives, but if that was the case, then renaming to postfix .del on the filename would be just as laggy as removing the file from the filesystem index. The size of the file being deleted shouldn't have any effect on how quick it is to delete the file, so I also don't understand why there's a delete speed in the movielist settings.

    By comparison, on the internal HDD, deleting a file using Python's os.remove or an entire directory tree of hundreds of files using shutils.rmtree is consistently a sub-second operation.

  5. The Following User Says Thank You to simonc For This Useful Post:

    Willo3092 (04-09-21)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners.