Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught UnicodeDecodeError in watch.py line 58 #3076

Open
yangala opened this issue Jan 30, 2025 · 0 comments
Open

Uncaught UnicodeDecodeError in watch.py line 58 #3076

yangala opened this issue Jan 30, 2025 · 0 comments

Comments

@yangala
Copy link

yangala commented Jan 30, 2025

Aider version: 0.72.3
Python version: 3.11.11
Platform: Windows-10-10.0.19045-SP0
Python implementation: CPython
Virtual environment: No
OS: Windows 10 (64bit)
Git version: git version 2.45.1.windows.1

An uncaught exception occurred:

Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "__main__.py", line 7, in <module>
    sys.exit(main())
             ^^^^^^
  File "main.py", line 911, in main
    file_watcher = FileWatcher(
                   ^^^^^^^^^^^^
  File "watch.py", line 80, in __init__
    self.gitignore_spec = load_gitignores(
                          ^^^^^^^^^^^^^^^^
  File "watch.py", line 58, in load_gitignores
    patterns.extend(f.readlines())
                    ^^^^^^^^^^^^^
UnicodeDecodeError: 'gbk' codec can't decode byte 0xbf in position 2: illegal multibyte sequence

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant