Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,298,401
Community Members
 
Community Events
165
Community Groups

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

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 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

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence

An update on Confluence Cloud customer feedback – June 2022

Hi everyone, We’re always looking at how to improve Confluence and customer feedback plays an important role in making sure we're investing in the areas that will bring the most value to the most c...

186 views 1 3
Read article

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