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

Version 4.1.0 -- error from #72 #87

Open
bergmul opened this issue Mar 8, 2021 · 2 comments
Open

Version 4.1.0 -- error from #72 #87

bergmul opened this issue Mar 8, 2021 · 2 comments

Comments

@bergmul
Copy link

bergmul commented Mar 8, 2021

Hi,

I still get the blank preview problem using version 4.1 under Big Sur 11.1.

Screenshot_2021-03-08 00 13 08

qlmanage -p style.css opens the following window

Screenshot_2021-03-08 01 06 18

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.qlgenerator in Finder
  • system restart

Maybe somebody has an idea what I could try? Cheers!

@jajcayn
Copy link

jajcayn commented Apr 1, 2021

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!

@gcamp806
Copy link

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.

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

3 participants