version-fox / version-fox/vfox

[BUG]: plugin [PostInstall] method error

Open
#630 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Go
Stars
4k
Forks
157
Avg merge
1h 3m
Merged PRs (30d)
5

Description

Version
1.0.6
OS
Windows

Describe the bug
Press ↑/↓ to select and press ←/→ to page, and press Enter to confirm
Preinstalling python@3.12.12...
url: https://www.python.org/ftp/python/3.12.12/python-3.12.12.amd64.msi
plugin [PostInstall] method error: C:\Users\mzh.vfox\plugin\python\lib\util.lua:274: No available installer found for current version
stack traceback:
[G]: in function 'error'
C:\Users\mzh.vfox\plugin\python\lib\util.lua:274: in function 'getReleaseForWindows'
C:\Users\mzh.vfox\plugin\python\lib\util.lua:52: in main chunk
(tailcall): ?
[G]: ?

Screenshots[optional]
install python error

Contributor guide

Open the contributing guide

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 plugin/python/lib/util.lua at lines 52 and 274, then reproduce the Windows installation of python@3.12.12 described in the report. Trace why getReleaseForWindows reports no available installer for that version. Done means the installation completes without the PostInstall error.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua, python
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.