vendredi 6 mars 2009

iCal indexation

Remise à zéro de l'indexation de ical par spotlight



Fixes:
1. Ensure spotlight is on.
Go to the "Spotlight" system preferences and ensure search results are enabled for "Events & To Do Items" (Number 7) in the list of available categories. Additionally, ensure that the calendars folder or any parent folder is not in the "Privacy" list. If users have added their home folders or library folders to the privacy list, this will prevent spotlight from indexing files within those folders, including the "Calendars" folder that's located in the user's "Library".

2. Reset Spotlight.
If Spotlight is setup properly, users might next try unchecking the "Events & To Do Items" in the "Search Results" list, and then add the "Calendar" folder (/Home Folder/Library/Calendars) to the "Privacy" list. When this is done, restart the system to ensure the Spotlight services get restarted and then reverse these settings. This should force Spotlight to reindex the calendar folder.

3. Manually reindex calendars.
In addition to resetting Spotlight, users can manually start indexing on the calendar folder. Spotlight consists of the "mds" server daemon, the "mdimport" utility for scanning metadata, and various other utilities for managing the metadata. To force indexing of the calendar folder, run the following command in the terminal:

mdimport ~/Library/Calendars
4. Delete iCal's preference file.
Faulty application behavior can be caused by corrupt preferences files. Users can try removing the "com.apple.iCal.plist" file from the /Home Folder/Library/Preferences/ folder, and then relaunch iCal.

5. Delete and reload calendars.
If the previous suggestions do not work, users can try clearing the calendar data and reloading it. To do this, first backup the calendars to a safe location (such as the desktop) using the "Backup iCal..." option in the "File" menu. Then quit iCal and remove the files and folders in the /Home Folder/Library/Calendars/ folder. Launch iCal again and from the "File" menu choose "Restore iCal...," selecting the backup created previously.

Aucun commentaire: