git-xl icon indicating copy to clipboard operation
git-xl copied to clipboard

install not success

Open yfj1963 opened this issue 4 years ago • 7 comments

Exception in thread Thread-1: Traceback (most recent call last): File "threading.py", line 916, in _bootstrap_inner File "threading.py", line 864, in run File "subprocess.py", line 1083, in _readerthread UnicodeDecodeError: 'gbk' codec can't decode byte 0xa6 in ultibyte sequence

Traceback (most recent call last): File "cli.py", line 344, in File "cli.py", line 260, in execute File "cli.py", line 289, in install File "cli.py", line 63, in init File "cli.py", line 128, in get_global_gitconfig_dir File "cli.py", line 122, in execute File "subprocess.py", line 425, in run File "subprocess.py", line 863, in communicate File "subprocess.py", line 1133, in _communicate IndexError: list index out of range [101984] Failed to execute script cli

C:\Users\yfj>git xltrail install git: 'xltrail' is not a git command. See 'git --help'.

yfj1963 avatar Sep 02 '19 01:09 yfj1963

please help me to look at this problem?

yfj1963 avatar Sep 02 '19 01:09 yfj1963

my command is git xl install

yfj1963 avatar Sep 02 '19 01:09 yfj1963

What are your regional/language settings?

fzumstein avatar Sep 02 '19 16:09 fzumstein

Im in china, Python 3.4.1 version, and chinese language in windows . Excuse me, this tool supported on linux?

yfj1963 avatar Sep 06 '19 00:09 yfj1963

currently, the tool is only supported on Windows

fzumstein avatar Sep 16 '19 08:09 fzumstein

I had similar issue. After installing exe, at command line, it wouldn't recognize git xl install but after restarting my computer it worked no problem.

iansedano avatar Mar 07 '20 08:03 iansedano

image

+1

pifeifei avatar Sep 29 '22 07:09 pifeifei

if the owner doesn't agree my pull request yet, @yfj1963 u can build yourself clone this repository and modify the cli.py with these:

subprocess.run(xxxx) --> subprocess.run(xxxx, encoding='utf-8')

and then, use virtualenv or not to install requirement and pyinstaller, build the exe for yourself. And add the exe folder path in your environment

willcream avatar Feb 19 '23 09:02 willcream