Force previewing works
qlmanage -p -g ~/Library/QuickLook/QuickLookR.qlgenerator -c RData ~/unknown.RData
Output
Testing Quick Look preview with files:
/Users/xirui/unknown.RData
- force using content type UTI: RData
- force using generator at path: /Users/xirui/Library/QuickLook/QuickLookR.qlgenerator
2019-10-29 21:31:35.845 qlmanage[68441:1321688] Generating preview for file:///Users/xirui/unknown.RData
2019-10-29 21:31:36.077 qlmanage[68441:1321685] *** CFMessagePort: bootstrap_register(): failed 1100 (0x44c) 'Permission denied', port = 0x7207, name = 'com.apple.coredrag'
See /usr/include/servers/bootstrap_defs.h for the error codes.
2019-10-29 21:31:36.137 qlmanage[68441:1321685] *** CFMessagePort: bootstrap_register(): failed 1100 (0x44c) 'Permission denied', port = 0xb717, name = 'com.apple.tsm.portname'
See /usr/include/servers/bootstrap_defs.h for the error codes.
But the CFMessagePort bugs are present in other working qlgenerators too. So that shouldn't be the reason.
@hrbrmstr Do you have any suggestions what else I should run to debug?
By the way, you can consider putting this on homebrew.
Force previewing works
Output
But the CFMessagePort bugs are present in other working qlgenerators too. So that shouldn't be the reason.
@hrbrmstr Do you have any suggestions what else I should run to debug?
By the way, you can consider putting this on homebrew.