Superb quality and spec AB-Com PULSe 4K SE. Crazy offer! Only £99! FREE UK DELIVERY! 4K UHD, Enigma 2, Multiboot 4 images & more!...
Superb quality and spec AB-Com PULSe 4K Rev II Twin Satellite tuner only £149! FREE UK DELIVERY! 4K UHD, Enigma 2, SATA HDD facility, Multiboot 4 images & more!...

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

Mundosat

Forum Supporter
Donated Member
Joined
Jun 21, 2020
Messages
103
Reaction score
0
Points
16
Location
Earth
Note: please read Deleted folder as Deleted items [folder] :)

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

Attachments

Last edited:
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
 
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.
 
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.
 
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.
 
Don't go into the deleted items folder to delete it - do it from the movie list - press MENU and select "empty trash can"
 
The 2nd entry in Movielist/menu/settings is Remove items from trash can after (days)
 
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.webp
 
Last edited:
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.
 
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?
 
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).
 
Is the code using rm -rf dirname ?
No. It's in Python at the time, so would be using rmtree.

However, the second crash log posted contains this:

<168517.0916> 20:39:02.8753 [ActionMap] Keymap 'MsgBoxActions' -> Action = 'ok'.
<168517.0927> 20:39:02.8764 [Screen] Showing screen '['ChoiceBoxSummary', 'ScreenSummary', 'ChoiceBox_summary', 'SimpleSummary']'.
<168517.0942> 20:39:02.8778 [Screen] Showing screen '['LocationBoxSummary', 'ScreenSummary', 'LocationBox_summary', 'SimpleSummary']'.
<168517.0969> 20:39:02.8805 [Screen] Showing screen '['ChoiceBox']'.
<168517.0976> 20:39:02.8813 Traceback (most recent call last):
<168517.0977> 20:39:02.8813 File "/usr/lib/enigma2/python/mytest.py", line 238, in processDelay
<168517.0990> 20:39:02.8827 callback(*retval)
<168517.0991> 20:39:02.8828 File "/usr/lib/enigma2/python/Tools/BoundFunction.py", line 9, in __call__
<168517.0994> 20:39:02.8831 File "/usr/lib/enigma2/python/Screens/LocationBox.py", line 283, in removeDirCallback
<168517.0996> 20:39:02.8832 File "/usr/lib/enigma2/python/mytest.py", line 329, in open
<168517.0998> 20:39:02.8835 raise RuntimeError("modal open are allowed only from a screen which is modal!")
<168517.0999> 20:39:02.8836 RuntimeError: modal open are allowed only from a screen which is modal!
<168517.1000> 20:39:02.8836 [ePyObject] (CallObject(<bound method Session.processDelay of <__main__.Session instance at 0xb016df80>>,()) failed)

(The first one contains an issue that has since been fixed).
 
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).

Exactly as I thought and mentioned and I am no developer but it seems obvious is what it is.

Still, why not?
 
As birdman pointed out, the directories are being managed by a Python module and it has a utility rmtree which does the necessary system commands to remove a directory recursively.
 
I said why not, but I should have said: Can it be fixed ?
I am just an advanced user trying to delete it.
 
I'm surprised you can't see it in Filezilla.

Under server there is an option to "Force show hidden files".

.Trash disappears from view when I unset it.
 
Last edited:
Checked that and set it to show hidden files, I can see it now - thanks - never thought about that, as servers usually show all files!

In the meantime last night folder has disappeared and it probably was after I 'strangely' found bin cleaning set to 15 days and reduced to 7 and I guess after going in st-by and re-starting later on must have had system check dates and deleted it as it was probably 8-9 days now. That is why I put it on 7 days to see if it do it and it did delete it.
 
Last edited:
Is there any way of deleting a directory immediately then with trash can disabled and cleaning of network drives enabled? I know you used to be able to do it and it still works like that on ATV.
At the moment I have to use DreamExplorer' to delete directories. All that happens in the movie list is that it appends multiple .del's.

This is from the log:

Code:
17:20:31.2025 [eBackgroundFileEraser] deleting '/media/autofs/RECORDINGS/Urban Myths.del.del'
17:20:31.2027 [eBackgroundFileEraser] removing /media/autofs/RECORDINGS/Urban Myths.del.del failed: Is a directory
 
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.
 

OpenViX Feeds Status

Back
Top