[bug]delete network file sometimes not update current view
#1
MacOS: 10.6.7

Problem: Gui network file navigation problem.

When using XBMC 10.1 to browser network files (on Windows XP SP3 machine) and try to delete files, sometimes, the file gets deleted, and the current view also gets updated correctly. Sometimes, the file gets deleted, but the current view will not get updated (the file seems to stay there, but when you go up file structure level, and come back, you will see the file is gone).

Seems to be a sometimes failed to update network file status issue.
Reply
#2
Is it perhaps only in longer listings (eg those that take > 1.5 seconds to fetch) ?

If not, is there any pattern that you can discern at all? Anything in the log?
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#3
It seems not related to the long delayed problem. In the following case, it only has 18 folders. More likely is "CGUIMediaWindow::GetDirectory" sometimes only load from cache, but not reload. Maybe should enforce the reload file structure in the "delete" case.

Here, I pasted some debug information, hope this helps to pin point the problem.

----------------------------------------------
# Trying to delete the folder the first time, it is deleted but "CGUIMediaWindow::GetDirectory does not get the correct updated file list.

20:32:51 T:2690045248 M: 34234368 DEBUG: FileManager: delete folder smb://ZEUS/ZeusE/.TemporaryItems/folders.501/
20:32:51 T:2690045248 M: 34234368 DEBUG: FileManager: delete folder smb://ZEUS/ZeusE/.TemporaryItems/
20:32:51 T:2690045248 M: 34234368 DEBUG: CGUIMediaWindow::GetDirectory (smb://ZEUS/ZeusE/)
20:32:51 T:2690045248 M: 34234368 DEBUG: ParentPath = [smb://ZEUS/ZeusE/]
20:32:51 T:2690045248 M: 34234368 DEBUG: Loading fileitems [smb://ZEUS/ZeusE/]
2

.....
# Here, I try to delete the same folder which is currently shown on the file list, then it shows the folder is gone. (but it stays on the file list)

20:34:12 T:2690045248 M: 16818176 ERROR: SMBDirectory->GetDirectory: Unable to open directory : 'smb://xxxxxxxx:%xxxxxxx%5f@ZEUS/ZeusE/%2eTemporaryItems'
unix_err:'2' error : 'No such file or directory'
20:34:12 T:2690045248 M: 16814080 ERROR: GetDirectory - Error getting smb://ZEUS/ZeusE/.TemporaryItems/
20:34:12 T:2690045248 M: 16814080 DEBUG: FileManager: delete folder smb://ZEUS/ZeusE/.TemporaryItems/
20:34:12 T:2690045248 M: 16814080 DEBUG: CGUIMediaWindow::GetDirectory (smb://ZEUS/ZeusE/)

#After here, the supposed to be deleted folder stays on the file list.
Reply
#4
Quote:Loading fileitems [smb://ZEUS/ZeusE/]
That indicates we're not clearing the cache, yup.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply

Logout Mark Read Team Forum Stats Members Help
[bug]delete network file sometimes not update current view0