question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't use with out of range(128) characters

See original GitHub issue

I was using a branch with in the name. When I git push I correct it so that it’ll push with the git suggested prompt. It doesn’t work.

Traceback (most recent call last):
  File "/usr/local/Cellar/thefuck/3.1/libexec/bin/thefuck", line 9, in <module>
    load_entry_point('thefuck==3.1', 'console_scripts', 'thefuck')()
  File "/usr/local/Cellar/thefuck/3.1/libexec/lib/python2.7/site-packages/thefuck/main.py", line 77, in main
    fix_command()
  File "/usr/local/Cellar/thefuck/3.1/libexec/lib/python2.7/site-packages/thefuck/main.py", line 28, in fix_command
    selected_command = select_command(corrected_commands)
  File "/usr/local/Cellar/thefuck/3.1/libexec/lib/python2.7/site-packages/thefuck/ui.py", line 106, in select_command
    logs.confirm_text(selector.value)
  File "/usr/local/Cellar/thefuck/3.1/libexec/lib/python2.7/site-packages/thefuck/logs.py", line 61, in confirm_text
    blue=color(colorama.Fore.BLUE)))
UnicodeEncodeError: 'ascii' codec can't encode character u'\ufffd' in position 36: ordinal not in range(128)

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:20 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
ls0fcommented, May 18, 2016

@scorphus works nice now.

0reactions
scorphuscommented, May 18, 2016

@lovedboy: Any update on this?

Read more comments on GitHub >

github_iconTop Results From Across the Web

'ascii' codec can't encode character : ordinal not in range (128)
this error may means that data is not in UTF-8 but in other encoding - ie, Latin1 , CP1250 . · Python keeps...
Read more >
UnicodeEncodeError 'ascii' 'ordinal not in range(128)'
- use .encode() or .decode() function but I get a very annoying message: An error occurred while processing the action acknowledgement.
Read more >
'ascii' codec can't encode character '\ufffd' in position 94 ...
Insights-client throwing error "UnicodeEncodeError: 'ascii' codec can't encode character '\ufffd' in position 94: ordinal not in range(128)" ...
Read more >
Query to find rows containing ASCII characters in a given range
Unfortunately, I often need to find characters within (or outside of) a range in databases I can't create stored procedures in. I'd really...
Read more >
Ordinal Not in Range – Runbooks - GitHub Pages
This issue happens when Python can't correctly work with a string ... encode character u'\xa1' in position 0: ordinal not in range(128).
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found