-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
TypeError: a bytes-like object is required, not 'str' #354
Comments
This should always be a string, so the fact this crashed means there's a bug somewhere else in the code that calls this. Did the project (where this crashed) have non-text files (eg. images, favicons, zip files, stuff like that)? |
It only had .js and .db from sqlite3. The database wasnt corrupt as i could navigate the tables and .js runs without error. But gpt-pilot had some problems where it did not create the .db the first few tries. |
me too |
Just got the same error after I believe 19 dev steps. Also, when I go back to try to run it again using the path stipulated from beginning of the run, get the same error. Traceback (most recent call last): |
Per #363 I didn't send any files to the LLM and got this message. Anything having to do with binary files was generated by. gptpilot if that was the cause, but I don't think it was. |
@clickbrain @senko
|
GPT-Pilot (commit): 930
OS: Ubuntu 22.04
Python: 3.9
Wouldn't it be easier to just check if it was an object or a string. Instead of just halting?
The text was updated successfully, but these errors were encountered: