(bug report) rime-install: No such file or directory

Open
#84 8 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
bash, shell
Domain
cli

Research direction

Start with the rime-install package installer entry point and reproduce the failure on Windows 10 with WSL bash and the reported Shift-JIS code page. Trace how the downloaded rime-install path is passed to bash, then verify that installing rime/rime-wubi succeeds without the "No such file or directory" error.

Written by the indexing model from the issue text.

Description

全新安装,试图安装五笔不成功,log如下

Rime package installer

Working directory: D:\opt\rime\weasel-0.17.4
Package installer directory: D:\opt\rime\weasel-0.17.4\
Download cache directory: C:\Users\JimmyZ\AppData\Local\Temp
Rime user directory: D:\var\rime


Enter package name, URL, user/repo or downloaded ZIP to install: rime/rime-wubi
Downloading rime-install ...
/bin/bash: C:\Users\JimmyZ\AppData\Local\Temp/rime-install: No such file or directory

使用repo完整url报错也完全一样。

Windows 10 22H2 build 19045.5965
另外也许值得一提的是装了wsl,所以bash是wsl的,系统默认code page设置是日文shift-jis。

Dominant language
Shell
Stars
2k
Forks
171
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

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.

More from rime/plum

All issues in rime/plum

Similar issues

More Shell/Bash issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.