jw782cn / RepoChat-200k

⚡Chat with GitHub Repo Using 200k context window of Claude instead of RAG!⚡
MIT License
146 stars 23 forks source link

TypeError: can only concatenate str (not "NoneType") to str #8

Open fengyunzaidushi opened 6 months ago

fengyunzaidushi commented 6 months ago

image

TypeError: can only concatenate str (not "NoneType") to str
Traceback:
File "/opt/miniconda3/envs/py310_chat/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 542, in _run_script
    exec(code, module.__dict__)
File "/mnt/sda/github/03yue/RepoChat-200k/app.py", line 190, in <module>
    create_app()
File "/mnt/sda/github/03yue/RepoChat-200k/app.py", line 182, in create_app
    stream_handler.process_token(content)
File "/mnt/sda/github/03yue/RepoChat-200k/app.py", line 17, in process_token
    self.text += token
jw782cn commented 6 months ago

check if the repo_stats.csv has any content? if not, delete the repos/YOUR_REPO and download it again.