marook / tagfs

Fuse tag file system
GNU General Public License v3.0
125 stars 9 forks source link

Unable to set enableValueFilters=true, possible short term solution #9

Closed knickum closed 10 years ago

knickum commented 11 years ago

I'm not sure if this is related to a version of Python or what, but if I set enableValueFilters = true in my configuration, I get an error attempting to ls the mount directory. Disabling valueFilters works successfully.

It appears to be a problem with line 303 of _itemaccess.py, as per the following log: http://pastebin.com/BRNtqs78

I've created a patch file which does fix the symptom (though I'm not presuming that it is fixing the issue as it should be fixed): http://pastebin.com/rXy0KPFv

The patch simply wraps item.tags inside a set() call to avoid the type mismatch.

marook commented 10 years ago

Pull request https://github.com/marook/tagfs/pull/11 accepted => Closed