Skip to content

[BUG] UnicodeDecodeError on query #307

@comiluv

Description

@comiluv

Describe the bug
Upon giving the command vectorcode query dap -n 3, UnicodeDecodeError is thrown

To Reproduce
Steps to reproduce the behavior:

  1. git clone https://www.github.com/comiluv/dotfiles
  2. cd dotfiles
  3. uv tool install "vectorcode<1.0.0"
  4. vectorcode init
  5. vectorcode vectorise nvim/**/*.lua
  6. vectorcode query dap -n 3
  7. see error

Expected behavior
Documents are retrieved without error

VectorCode Configuration
default empty configuration

Platform information:

  • If the issue is about the CLI, attach a list of packages in the Python virtual environment:
    • for pipx, run pipx runpip vectorcode freeze;
    • for uv, run uv tool run --from=vectorcode python -m ensurepip && uv tool run --from=vectorcode python -m pip freeze.
Looking in links: c:\Users\choij\AppData\Local\Temp\tmpsfrtakdv
Processing c:\users\choij\appdata\local\temp\tmpsfrtakdv\pip-25.3-py3-none-any.whl
Installing collected packages: pip
Successfully installed pip-25.3
annotated-doc==0.0.4
annotated-types==0.7.0
anyio==4.12.1
asgiref==3.11.1
backoff==2.2.1
bcrypt==5.0.0
build==1.4.0
certifi==2026.2.25
charset-normalizer==3.4.4
chroma-hnswlib==0.7.6
chromadb==0.6.3
click==8.3.1
colorama==0.4.6
colorlog==6.10.1
distro==1.9.0
durationpy==0.10
fastapi==0.133.1
filelock==3.24.3
flatbuffers==25.12.19
fsspec==2026.2.0
googleapis-common-protos==1.72.0
grpcio==1.78.1
h11==0.16.0
hf-xet==1.3.1
httpcore==1.0.9
httptools==0.7.1
httpx==0.28.1
huggingface_hub==1.4.1
idna==3.11
importlib_metadata==8.7.1
importlib_resources==6.5.2
Jinja2==3.1.6
joblib==1.5.3
json5==0.13.0
kubernetes==35.0.0
markdown-it-py==4.0.0
MarkupSafe==3.0.3
mdurl==0.1.2
mmh3==5.2.0
mpmath==1.3.0
networkx==3.6.1
numpy==2.4.2
oauthlib==3.3.1
onnxruntime==1.24.2
opentelemetry-api==1.39.1
opentelemetry-exporter-otlp-proto-common==1.39.1
opentelemetry-exporter-otlp-proto-grpc==1.39.1
opentelemetry-instrumentation==0.60b1
opentelemetry-instrumentation-asgi==0.60b1
opentelemetry-instrumentation-fastapi==0.60b1
opentelemetry-proto==1.39.1
opentelemetry-sdk==1.39.1
opentelemetry-semantic-conventions==0.60b1
opentelemetry-util-http==0.60b1
orjson==3.11.7
overrides==7.7.0
packaging==26.0
pathspec==1.0.4
posthog==5.4.0
protobuf==6.33.5
psutil==7.2.2
pydantic==2.12.5
pydantic_core==2.41.5
Pygments==2.19.2
PyPika==0.51.1
pyproject_hooks==1.2.0
python-dateutil==2.9.0.post0
python-dotenv==1.2.1
PyYAML==6.0.3
regex==2026.2.19
requests==2.32.5
requests-oauthlib==2.0.0
rich==14.3.3
safetensors==0.7.0
scikit-learn==1.8.0
scipy==1.17.1
sentence-transformers==5.2.3
setuptools==82.0.0
shellingham==1.5.4
shtab==1.8.0
six==1.17.0
starlette==0.52.1
sympy==1.14.0
tabulate==0.9.0
tenacity==9.1.4
threadpoolctl==3.6.0
tokenizers==0.22.2
torch==2.10.0
tqdm==4.67.3
transformers==5.2.0
tree-sitter==0.25.2
tree-sitter-c-sharp==0.23.1
tree-sitter-embedded-template==0.25.0
tree-sitter-language-pack==0.13.0
tree-sitter-yaml==0.7.2
typer==0.24.1
typer-slim==0.24.0
typing-inspection==0.4.2
typing_extensions==4.15.0
urllib3==2.6.3
uvicorn==0.41.0
VectorCode==0.7.20
watchfiles==1.1.1
websocket-client==1.9.0
websockets==16.0
wheel==0.45.1
wrapt==1.17.3
zipp==3.23.0

System Information:

  • OS: Windows 11 25H2 26200.7840 Korean version (chcp is 65001)
  • Python: 3.13.12

Additional context

vectorcode-2026-02-26_14-23-44.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions