Actually it looks like in MDItems.XS, kMDItemPath was accidentally defined
as the same thing as kMDItemFSSize which is the item above it. Changing line
1515 and 1517 to refer to kMDItemPath and recompiling solved the issue for
me.
On 11/26/05 4:44 PM, Mac-Spotlight at bug-Mac-Spotlight@rt.cpan.org wrote:
Show quoted text>
> Greetings,
> This message has been automatically generated in response to your bug
> report about Mac-Spotlight, a summary of which appears below.
>
> There is no need to reply to this message right now. Your bug in
> Mac-Spotlight has been assigned an ID of [cpan #16140]. Please include the
> string:
>
> [cpan #16140]
>
> in the subject line of all future correspondence about this issue. To do so,
> you may reply to this message.
>
> Thank you,
> bug-Mac-Spotlight@rt.cpan.org
>
> -------------------------------------------------------------------------
> get(kMDItemPath) seems not to work on Mac OS X 10.4.3 with perl, v5.8.6
>
> This was the error I got:
> command: line 3: 29641 Bus error /usr/bin/perl queryspotlight.pl
>
> I would assume it has to do with the fact that "This value of this attribute
> can be retrieved, but can't be used in a query or used to sort search
> results."