Skip to content
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

Not working on catalina public beta 3 #89

Open
nikdea opened this issue Aug 2, 2019 · 23 comments
Open

Not working on catalina public beta 3 #89

nikdea opened this issue Aug 2, 2019 · 23 comments

Comments

@nikdea
Copy link

nikdea commented Aug 2, 2019

This and other QL plugins are no longer recognized as created by an identified developer:
"QLMarkdown.qlgenerator" was blocked from opening because it is not from an identified developer.

But I'm even not able to open it anyway for some reason.

@danielcompton
Copy link

I suspect this might also need to be notarized.

@adityasrini
Copy link

Not working on GA Catalina.

@tfflyer
Copy link

tfflyer commented Oct 8, 2019

怎么办呢怎么办,大佬们,macos15用不了啊

@zhaoyaqiong
Copy link

zhaoyaqiong commented Oct 9, 2019

Not working on Catalina 10.15 (19A583)
image

@stefanwascoding
Copy link

After modifying the source as described in anthonygelibert/QLColorCode#51 (comment) I can use the resulting qlgenerator without problem on Catalina.

catalina.patch.txt

@tthkbw
Copy link

tthkbw commented Oct 21, 2019

Thank you! This worked perfectly for me and I can now quicklook markdown again.

@diliedevs
Copy link

Hi, just installed the latest release, but it's still not working on Catalina 10.15 (19A602)

@tattali
Copy link
Contributor

tattali commented Oct 27, 2019

@diliedevs Weird, it no longer works for me either. Can you try with this one? It works for me even after qlmanage reset and computer restart. But I want be sure thats not only work on my mac.

QLMarkdown.qlgenerator.zip

Do not forget qlmanage -r

@diliedevs
Copy link

Yes, the new one works! Thanks for fixing this... having trouble with all my quicklook plugins. Yours is only the second one to be fixed. Thanks!!

@tattali
Copy link
Contributor

tattali commented Oct 27, 2019

Thanks to @stefanwascoding answer

@bnussbau
Copy link

FYI: I had to download the release with Safari, with Chrome it wouldn't work on Catalina.
You can check using codesign -vvv --deep --strict /path/to/QLMarkdown.qlgenerator if the binary is valid. It should print out

QLMarkdown.qlgenerator: valid on disk
QLMarkdown.qlgenerator: satisfies its Designated Requirement

When downloading with Chrome i had an QLMarkdown.qlgenerator: unsealed contents present in the bundle root error.

@tattali
Copy link
Contributor

tattali commented Oct 29, 2019

It seems thats the quick look should be notarized with 99$ fee.

You can try this: #91 (comment)

Or also:

$ open ~/Library/QuickLook/QLMarkdown.qlgenerator/Contents/MacOS/

right click open on the binary
then in the Preferences panel > go to Security & Privacy > and click on Allow QLMarkdown
then if needed re run qlmanage

qlmanage -r

If you find an other way please share it

@sbarex
Copy link

sbarex commented Oct 30, 2019

Has anyone tried to see if it works on 10.15.1?
I updated my virtual machine and it seems that now the various qlgenerators works but I'm not sure if I did something strange in the settings or if it's a problem solved in the last update.

@stefanwascoding
Copy link

stefanwascoding commented Oct 30, 2019

Has anyone tried to see if it works on 10.15.1?

@sbarex Updated macOS ... QLMarkdown (compiled from source) is still running.

@parleer
Copy link

parleer commented Nov 5, 2019

Got it working on MacOS Catalina (10.15) with the patch provided above.

Here's an exact recipe for those interested:

# Get source code
git clone https://github.com/toland/qlmarkdown
cd qlmarkdown

# Update to latest discount library (Per QLMarkdown's Readme.markdown guide)
./discount-config/update-discount.sh

# Install patch for MacOS Catalina
curl -L -O https://github.com/toland/qlmarkdown/files/3746764/catalina.patch.txt
git apply catalina.patch.txt

# Build and install
xcrun xcodebuild
cp -R ./build/Release/QLMarkdown.qlgenerator ~/Library/QuickLook/

# Reset QuickLook cache and relaunch Finder
qlmanage -r
sudo killall Finder

Update: Script has been updated per @Neberheim.

@Neberheim
Copy link

@parleer running wget as written returned a "missing URL" error. Worked around it by downloading through browser and placing it manually. I was also not able to copy the directory using cp and had to drag & drop through the Finder, strangely. Also Finder is the correct case for the process. Got it up and running with the workarounds though, thanks!

@parleer
Copy link

parleer commented Nov 6, 2019

@parleer running wget as written returned a "missing URL" error. Worked around it by downloading through browser and placing it manually. I was also not able to copy the directory using cp and had to drag & drop through the Finder, strangely. Also Finder is the correct case for the process. Got it up and running with the workarounds though, thanks!

@Neberheim Sorry, I wast trying to re-create my steps and missed a few things. I've updated the script and it should work now. Not sure why you were running into trouble with cp though.

@Neberheim
Copy link

@parleer It's a permissions issue it turns out, but giving iTerm full disk access in the Privacy system preference and doing the same with Terminal still yielded no results, even with sudo. Interestingly, while no exit message was returned with qlmarkdown as the working directory, sending it from my home directory returned cp: /Library/QuickLook/QLMarkdown.qlgenerator: Permission denied

So strangely ~ % sudo cp -R ~/qlmarkdown/build/Release/QLMarkdown.qlgenerator [...] ended up working properly, even though qlmarkdown % sudo cp [...] did not.

Since it's outside the purview of this thread, I'll leave it at that and investigate elsewhere.

@jackStalnaker
Copy link

You can get the version in homebrew to work by removing the quarantine attribute from the cask file like this:
xattr -d com.apple.quarantine /usr/local/Caskroom/qlmarkdown/1.3.6/QLMarkdown.qlgenerator

@brad-provident
Copy link

I get this error after trying to install the patch:

xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun

@parleer
Copy link

parleer commented Dec 13, 2019

@brad-provident Run xcode-select --install to install Command Line Tools

@tattali
Copy link
Contributor

tattali commented Jan 13, 2020

Hi, here is the most common solution.
Before doing this, make sure that the plug-in is installed and that you have tried to preview a valid markdown file.

@relikd
Copy link

relikd commented Jan 16, 2020

or as noted later in the thread, run xattr -cr ~/Library/QuickLook/QLMarkdown.qlgenerator. Though it should be enough to run it on the zip file before extracting.

You can even create an Automator action and add it to your right click menu, e.g. "remove extended attributes". ;)

screen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests