-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
incompatible character encodings: UTF-8 and ASCII-8BIT when exec pod search
#5338
Comments
@manuyavuz looks like we might need to be more careful about string encoding in the cocoapods-search plugin. |
I think that it is cocoapods-core when store index. |
@Whirlwind could you share the contents of I've tried the same scenario but did not experience that kind of an error. I need to look into the contents of the json file. |
Interesting, you seem to have 3 spec repos with exact contents with the following names:
Are these really forks of master repo? If so, why do you need such a usage? Other than that, the error seems to be caused from a weird copy paste behavior at the tail of the file:
Following part is repeated which causes invalid JSON:
Is there any chance where you accidentally manually copy/pasted the set of characters above? I see no way to programmatically generate such a JSON file with current code. Also, could you try again by first deleting |
It works after I delete the json and run the I think it is because that last time I interrupt the build process over |
Can you send the output of You don't need to send URLs, only names will suffice. |
Closing for now because I can't reproduce this weird case myself, and your problem was solved. |
nice, I solve the problem, thx |
delete the file |
Cocoapods 1.0.0, I run the command
pod search xxx
, I got a error:I check the code, and comment the rescue, I get the error:
How to do about it?
The text was updated successfully, but these errors were encountered: