The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

I'm trying to use the CLI tool, but I'm getting an "Error encoding the request.."

CodeForCoffee
June 16, 2014

I'm trying to use the CLI tool, but I'm getting an "Error encoding the request (tried UTF-8), please specify an --encoding parameter" I've tried this with utf_8, ascii, utf_32, utf8. All with the same result.

./crucible.py REVIEW-1 --encoding utf_8

Note I've tried leaving off the --encoding.

2 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Paul Collins
February 7, 2019

I just ran into this after a year using the tool successfully. Manually uploading the diff gave a clue: it would not anchor, and in the revision that Crucible said conflicted there was a funny character near the previous (and the new) changes:

There was an apostrophe encoded in Western MacOS Roman. I changed it to a plain ASCII apostrophe in my local source, made a new diff, and that uploaded and anchored ok

This did not fix the python error, but now I know what to look for and a workaround. Possibly fiddling around with encoding in the source file would have helped.

0 votes
Tom Davies
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 17, 2014

Can you please try again without the --encoding parameter, but with a --debug parameter and tell us what the output of the command is?

Thanks,

Tom

TAGS
AUG Leaders

Atlassian Community Events