Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

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

0 votes
Tom Davies Atlassian Team Jun 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

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.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Asked in Jira Service Desk

Calling all Insight users, we need your help!

Hello Insight users,  As part of our (Mindville's) acquisition by Atlassian, our training team is looking to build some new Insight training materials. It would really helpful if you can ...

88 views 1 0
View question

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you