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

Missing Dependencies for Web Mode for Glances #197791

Open
gromdimon opened this issue Nov 15, 2024 · 0 comments
Open

Missing Dependencies for Web Mode for Glances #197791

gromdimon opened this issue Nov 15, 2024 · 0 comments
Labels
bug Reproducible Homebrew/homebrew-core bug

Comments

@gromdimon
Copy link

brew gist-logs <formula> link OR brew config AND brew doctor output

> brew gist-logs glances

Error: No logs.

brew config

HOMEBREW_VERSION: 4.4.5
ORIGIN: https://github.com/Homebrew/brew
HEAD: 254bf3fe9d8fa2e1b2fb55dbcf535b2d870180c4
Last commit: 4 days ago
Core tap JSON: 15 Nov 04:43 UTC
Core cask tap JSON: 15 Nov 04:43 UTC
HOMEBREW_PREFIX: /opt/homebrew
HOMEBREW_CASK_OPTS: []
HOMEBREW_MAKE_JOBS: 8
Homebrew Ruby: 3.3.6 => /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.3.6/bin/ruby
CPU: octa-core 64-bit arm_blizzard_avalanche
Clang: 16.0.0 build 1600
Git: 2.39.5 => /Library/Developer/CommandLineTools/usr/bin/git
Curl: 8.7.1 => /usr/bin/curl
macOS: 15.1-arm64
CLT: 16.1.0.0.1.1729049160
Xcode: N/A
Rosetta 2: false

brew doctor

Your system is ready to brew.


### Verification

- [X] My `brew doctor` output says `Your system is ready to brew.` and am still able to reproduce my issue.
- [X] I ran `brew update` and am still able to reproduce my issue.
- [X] I have resolved all warnings from `brew doctor` and that did not fix my problem.
- [X] I searched for recent similar issues at https://github.com/Homebrew/homebrew-core/issues?q=is%3Aissue and found no duplicates.

### What were you trying to do (and why)?

The problem occurs when installing Glances through Homebrew on macOS: essential dependencies required for running Glances in web server mode (glances -w) are not installed automatically. When trying to start web mode, an import error appears because FastAPI, Uvicorn, and Jinja2 are missing. This requires manual installation of these dependencies in the specific Python environment Glances uses, which should ideally be handled during installation.

### What happened (include all command output)?

brew install glances

<installation completed>

### What did you expect to happen?

The installation should also install python dependencies for web mode. The problem is probably here: https://github.com/Homebrew/homebrew-core/blob/8d97a836b599c18414b44f2de2e9fe966270eedc/Formula/g/glances.rb

### Step-by-step reproduction instructions (by running `brew` commands)

```shell
brew install glances
glances -w
@gromdimon gromdimon added the bug Reproducible Homebrew/homebrew-core bug label Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Reproducible Homebrew/homebrew-core bug
Projects
None yet
Development

No branches or pull requests

1 participant