No such command 'self-update'
downey-lv opened this issue · comments
Confirmation
- I have read the README.md on the project homepage
- I have checked if identical issue already exists
- I have tried downgrading to find version that can be used as a workaround
The problem
self-update missing from the package since 0.22.3. Doesn't show up in --help either
When downgraded to 0.22.3 the command exists but throws a permission error for me, pipx upgrade PlexTraktSync works fine. Might be just an issue for me or I'm assuming that's the reason why the command was removed. Probably just an update to README.md to just contain pipx upgrade needed then?
Error trace / logs
C:\Users\user>plextraktsync self-update
Usage: plextraktsync [OPTIONS] COMMAND [ARGS]...
Try 'plextraktsync --help' for help.
Error: No such command 'self-update'.
Expected behavior
Runs the pipx upgrade command
Steps to reproduce the behavior
plextraktsync self-update
Inspect of problematic items
No response
Workarounds
plextraktsync 0.22.3 was the latest that the command existed
Install method
pipx
Config file contents
No response
Version
0.25.16
Python Version
3.9.7
Operating System and Version
Windows 11
the command is enabled if detects it's pipx installed:
-
PlexTraktSync/plextraktsync/cli.py
Lines 339 to 340 in 22ae1ec
-
PlexTraktSync/plextraktsync/util/Factory.py
Lines 182 to 188 in 22ae1ec
-
PlexTraktSync/plextraktsync/util/packaging.py
Lines 62 to 72 in 22ae1ec
-
PlexTraktSync/plextraktsync/util/packaging.py
Lines 39 to 59 in 22ae1ec
could be that program_name is incorrect or your pipx output changed, what is your pipx version?
start with pipx list output:
➜ pipx list --json | jq '.venvs|keys'
[
"cdhist",
"plextraktsync",
"plextraktsync@1404",
"wssh"
]
so, it's program_name probably incorrect, the only thing you didn't check
@downey-lv can you debug what's program_name in your system?
reporter dis-appeared. closing