Version 4.1.0 -- error from #72
Hi,
I still get the blank preview problem using version 4.1 under Big Sur 11.1.

qlmanage -p style.css opens the following window
and yields the following errors:
Testing Quick Look preview with files:
style.css
2021-03-08 01:05:03.485 qlmanage[1340:17462] *** CFMessagePort: bootstrap_register(): failed 1100 (0x44c) 'Permission denied', port = 0x6407, name = 'com.apple.coredrag'
See /usr/include/servers/bootstrap_defs.h for the error codes.
2021-03-08 01:05:03.501 qlmanage[1340:17462] *** CFMessagePort: bootstrap_register(): failed 1100 (0x44c) 'Permission denied', port = 0x791b, name = 'com.apple.tsm.portname'
See /usr/include/servers/bootstrap_defs.h for the error codes.
2021-03-08 01:05:04.686 qlmanage[1340:17465] Persistent UI failed to open file file:///Users/bergmul/Library/Saved%20Application%20State/com.apple.quicklook.qlmanage.savedState/window_1.data: No such file or directory (2)
The first two errors have been reported before in #72 and should be gone after 4.0.2 if I understand correctly. I did not find a previous report of the last one in previous issues.
Steps I tried to solve the problem:
- installed via homebrew (+ boost)
- copied the binary manually into
~/Library/Quicklook -
qlmanage -r -
xattr -cr ~/Library/QuickLook/QLColorCode.qlgenerator/ - right click open on
QLColorCode.qlgeneratorin Finder - system restart
Maybe somebody has an idea what I could try? Cheers!
Hey,
can confirm - I run 11.2.2, qlcolorcode 4.1.0 and having the same errors as #72.
qlmanage -p ... gives me:
Testing Quick Look preview with files:
hippocampus.py
2021-04-02 01:00:41.208 qlmanage[65306:4881913] *** CFMessagePort: bootstrap_register(): failed 1100 (0x44c) 'Permission denied', port = 0x9307, name = 'com.apple.coredrag'
See /usr/include/servers/bootstrap_defs.h for the error codes.
2021-04-02 01:00:41.232 qlmanage[65306:4881913] *** CFMessagePort: bootstrap_register(): failed 1100 (0x44c) 'Permission denied', port = 0x8303, name = 'com.apple.tsm.portname'
See /usr/include/servers/bootstrap_defs.h for the error codes.
tried all the things @bergmul tried (homebrew, manual, qlmanage -r, restart, xattr -d -r com.apple.quarantine, etc), nothing helps
Thanks for looking into this!
Same problem for me. However, I discovered that colorize.sh and highlight did not have the execute bit set, so I ran these two commands:
chmod +x ~/Library/Quicklook/QLColorCode.qlgenerator/Contents/Resources/colorize.sh
chmod +x ~/Library/Quicklook/QLColorCode.qlgenerator/Contents/Resources/highlight
Now, if I do a qlmanage -p <file> the preview shows as expected. But I still get a white screen from Finder.