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.
Page 1 of 3 123 LastLast
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

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

    Note: please read Deleted folder as Deleted items [folder]


    Hi
    Last week I deleted a folder from my 'movie' main folder, then went to the Deleted items and deleted it.

    Next time I went there to delete other recordings, I saw that folder there again, but named FolderName.del [.del added to it] - I guess that is the append of some sort System uses to 'mark' it as to delete?
    Anyway, I re-deleted it and I went back to the Deleted items and it was still there and System keeps adding.del on it.

    Now I have FolderName.del.del.del

    I am trying to find it using Filezilla, but I am guessing this folder must be listed within some XML and until it goes from there it keeps appearing?

    One information that might be important to the developers: when I 'first' deleted this folder - it had some recordings in it - i.e. I deleted a folder with contents in it.

    Might that have caused something?
    Possibly being a bug in deletion ... when recordings are in a deleted folder it does not like it?

    How can I delete it?

    Thanks for your help

    M


    PS a few small problems - nothing big ... I thought to mention them:

    Since last 2 updates
    - I do not remember what was exactly the first time, but to do with subtitling [it rebooted]
    [second time] while switching subtitle type from 888 to DVB, I got an error and it rebooted again, but both reboots about subtitles.
    - both times on recordings and to do with subtitles.
    - other thing I always had is [again subtitles!] that very often they do not start and I found a way to make them start and on sync.
    I simply run recording, then press Subtitles button and switch from 888 to DVB and then STOP playing and START playing and subtitles works fine.
    Last edited by Mundosat; 22-02-21 at 12:12. Reason: Adding last few LOG files from this month

  2. #2

    Title
    Moderator
    Join Date
    Jul 2011
    Location
    germania
    Posts
    5,127
    Thanks
    106
    Thanked 1,435 Times in 1,138 Posts
    Hi,
    try pressing menu. I think there should be an option to really delete the deleted files. It look like the same procedure as for bouquets.

    Ralf
    ---
    Sat:VU+ Ultimo4K/Solo4K/Duo2/2*Solo2/Ultimo
    Remote: Harmony 200, 700, Link, Smart Control, Smart Companion, Elite, 2*Ultimate, Keyboard

  3. #3

    Title
    Forum Supporter
    Donated Member
    Join Date
    Jun 2020
    Location
    Earth
    Posts
    103
    Thanks
    40
    Thanked 5 Times in 5 Posts
    Will try now my grandson is not there!

  4. #4

    Title
    Forum Supporter
    Donated Member
    Join Date
    Jun 2020
    Location
    Earth
    Posts
    103
    Thanks
    40
    Thanked 5 Times in 5 Posts
    Not working, still there.

    As I mentioned ,there must be a file [possibly a XML] telling Enigma that it still is there and to mark it for deletion.

    I am no developer, but it seems the logical explanation ... to me at least.

  5. #5
    ccs's Avatar
    Title
    ViX Beta Tester
    Join Date
    Sep 2014
    Posts
    5,836
    Thanks
    554
    Thanked 1,277 Times in 1,089 Posts
    You can also select deleted items from the movielist, and delete it, you will then be asked if you really want to permanently delete its contents.

  6. #6

    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.

  7. #7
    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.

  8. #8
    birdman's Avatar
    Title
    Moderator
    Join Date
    Sep 2014
    Location
    Hitchin, UK
    Posts
    7,807
    Thanks
    237
    Thanked 1,659 Times in 1,307 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

  9. #9

    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.

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

    Willo3092 (04-09-21)

  11. #10

    Title
    ViX Beta Tester
    Join Date
    Apr 2011
    Location
    Ireland
    Posts
    2,049
    Thanks
    404
    Thanked 668 Times in 547 Posts
    Don't go into the deleted items folder to delete it - do it from the movie list - press MENU and select "empty trash can"
    Zgemma H7S running OpenVIX 6.2, Darkmotor, Triax TD110 dish, Inverto Black Ultra dual lnb
    LG 50UM7450 4K TV, Pioneer VSX-534 Atmos AVR , Panasonic UB820 region free 4K Bluray & a PS4.

  12. #11
    ccs's Avatar
    Title
    ViX Beta Tester
    Join Date
    Sep 2014
    Posts
    5,836
    Thanks
    554
    Thanked 1,277 Times in 1,089 Posts
    The 2nd entry in Movielist/menu/settings is Remove items from trash can after (days)

  13. #12
    Willo3092's Avatar
    Title
    ViX Beta Tester
    Join Date
    Oct 2016
    Location
    East Midlands
    Posts
    1,087
    Thanks
    760
    Thanked 403 Times in 303 Posts
    I don't have the deleted items / trashcan enabled on my boxes but the same thing is happening. Every time I delete a folder it just appends .del to it.
    I have to delete folders from my PC at the minute.

    1_0_1_1904_7E3_2_11A0000_0_0_0_20210222111947.jpg
    Last edited by Willo3092; 22-02-21 at 12:20.

  14. #13

    Title
    ViX Beta Tester
    Join Date
    Apr 2011
    Location
    Ireland
    Posts
    2,049
    Thanks
    404
    Thanked 668 Times in 547 Posts
    I have just tested it and if you delete the folder from within with recycle bin it adds the .del to it but if you actually empty the bin it does delete it.
    Zgemma H7S running OpenVIX 6.2, Darkmotor, Triax TD110 dish, Inverto Black Ultra dual lnb
    LG 50UM7450 4K TV, Pioneer VSX-534 Atmos AVR , Panasonic UB820 region free 4K Bluray & a PS4.

  15. #14
    birdman's Avatar
    Title
    Moderator
    Join Date
    Sep 2014
    Location
    Hitchin, UK
    Posts
    7,807
    Thanks
    237
    Thanked 1,659 Times in 1,307 Posts
    As I recall the del gets added and a background job is sent off to delete things.
    If this background job fails the *.del entry will still be there.
    So perhaps something is actually failing in the deletion?
    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

  16. #15
    Joe_90's Avatar
    Title
    Moderator
    Join Date
    Mar 2014
    Location
    Wicklow, Ireland
    Posts
    4,116
    Thanks
    1,278
    Thanked 1,123 Times in 885 Posts
    Is the code using rm -rf dirname ? A directory needs to be empty before you can delete it (or else you recursively/force delete it).
    GB Quad Plus, Mut@nt HD51, AX HD61, 80cm dish and Supreme Dark motor. Sony STR-DN 1060, Sony UHP-H1 Bluray, Odroid N2+ (CoreElec), Monitor Audio Bronze 5.1 speakers

Page 1 of 3 123 LastLast

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.