
usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/artifact/uninstall_base.rb:31:in `each' usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/artifact/uninstall_base.rb:32:in `block in dispatch_uninstall_directives' usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/artifact/uninstall_base.rb:32:in `each' usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/artifact/uninstall_base.rb:34:in `block (2 levels) in dispatch_uninstall_directives'

usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/artifact/uninstall_base.rb:188:in `uninstall_pkgutil' usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/artifact/uninstall_base.rb:188:in `each' usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/artifact/uninstall_base.rb:189:in `block in uninstall_pkgutil' usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/artifact/uninstall_base.rb:189:in `each' usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/artifact/uninstall_base.rb:191:in `block (2 levels) in uninstall_pkgutil' usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/pkg.rb:17:in `uninstall' usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/pkg.rb:54:in `pkgutil_bom_files' usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/pkg.rb:66:in `pkgutil_bom_all'


usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/pkg.rb:75:in `info' usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/system_command.rb:160:in `_parse_plist' usr/local/Homebrew/Library/Homebrew/vendor/plist/plist/parser.rb:29:in `parse_xml' usr/local/Homebrew/Library/Homebrew/vendor/plist/plist/parser.rb:91:in `parse' usr/local/Homebrew/Library/Homebrew/vendor/plist/plist/parser.rb:91:in `scan' => Executing: Įrror: incompatible encoding regexp match (UTF-8 regexp with ASCII-8BIT string)
#Lightkey troubleshooting password#
=> Running uninstall process for lightkey your password may be necessary => Un-installing artifact of class Hbc::Artifact::Uninstall => Determining which artifacts are present in Cask lightkey $ brew cask uninstall lightkey -verbose -debug Just wondering if anyone has advice on this issue, or should I just raise it in Homebrew?

This same issue affects a few other casks that I have found as well: tableau-public, drobo-dashboard, resolume-avenue, plover. Applying the below diff fixes uninstall but of course this is a brew issue rather than a hbc issue. Turns out that plist/parser.rb is not handling the plist, at least for 10.12.3 and 10.12.4, if the plist file ends up in ascii rather than utf8. I have finally managed to set up a clean system with 10.12.3 and the same problem exists so the issue is unrelated to the minor version upgrade. I have been having trouble with uninstalling a few casks which performing cask updates (lightkey being one of them) and had thought that it was due to the recent 10.12.4 update.
#Lightkey troubleshooting update#
I ran brew update-reset & brew update and retried my command.None of the templates was appropriate for my issue, or I’m not sure.I have checked the instructions for reporting bugs (or making requests) before opening the issue.
