matryer / matryer/xbar

Xbar Python plugin asdf python not found

Open
#856 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
18.1k
Forks
656
PR merge metrics
No merged PRs in 30d

Description

I installed Xbar and github-review-requests but the plugin says "env: python: No such file or directory".

Since I installed python with asdf, the execution path is /Users/me/.asdf/shims/python. I tried to symlink it to usr/bin/python but it doesn't work since MacOS blocks it. I then symlink it to usr/local/bin/python, and changed the plugin header from

#!/usr/bin/env python
# -*- coding: utf-8 -*-

to

#!/usr/local/bin/env python
# -*- coding: utf-8 -*-

but it still doesn't work. Did I miss something?

On an extra node, running

python "/Users/me/Library/Application Support/xbar/plugins/001-github-review-requests.5m.py" 

on the terminal works.

xbar asdf python not found

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with Dev/GitHub/github-review-requests.5m.py and reproduce the failure using the plugin path shown in the issue, then compare it with the terminal invocation that works. Trace how xbar launches the script versus the user's shell environment. Done means the cause of the missing Python executable is confirmed and a working execution or configuration path is documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, python
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.