-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
macOS Catalina: "epub.mdimporter" cannot be opened because the developer cannot be verified. #51
Comments
This seems to be related to notarisation, as seen here whomwah/qlstephen#81. Unfortunately as noted in #50, I don't have the time or tools to fix this. |
Literature professor here, no programming skills. I've relied on epub.mdimporter for years, so thank you. I'm hoping there will be a solution to the Catalina problem someday. I've even tried using Time Machine to fix things. If anyone knows of an alternative method to search epub text, I'd be grateful to learn it. (P.S. dream feature, just in case anyone is looking for projects: an ability to sort search results by relevance/frequency.) |
Sorry I can help more - one suggestion for searching the text of an ePub: if you download The Unarchiver, and drag an ePub onto it, it should extract the book into a set of text files you can search. |
The Unarchiver trick has been very helpful—thank you! Do you know of any way to sort the text file search results by relevance? |
The question is relevance to what? I'm afraid that veering into the world of data-science and natural language processing - there are lots of commercial or OS options here, but big tradeoffs in terms of complexity vs cost. |
This is how I solved it: Instead of copying ➜ ~ mkdir ~/Library/Spotlight
➜ ~ mv ~/Downloads/EPUB.mdimporter ~/Library/Spotlight
➜ ~ mv ~/Downloads/EPUB.qlgenerator ~/Library/QuickLook
# Reload
➜ ~ mdimport -r ~/Library/Spotlight/EPUB.mdimporter
➜ ~ qlmanage -r
qlmanage: resetting quicklookd Now it works without any problem :) Regarding results by relevance/frequency: Have a look at |
I don't think that the last post, while containing useful suggestions, would solve the issue indicated at the beginning. At least, it didn't work in the Catalina OS (unsurprisingly, as the code only makes the plugin work via Terminal and doesn't eschew the Apple security restrictions). Here is what I found online that appeared to be promising: 1. At Stack Exchange, someone suggested the following:
I guess we should further specify the path, to the epub.mdimporter if we don't want to exempt the whole Spotlight folder from Apple security checks...
I haven't tried any of these as I have no idea how to "undo" if something goes wrong. Just in case these appear to be a possible solution for a user with better computer skills... |
I can confirm that @pragmat1c1 's suggestion is 100% working on macOS Monterey 12.6 on an M1 mac after deleting the |
Another confirmation here, for macOS Catalina! Many thanks, damian0815, brilliant indeed!: I had given up much earlier; merely hoping that the recent Calibre option for full text search could be an alternative (to some limited degree, surely). |
Thanks @pragmat1c1 and @merelybeholdingthedevs for the advice. I have removed quarantine for the spotlight pluggin and it worked great, although the quicklook is not showing the full book but just an short description with some basic information, is that what I should expect? |
The text was updated successfully, but these errors were encountered: