Posts: 4
Joined: Mar 2011
Reputation:
0
2011-03-27, 01:38
(This post was last modified: 2011-03-27, 01:44 by josephsieh.)
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.
Posts: 26,215
Joined: Oct 2003
Reputation:
187
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?
Posts: 4
Joined: Mar 2011
Reputation:
0
2011-03-27, 03:41
(This post was last modified: 2011-03-27, 03:48 by josephsieh.)
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.