DT4 keep asking for Aperture.app and keep importing files

My DT4 starts to behave abnormally today. Firstly, it prompt for Aperture.app

, which I Cancel.

Then it starts to import tens of thousands (sometimes hundred of thousands) files which I do not know what they are.

Importing.mov.zip (8.3 MB)

I have to force quit it resulted into database problem and verification.

If I start DT4 again, it will repeat the same cycle. Just importing different files, I think.

Perhaps Aperture is registered as standard program for files you imported into DT?

I don’t even know what Aperture is. So, I don’t think I have any Aperture related files for import. Not Smart Rule. Not folder actions.

You’re trying to import some AppleScripts that use Aperture. The folder /Library/Application Support/Script Editor/Templates includes a script for Aperture.

But DEVONthink doesn’t import things on its own - do you remember what you did to make this happen? E.g. drop a folder or the startup volume onto DEVONthink’s Finder/Dock icon?

I got a few prompts asking for access. I thought it is the standard access request from DEVONthink to access files, disk, contacts, etc. I clicked allowed. Then, it started the cycle of importing.

I also have a smart rule that auto download YouTube when a bookmark file contains YouTube url. That also happens after I drop a few bookmarks into the global inbox. But I seriously don’t think it is due to that. Have been using the rule in dt3. Just haven’t triggered in dt4.

These are the few things I do this morning that resulted this.

I have switched to dt3 for the time being. Everything seems ok now in dt3. How can I switched back to dt4 without repeating the cycle?

What triggers this AppleScript? How can I stop it from running?

Aperture was an image editor, like Photoshop. Apple acquired it to let it die a long and painful death.

1 Like

Most likely DEVONthink imported the folder /Library/Application Support/Script Editor/Templates or one of its enclosing folders. But DEVONthink doesn’t import this folder on its own and we haven’t received similar reports, therefore it’s unclear what exactly happened.

what can I do now to get back a working dt4?

Delete the folder ~/Library/Application Support/DEVONthink, then launch DEVONthink 4. Does this work?

Yes, it works. Thanks.

I got a few prompts asking for access. I thought it is the standard access request from DEVONthink to access files, disk, contacts, etc. I clicked allowed. Then, it started the cycle of importing.

This does not add up. None of the gatekeeper prompts from macOS would initiate a “cycle of importing”.

I have switched to dt3 for the time being. Everything seems ok now in dt3. How can I switched back to dt4 without repeating the cycle?

Did you read this…