Post

Replies

Boosts

Views

Activity

How to determine why my spotlight importer is not working?
I have a SpotLight importer for my custom document type. At one point it was working, but apparently it stopped working a while ago. After rebuilding the SpotLight index (-E) in the course of debugging, the few documents that previously worked no longer work. I have tested the importer using mdimport -t -d3 and the output looks reasonable. However, if I do a simple search such as mdfind 'kMDItemTextContent == "gasoline or propane"', the text is not found, even though it is present in the importer output. In fact, if I save the importer output to a file, the text is found in that file. The console log contains many instances of this error from mdworker_shared: All kCFPreferencesCurrentUser domains in this process will be volatile, because homeDirPath starts with /var/empty Is there anything I can do to figure out what is going wrong? I'm running on macOS 11.5.1.
10
0
2.5k
Aug ’21
Unexpected Permission denied error on file sharing volume
I am getting recurring errors running code on macOS 15.1 on arm that is using a volume mounted from a machine running macOS 14.7.1 on x86. The code I am running copies files to the remote volume and deletes files and directories on the remote volume. The files and directories it deletes are typically files it previously had copied. The problem is that I get permission failures trying to delete certain directories. After this happens, if I try to list the directory using Terminal on the 15.1 system, I get a strange error: ls -lA TestVAppearances.app/Contents/runtime-arm/Contents total 0 ls: fts_read: Permission denied If I try to list the directory on the target (14.7.1) system, there is no error: TestVAppearances.app/Contents/runtime-arm/Contents: total 0
42
0
2.4k
Mar ’25