qlmarkdown icon indicating copy to clipboard operation
qlmarkdown copied to clipboard

Does not work under macOS Catalina Version 10.15.4

Open Rabattkarte opened this issue 4 years ago • 15 comments

Referencing #97 as this is still a bug!

See attachment (sorry, it's in German). Still the same error message.

Bildschirmfoto 2020-03-31 um 13 34 57

I'm running on macOS Catalina 10.15.4.

I tried uninstalling & force reinstalling via brew prior, like this:

$ brew update && brew cask uninstall qlmarkdown && brew cask install --force qlmarkdown

Version info:

$ brew cask info qlmarkdown
qlmarkdown: 1.3.6
https://github.com/toland/qlmarkdown
/usr/local/Caskroom/qlmarkdown/1.3.6 (155B)
From: https://github.com/Homebrew/homebrew-cask/blob/master/Casks/qlmarkdown.rb
==> Name
QLMarkdown
==> Artifacts
QLMarkdown.qlgenerator (QuickLook Plugin)

Rabattkarte avatar Mar 31 '20 11:03 Rabattkarte

This sounds like the enhanced security checking that was introduced in Catalina. See the discussion on https://github.com/toland/qlmarkdown/issues/89 for some ideas on how to deal with it.

toland avatar Apr 01 '20 18:04 toland

Here's the error message in English:

Screen Shot 2020-04-01 at 6 23 54 PM

I looked at #89, but didn't see anything that looked like a solution?

seamusdemora avatar Apr 01 '20 23:04 seamusdemora

I looked in System Preferences / Security & Privacy / General and it was shown there. Screenshot 2020-04-02 at 10 29 00 I clicked 'Allow Anyway' then the next time the '"QLMarkdown.qlgenerator" can't be opened' message appeared there was an 'Open' button which I clicked.
It's now working fine.

richardwo avatar Apr 02 '20 09:04 richardwo

@richardwo I did the same and it's working. Thanks!

Still I would consider this a workaround rather than a solution to the trust issue between the app and macOS.

Rabattkarte avatar Apr 02 '20 11:04 Rabattkarte

@Rabattkarte: I don't see this as a "workaround". Instead, I see Apple's opaque and nonsensical "security" measures as the only real issue. We're not behaving recklessly, and Apple will never "save" anyone with this nonsense; they simply burden us with "security measures" designed by their marketing department. What aggravates me is that I must do this (jump through Apple's hoops for granting a "security exception") over and over and over again. I truly resent it, and I tell them so at every opportunity. I think we all should complain - unless we want more of this.

seamusdemora avatar Apr 02 '20 20:04 seamusdemora

@richardwo : This worked for me also. I'm used to dealing with this on full apps - don't know why it didn't occur to me to check it for qlmarkdown. Thanks for the reminder. :P

AFAIC, you could close this issue.

seamusdemora avatar Apr 03 '20 09:04 seamusdemora

I couldn't get this to work on MacOS Catalina either, even after allowing it within System Preferences. What eventually worked was using instructions adapted from https://github.com/whomwah/qlstephen#permissions-quarantine:

brew cask install qlmarkdown
xattr -cr ~/Library/QuickLook/QLMarkdown.qlgenerator
qlmanage -r
qlmanage -r cache
killall Finder  # relaunch finder

websocket98765 avatar Apr 10 '20 23:04 websocket98765

qlmarkdown still isn't working for me on Catalina 😔

I just did a fresh install of macOS, installed qlmarkdown with brew cask install qlmarkdown, tried previewing a .md file in QuickLook, saw the markdown preview and thought I'd figured it out, then later saw the popup saying it can't be opened but NO PROBLEM I know exactly how to solve that (through System Preferences / Security & Privacy / General => "Open Anyway"), but a day later I'm back to the plain text markdown previews.

I just tried brew cask uninstall qlmarkdown and then running through @websocket98765's solution using xattr -cr, but QuickLook still shows plain text previews, and now isn't even complaining about malicious software.

Is there a bug bounty program for qlmarkdown? For me markdown previews are the killer feature of QuickLook. My computer is significantly less useful with this plugin not working. I'm considering downgrading to Mojave just for this plugin.

Screen Shot 2020-04-15 at 09 16 02

christiangenco avatar Apr 15 '20 14:04 christiangenco

@christiangenco 1. brew cask uninstall qlmarkdown 2. Sudo spctl --master-disable # disable Gatekeeper. 3. restart macOS 4. Be sure, System Preferences / Security & Privacy > Anywhere is checked 5.

brew cask install qlmarkdown
xattr -cr ~/Library/QuickLook/QLMarkdown.qlgenerator
qlmanage -r
qlmanage -r cache
killall Finder  # relaunch finder

setanarut avatar May 03 '20 07:05 setanarut

@christiangenco 1. brew cask uninstall qlmarkdown 2. Sudo spctl --master-disable # disable Gatekeeper. 3. restart macOS 4. Be sure, System Preferences / Security & Privacy > Anywhere is checked 5.

brew cask install qlmarkdown
xattr -cr ~/Library/QuickLook/QLMarkdown.qlgenerator
qlmanage -r
qlmanage -r cache
killall Finder  # relaunch finder

Tried it, did't work. Created a simple script to clean all the plugins I have in this directory form this dumb quarantine attribute, then ran your script, still nothing. I have Colorcode, Stephen, Markdown and qlvideo and JSON plugins. I only managed to make JSON working. It is just complete insanity how much extra unproductive work Catalina demands. All of this for the cuteness of the dark mode.

Zeebrah avatar May 12 '20 11:05 Zeebrah

@Zeebrah qlmarkdown and other plugins did not work when i updated the Catalina to 10.15.4. They all worked after applying the commands.

setanarut avatar May 12 '20 12:05 setanarut

@Zeebrah

It is just complete insanity how much extra unproductive work Catalina demands. All of this for the cuteness of the dark mode.

For over 10 years now Apple's financial success is because of their hot pursuit of teen-aged girls. Are you surprised they really don't care what you think?

seamusdemora avatar May 12 '20 21:05 seamusdemora

Just did the update to macOS 10.15.5 and did NOT have QLMarkdown installed prior. Just installed it now and did the "Click OK" in the malware prompt, then click "Allow Anyway" in System Prefs dance a few times, and all is well. No Terminal commands needed.

Only issue is that while a Finder window is in Column mode, if the Preview pane is shown, it just shows an empty file icon and not a QuickLook preview as one might expect/hope. You have to press spacebar to see the QL rendering in the popup window. I'm hoping a system reboot might nudge this into working, but did this ever work with QLMarkdown? I don't see why it shouldn't, unless separate render API calls need to be implemented for it to work.

ScreenShot

orchetect avatar May 27 '20 22:05 orchetect

lol.... well... I was right. Rebooting now makes the Preview pane render. But, uh... not in the way you'd expect.

I guess that's progress? 😅

ScreenShot

orchetect avatar May 27 '20 22:05 orchetect

@orchetect see issue #88. Also, already fixed in #95. Waiting for merge.

relikd avatar Aug 04 '20 11:08 relikd