Menu

#8 Can not open subfolder from files column

open
nobody
None
5
2008-09-29
2008-09-29
No

Here is my scenario:
I have one CD in catalog and I have added also Home directory(/home/milos) for test purposes.
Way to reproduce:
Search for folder which is not in root directory of CD or in my /home/milos/ directory. After clicking on founded directory it doesn't open and it print this error:

Traceback (most recent call last):
File "/home/milos/workspace/gnomecatalog/lib/python2.5/site-packages/gnomecatalog/ui/app.py", line 247, in on_treeviewFiles_popup_menu
self.data.click_on_fileview()
File "/home/milos/workspace/gnomecatalog/lib/python2.5/site-packages/gnomecatalog/data.py", line 156, in click_on_fileview
self.treeDisk.select(file)
File "/home/milos/workspace/gnomecatalog/lib/python2.5/site-packages/gnomecatalog/ui/treeviews.py", line 76, in select
self.set_selected(self.__searchIter)
AttributeError: Tree instance has no attribute '_Tree__searchIter'

I did a little debugging and find out that when the program is launched, it only adds folders to database which are in root directory of CD and Home directory. So after clicking on founded directory it can not find it.
One workaround is to click on expander(in Disks view) icon on Disk where the folder is. That way Catalog add all directories to database from that Disk. After that it starts working correctly for that Disk.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB