Yeah that works, I had an assertion failing in there somewhere…

Now I have to go pester the sqlite-users list.  Yick.

Jamie

On Jan 13, 2010, at 1:38 PM, Robert Martin wrote:

> Assuming that the original path is valid, this looks ok to me - maybe you 
> might try commenting out the lines:
> 
>>  BOOL isDir = NO;
>>  if ( [fm fileExistsAtPath:fullPath isDirectory:&isDir] && !isDir  ) {
>>     NSDictionary *metadataDict = [engine metadataDictionaryForFile:fullPath 
>> ];
>>     [database indexMetadata:metadataDict forFileAtPath:fullPath];
>>  }
> 
> and just have the app log the fullPath at that point - it should work.
> 
> Perhaps also checking the folderPath that's passed in to make sure it's a 
> directory?

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to