xltrail / git-xl

Git extension: Makes git-diff work for VBA in Excel workbooks (xls* file types)
https://www.xltrail.com/git-xl
MIT License
559 stars 72 forks source link

install not success #45

Closed yfj1963 closed 1 year ago

yfj1963 commented 5 years ago

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 commented 5 years ago

please help me to look at this problem?

yfj1963 commented 5 years ago

my command is git xl install

fzumstein commented 5 years ago

What are your regional/language settings?

yfj1963 commented 5 years ago

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

fzumstein commented 5 years ago

currently, the tool is only supported on Windows

iansedano commented 4 years ago

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.

pifeifei commented 2 years ago

image

+1

willcream commented 1 year ago

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