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

Logitech-Options+ cannot be installed #187722

Open
6 tasks done
piotrzaborow opened this issue Oct 7, 2024 · 1 comment
Open
6 tasks done

Logitech-Options+ cannot be installed #187722

piotrzaborow opened this issue Oct 7, 2024 · 1 comment

Comments

@piotrzaborow
Copy link

Verification

Description of issue

Cannot install new version of Logitech Options+ via homebrew.
I've also got problem with upgrading & uninstalling this package.

Command that failed

brew install logi-options+

Output of command with --verbose --debug

❯ brew install logi-options+ --verbose --debug
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::NullLoader): loading logi-options+
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::NullLoader): loading logi-options+
/opt/homebrew/Library/Homebrew/brew.rb (Cask::CaskLoader::FromAPILoader): loading logi-options+
==> Cask::Installer#install
==> Printing caveats
==> Caveats
You must reboot for the installation of logi-options+ to take effect.

==> Cask::Installer#fetch
==> Downloading https://download01.logi.com/web/ftp/pub/techsupport/optionsplus/logioptionsplus_installer.zip
/usr/bin/env /opt/homebrew/Library/Homebrew/shims/shared/curl --disable --cookie /dev/null --globoff --show-error --user-agent Homebrew/4.4.0\ \(Macintosh\;\ arm64\ Mac\ OS\ X\ 15.0.1\)\ curl/8.7.1 --header Accept-Language:\ en --retry 3 --fail --location --silent --head https://download01.logi.com/web/ftp/pub/techsupport/optionsplus/logioptionsplus_installer.zip
/usr/bin/env /opt/homebrew/Library/Homebrew/shims/shared/curl --disable --cookie /dev/null --globoff --show-error --user-agent Homebrew/4.4.0\ \(Macintosh\;\ arm64\ Mac\ OS\ X\ 15.0.1\)\ curl/8.7.1 --header Accept-Language:\ en --retry 3 --fail --location --silent --head --request GET https://download01.logi.com/web/ftp/pub/techsupport/optionsplus/logioptionsplus_installer.zip
Already downloaded: /Users/piotrzaborow/Library/Caches/Homebrew/downloads/643ae765e6596e7bb788386a880a1cd67b247fa82efd7359838c1d0737889ee1--logioptionsplus_installer.zip
==> Checking quarantine support
/usr/bin/env /usr/bin/xattr -h
/usr/bin/env /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift -target arm64-apple-macosx15 /opt/homebrew/Library/Homebrew/cask/utils/quarantine.swift
==> Quarantine is available.
==> Verifying Gatekeeper status of /Users/piotrzaborow/Library/Caches/Homebrew/downloads/643ae765e6596e7bb788386a880a1cd67b247fa82efd7359838c1d0737889ee1--logioptionsplus_installer.zip
/usr/bin/env /usr/bin/xattr -p com.apple.quarantine /Users/piotrzaborow/Library/Caches/Homebrew/downloads/643ae765e6596e7bb788386a880a1cd67b247fa82efd7359838c1d0737889ee1--logioptionsplus_installer.zip
==> /Users/piotrzaborow/Library/Caches/Homebrew/downloads/643ae765e6596e7bb788386a880a1cd67b247fa82efd7359838c1d0737889ee1--logioptionsplus_installer.zip is quarantined
Warning: No checksum defined for cask 'logi-options+', skipping verification.
/usr/bin/env hdiutil imageinfo -format /Users/piotrzaborow/Library/Caches/Homebrew/downloads/643ae765e6596e7bb788386a880a1cd67b247fa82efd7359838c1d0737889ee1--logioptionsplus_installer.zip
/usr/bin/env zipinfo -1 /Users/piotrzaborow/Library/Caches/Homebrew/downloads/643ae765e6596e7bb788386a880a1cd67b247fa82efd7359838c1d0737889ee1--logioptionsplus_installer.zip
==> Installing Cask logi-options+
==> Cask::Installer#stage
==> Extracting primary container
==> Using container class UnpackStrategy::Zip for /Users/piotrzaborow/Library/Caches/Homebrew/downloads/643ae765e6596e7bb788386a880a1cd67b247fa82efd7359838c1d0737889ee1--logioptionsplus_installer.zip
/usr/bin/env zipinfo -1 /Users/piotrzaborow/Library/Caches/Homebrew/downloads/643ae765e6596e7bb788386a880a1cd67b247fa82efd7359838c1d0737889ee1--logioptionsplus_installer.zip
/usr/bin/env ditto -x -k /Users/piotrzaborow/Library/Caches/Homebrew/downloads/643ae765e6596e7bb788386a880a1cd67b247fa82efd7359838c1d0737889ee1--logioptionsplus_installer.zip /private/tmp/homebrew-unpack20241007-3689-eme5s
/usr/bin/env cp -pR /private/tmp/homebrew-unpack20241007-3689-eme5s/logioptionsplus_installer.app/. /opt/homebrew/Caskroom/logi-options+/1.82.618412/logioptionsplus_installer.app
==> Verifying Gatekeeper status of /Users/piotrzaborow/Library/Caches/Homebrew/downloads/643ae765e6596e7bb788386a880a1cd67b247fa82efd7359838c1d0737889ee1--logioptionsplus_installer.zip
/usr/bin/env /usr/bin/xattr -p com.apple.quarantine /Users/piotrzaborow/Library/Caches/Homebrew/downloads/643ae765e6596e7bb788386a880a1cd67b247fa82efd7359838c1d0737889ee1--logioptionsplus_installer.zip
==> /Users/piotrzaborow/Library/Caches/Homebrew/downloads/643ae765e6596e7bb788386a880a1cd67b247fa82efd7359838c1d0737889ee1--logioptionsplus_installer.zip is quarantined
==> Propagating quarantine from /Users/piotrzaborow/Library/Caches/Homebrew/downloads/643ae765e6596e7bb788386a880a1cd67b247fa82efd7359838c1d0737889ee1--logioptionsplus_installer.zip to /opt/homebrew/Caskroom/logi-options+/1.82.618412
/usr/bin/env /usr/bin/xattr -p com.apple.quarantine /Users/piotrzaborow/Library/Caches/Homebrew/downloads/643ae765e6596e7bb788386a880a1cd67b247fa82efd7359838c1d0737889ee1--logioptionsplus_installer.zip
/usr/bin/env /usr/bin/xargs -0 -- /bin/chmod -h u+w
/usr/bin/env /usr/bin/xargs -0 -- /usr/bin/xattr -w com.apple.quarantine 0181\;6703d67a\;Homebrew\\x20Cask\;FAEA035E-F939-4CCB-BDDE-61B3A9DECBC1
==> Creating metadata directory: /opt/homebrew/Caskroom/logi-options+/.metadata/1.82.618412/20241007142038.979
==> Creating metadata subdirectory: /opt/homebrew/Caskroom/logi-options+/.metadata/1.82.618412/20241007142038.979/Casks
==> Installing artifacts
==> Installing artifact of class Cask::Artifact::Installer
==> Running installer script 'logioptionsplus_installer.app/Contents/MacOS/logioptionsplus_installer'
/usr/bin/sudo -E PATH=/opt/homebrew/bin:/opt/homebrew/sbin:/opt/homebrew/Library/Homebrew/shims/shared:/usr/bin:/bin:/usr/sbin:/sbin -- /opt/homebrew/Caskroom/logi-options+/1.82.618412/logioptionsplus_installer.app/Contents/MacOS/logioptionsplus_installer --quiet
Password:
[2024-10-07 16:20:50.289] [info] [ArgParser.mm:161] ArgParser: received input arguments: (
    "/opt/homebrew/Caskroom/logi-options+/1.82.618412/logioptionsplus_installer.app/Contents/MacOS/logioptionsplus_installer",
    "--quiet"
)
[2024-10-07 16:20:50.289] [info] [ArgParser.mm:200] arg name: 
s
[2024-10-07 16:20:50.289] [info] [ArgParser.mm:164] Processed args: status: {
    args =     {
        "--aipromptbuilder" = 1;
        "--analytics" = 1;
        "--backlight" = 1;
        "--device-recommendation" = 1;
        "--dfu" = 1;
        "--flow" = 1;
        "--logivoice" = 1;
        "--sso" = 1;
        "--update" = 1;
    };
    lastarg = "--quiet";
    lastval = "";
    status = 0;
}
[2024-10-07 16:20:50.314] [error] [feature_flags_loader.cpp:89] Cannot load json features flags! '/Users/Shared/LogiOptionsPlus/features_cache.json' does not exist!

[2024-10-07 16:20:50.314] [error] [feature_flags_loader.cpp:89] Cannot load json features flags! '/Users/Shared/LogiOptionsPlus/features_cache.json' does not exist!

[2024-10-07 16:20:50.314] [error] [feature_flags_loader.cpp:89] Cannot load json features flags! '/Users/Shared/LogiOptionsPlus/features_cache.json' does not exist!

[2024-10-07:16:20:50.325] [:1433085] [error] [pipeline_file_storage.cpp:1055] Failed to load keys from file: /Users/Shared/LogiOptionsPlus/keys.json
DEBUG  : ConcurrentException: Not allowed to 'start()' a JobQueue that is already started.

[2024-10-07:16:20:50.329] [:1433085] [error] [pipeline_file_storage.cpp:1055] Failed to load keys from file: /Users/Shared/LogiOptionsPlus/keys.json

Output of brew doctor and brew config

❯ brew doctor
Your system is ready to brew.
❯ brew config
HOMEBREW_VERSION: 4.4.0
ORIGIN: https://github.com/Homebrew/brew
HEAD: 84c31175f11860129a9aaed40a13c549625e2db1
Last commit: 6 days ago
Core tap JSON: 07 Oct 14:15 UTC
Core cask tap JSON: 07 Oct 14:15 UTC
HOMEBREW_PREFIX: /opt/homebrew
HOMEBREW_CASK_OPTS: []
HOMEBREW_MAKE_JOBS: 12
Homebrew Ruby: 3.3.5 => /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.3.5/bin/ruby
CPU: dodeca-core 64-bit arm_blizzard_avalanche
Clang: 16.0.0 build 1600
Git: 2.46.2 => /opt/homebrew/bin/git
Curl: 8.7.1 => /usr/bin/curl
macOS: 15.0.1-arm64
CLT: 16.0.0.0.1.1724870825
Xcode: 16.0
Rosetta 2: false

Output of brew tap

❯ brew tap
dart-lang/dart
leoafarias/fvm
libsql/sqld
nextdns/tap
tofuutils/tap
tursodatabase/tap
@yunhao-jiang
Copy link
Contributor

yunhao-jiang commented Oct 9, 2024

I encountered the similar output. However, it seems at the end the Logi Options+ are still installed on my system even with all these error messages. Does yours not install the Options+ at all?

Tried manually run the installer scripts, I feel the issue is more on Logitech's side. These error messages are from the installer script they provided.

Update: tried running brew install --cask logi-options+ twice. The first time failed, and had the exact same output. Second time succeeded. The output is a bit different. The same log is observed on installing on the CI machine

[2024-10-09 12:02:34.595] [info] [ArgParser.mm:161] ArgParser: received input arguments: (
    "/opt/homebrew/Caskroom/logi-options+/1.82.618412/logioptionsplus_installer.app/Contents/MacOS/logioptionsplus_installer",
    "--quiet"
)
[2024-10-09 12:02:34.595] [info] [ArgParser.mm:200] arg name: 
s
[2024-10-09 12:02:34.595] [info] [ArgParser.mm:164] Processed args: status: {
    args =     {
        "--aipromptbuilder" = 1;
        "--analytics" = 1;
        "--backlight" = 1;
        "--device-recommendation" = 1;
        "--dfu" = 1;
        "--flow" = 1;
        "--logivoice" = 1;
        "--sso" = 1;
        "--update" = 1;
    };
    lastarg = "--quiet";
    lastval = "";
    status = 0;
}
[2024-10-09 12:02:34.623] [error] [feature_flags_loader.cpp:89] Cannot load json features flags! '/Users/Shared/LogiOptionsPlus/features_cache.json' does not exist!

[2024-10-09 12:02:34.623] [error] [feature_flags_loader.cpp:89] Cannot load json features flags! '/Users/Shared/LogiOptionsPlus/features_cache.json' does not exist!

[2024-10-09 12:02:34.623] [error] [feature_flags_loader.cpp:89] Cannot load json features flags! '/Users/Shared/LogiOptionsPlus/features_cache.json' does not exist!

[2024-10-09:12:02:34.639] [:3099827] [error] [pipeline_file_storage.cpp:1055] Failed to load keys from file: /Users/Shared/LogiOptionsPlus/keys.json
DEBUG  : ConcurrentException: Not allowed to 'start()' a JobQueue that is already started.

[2024-10-09:12:02:34.642] [:3099827] [error] [pipeline_file_storage.cpp:1055] Failed to load keys from file: /Users/Shared/LogiOptionsPlus/keys.json
[2024-10-09:12:02:49.035] [:3099955] [error] [path_utils.cpp:65] Failed to check type with path: /Users/Shared/LogiOptionsPlus. Error: No such file or directory
[2024-10-09 12:02:53.693] [error] [feature_flags_loader.cpp:89] Cannot load json features flags! '/Users/Shared/LogiOptionsPlus/features_cache.json' does not exist!

Unload failed: 5: Input/output error
Try running `launchctl bootout` as root for richer errors.
{
	"LimitLoadToSessionType" = "System";
	"StandardErrorPath" = "/tmp/logi.optionsplus.updater.log";
	"Label" = "com.logi.optionsplus.updater";
	"OnDemand" = false;
	"LastExitStatus" = 0;
	"PID" = 64905;
	"Program" = "/Library/Application Support/Logitech.localized/LogiOptionsPlus/logioptionsplus_agent.app/Contents/Frameworks/logioptionsplus_updater.app/Contents/MacOS/logioptionsplus_updater";
	"ProgramArguments" = (
		"/Library/Application Support/Logitech.localized/LogiOptionsPlus/logioptionsplus_agent.app/Contents/Frameworks/logioptionsplus_updater.app/Contents/MacOS/logioptionsplus_updater";
	);
};
Boot-out failed: 5: Input/output error
Bootstrap failed: 5: Input/output error
ERROR  : dpShutdown : No background queue to reset. 

2024-10-09 12:03:02.627 logioptionsplus_installer[64866:3099827] About to cleanup temp logs at /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/977965A1-CD62-48EC-B62D-1774D7F18A90
🍺  logi-options+ was successfully installed!

It seems like the issue does not show up every time upon install. Only encountered once in 10 tries. Can you retry installing it?

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

2 participants