[OS X TeX] Problem with Spotlight importer(s)

Bruno Voisin bvoisin at mac.com
Mon Jan 9 23:33:22 CET 2006


Le 9 janv. 06 à 20:59, Adam Maxwell a écrit :

> On Monday, January 09, 2006, at 11:42AM, Gary L. Gray  
> <gray at engr.psu.edu> wrote:
>
>> On Jan 9, 2006, at 2:16 PM, Norm Gall wrote:
>>
>>> I have put v1.2 of the importer here http://www.spookyhill.net/
>>> ~gall/latex/TeX.mdimporter.zip
>>>
>>> Replace all other versions of TeX.mdimporter with this one.
>>>
>>> I have told Richard Koch and if he is going to include the
>>> importer, he should be including v1.2.
>>>
>>> I have tested the importer and it _seems_ to be releasing memory in
>>> the same way as mdimporter does when the TeX.importer is not
>>> active, but I do not have the tools I need to track this very well.
>>> I have simply used Activity Monitor and watched an mdimport of my
>>> Documents folder.
>>>
>>> _Any_ feedback, positive or negative, is invited and appreciated.
>>
>> I have replaced the one in TeXShop's contents and my computer still
>> works. :-)
>>
>> Is there anything I should do to test it out?
>
> Make sure you move TeXShop elsewhere using the Finder, then move it  
> back again; otherwise the new importer won't be loaded.

After updating TeX.mdimporter to v1.2, there are still problems on my  
setup. After doing all sorts of tests, I feel none the wiser. And not  
even sure TeX.mdimporter is to blame.

When running "mdimport ~/Documents/" there are still messages such as:

2006-01-09 22:59:28.289 mdimport[472] Importer using too much memory  
(4091 MB), hit critical threshold.  Last file imported was: /Users/ 
brunovoisin/Documents/Articles/Article 4/Version 1/Article/Figures/ 
PDF-GhostScript/inter5hig025.pdf

This file is the first with which the message occurs. It's a large  
PDF file (7.2 MB), created by GS 8.13 from a 44 MB EPS file created  
by Illustrator.

The importer that claims it seems to be the Apple-provided  
PDF.mdimporter, and the error occurs even after login out then in and  
then running mdimport on that very file only:

Portable-de-Bruno:~ brunovoisin$ mdimport -d3 ~/Desktop/inter5hig025.pdf
2006-01-09 22:55:36.786 mdimport[468] Attributes of file '/Users/ 
brunovoisin/Desktop/inter5hig025.pdf' before import: {
     "_kMDItemImporterCrashed" = <null>;
     "com_apple_metadata_modtime" = 115630453;
     kMDItemContentCreationDate = 2004-08-31 09:32:59 +0200;
     kMDItemContentModificationDate = 2004-08-31 09:34:13 +0200;
     kMDItemContentType = "com.adobe.pdf";
     kMDItemContentTypeTree = (
         "com.adobe.pdf",
         "public.data",
         "public.item",
         "public.composite-content",
         "public.content"
     );
     kMDItemDisplayName = {"" = "inter5hig025.pdf"; };
     kMDItemKind = {
         "" = NSPDFPboardType;
         da = "PDF-dokument";
         de = "PDF-Dokument";
         en = "PDF Document";
         es = "Documento PDF";
         fi = "PDF-dokumentti";
         fr = "Document PDF";
         it = PDF;
         ja = "PDF \U66f8\U985e";
         ko = "PDF \Ub3c4\Ud050\Uba58\Ud2b8";
         nb = "PDF-dokument";
         nl = "PDF-document";
         pt = "Documento PDF";
         sv = "PDF-dokument";
         "zh-Hans" = "PDF \U6587\U7a3f";
         "zh-Hant" = "PDF \U6587\U4ef6";
     };
}
2006-01-09 22:55:36.788 mdimport[468] Import '/Users/brunovoisin/ 
Desktop/inter5hig025.pdf' type 'com.adobe.pdf' using 'file:// 
localhost/System/Library/Spotlight/PDF.mdimporter/'
2006-01-09 22:55:41.889 mdimport[468] Sending attributes of '/Users/ 
brunovoisin/Desktop/inter5hig025.pdf' to server.  Attributes: '{
     "_kMDItemImporterCrashed" = <null>;
     "com_apple_metadata_modtime" = 115630453;
     kMDItemAuthors = ("Bruno Voisin");
     kMDItemContentCreationDate = 2004-08-31 09:32:59 +0200;
     kMDItemContentModificationDate = 2004-08-31 09:34:13 +0200;
     kMDItemContentType = "com.adobe.pdf";
     kMDItemContentTypeTree = (
         "com.adobe.pdf",
         "public.data",
         "public.item",
         "public.composite-content",
         "public.content"
     );
     kMDItemCreator = "Adobe Illustrator(R) X";
     kMDItemDisplayName = {"" = "inter5hig025.pdf"; };
     kMDItemEncodingApplications = ("AFPL Ghostscript 8.13");
     kMDItemKind = {
         "" = NSPDFPboardType;
         da = "PDF-dokument";
         de = "PDF-Dokument";
         en = "PDF Document";
         es = "Documento PDF";
         fi = "PDF-dokumentti";
         fr = "Document PDF";
         it = PDF;
         ja = "PDF \U66f8\U985e";
         ko = "PDF \Ub3c4\Ud050\Uba58\Ud2b8";
         nb = "PDF-dokument";
         nl = "PDF-document";
         pt = "Documento PDF";
         sv = "PDF-dokument";
         "zh-Hans" = "PDF \U6587\U7a3f";
         "zh-Hant" = "PDF \U6587\U4ef6";
     };
     kMDItemNumberOfPages = 1;
     kMDItemPageHeight = 260;
     kMDItemPageWidth = 319;
     kMDItemSecurityMethod = None;
     kMDItemTextContent = "0 10 20 30 40 50 -20 0 20 -1 -0.5 0 0.5 1  
0 10 20 30 40 (b) x 1/a y/a ";
     kMDItemTitle = "inter5hig025.eps";
     kMDItemVersion = "1.3";
}'
2006-01-09 22:55:41.898 mdimport[468] Importer using too much memory  
(4089 MB), hit critical threshold.  Last file imported was: /Users/ 
brunovoisin/Desktop/inter5hig025.pdf

Hence a very very puzzled Bruno------------------------- Info --------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
          & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/




More information about the macostex-archives mailing list