PDA

View Full Version : [ViX_Misc] Crash when deleting directory in /media/hdd/movie/



Willo3092
06-11-22, 15:48
I can delete the contents of a directory with no problem but when I try to delete the empty directory the box is crashing.


< 1663.9067> 14:42:13.1166 [eBackgroundFileEraser] removing /media/hdd/movie/Farage.del failed: Function not implemented
< 1663.9074> 14:42:13.1172 Traceback (most recent call last):
< 1663.9075> 14:42:13.1173 File "/usr/lib/enigma2/python/StartEnigma.py", line 224, in processDelay
< 1663.9084> 14:42:13.1183 callback(*retval)
< 1663.9085> 14:42:13.1184 File "/usr/lib/enigma2/python/Screens/MovieSelection.py", line 2310, in <lambda>
< 1663.9089> 14:42:13.1187 File "/usr/lib/enigma2/python/Screens/MovieSelection.py", line 2416, in __permanentDeleteListConfirmed
< 1663.9093> 14:42:13.1191 NameError: name 'ospath' is not defined. Did you mean: 'path'?
< 1663.9094> 14:42:13.1192 [ePyObject] (CallObject(<bound method Session.processDelay of <__main__.Session object at 0xb116e0d0>>,()) failed)


dmesg

<4>FAT-fs (mmcblk0p4): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.


64397

twol
06-11-22, 17:27
I can delete the contents of a directory with no problem but when I try to delete the empty directory the box is crashing.


< 1663.9067> 14:42:13.1166 [eBackgroundFileEraser] removing /media/hdd/movie/Farage.del failed: Function not implemented
< 1663.9074> 14:42:13.1172 Traceback (most recent call last):
< 1663.9075> 14:42:13.1173 File "/usr/lib/enigma2/python/StartEnigma.py", line 224, in processDelay
< 1663.9084> 14:42:13.1183 callback(*retval)
< 1663.9085> 14:42:13.1184 File "/usr/lib/enigma2/python/Screens/MovieSelection.py", line 2310, in <lambda>
< 1663.9089> 14:42:13.1187 File "/usr/lib/enigma2/python/Screens/MovieSelection.py", line 2416, in __permanentDeleteListConfirmed
< 1663.9093> 14:42:13.1191 NameError: name 'ospath' is not defined. Did you mean: 'path'?
< 1663.9094> 14:42:13.1192 [ePyObject] (CallObject(<bound method Session.processDelay of <__main__.Session object at 0xb116e0d0>>,()) failed)


dmesg

<4>FAT-fs (mmcblk0p4): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.


64397
OK my bad(will fix on Git), copy attachment below to /usr/lib/enigma2/python/Screens

Willo3092
06-11-22, 17:34
Sorry, bootloop now:

64399

twol
06-11-22, 19:34
Sorry, bootloop now:

64399
sorry trying to fix too fast...
see attachment

Willo3092
06-11-22, 19:36
That works, thank you :thumbsup:

Regan99
15-11-22, 12:16
Hello i had the same problem and your fix worked thankyou :)