Solvedgdb dashboard UnicodeEncodeError: 'ascii' codec can't encode characters in position 5-7: ordinal not in range(128)

I opened two tmux panes and tried using
dashboard -output /dev/pts/3
but then it showed me an error
Cannot write the dashboard
Traceback (most recent call last):
File "", line 357, in render
UnicodeEncodeError: 'ascii' codec can't encode characters in position 5-7: ordinal not in range(128)
what is wrong with it?

18 Answers

✔️Accepted Answer

Here's another thing you can try:


I'm sorry if I'm shooting in the dark here, the way Python handles the encoding is a mess IMHO.

Other Answers:

I did export LC_ALL=C.UTF-8 in both terminals open
and now it works. Is there any way that I don't have to do this every time?

Related Issues:

gdb dashboard UnicodeEncodeError: 'ascii' codec can't encode characters in position 5-7: ordinal not in range(128)
Here's another thing you can try: I'm sorry if I'm shooting in the dark here the way Python handles ...
rufus UEFI:NTFS - Unable to start driver: [1] or Could not start NTFS partition service: [14]
A-HA! I finally got my hand on a problematic machine (Dell Optiplex 390) and now everything is cryst...
rufus [0x00000057] Error While Formating - Only on Windows 11
I'm on Windows 11 dev 22463.1000 and I'm seeing the same behavior Alt+ fixes it. ...
xmake *BSD as a supported platform?
@RussellHaley @tomekw I have supported freebsd now We can install xmake on freebsd After the new ver...
compiler explorer bytes support for rust
You can get a tarball of the repo at the time of uploading from{cra...
terminal Typing inside of the default WSL terminal feels amazing, why is it better than every other app?
I really do not mind when someone comes by and decides to tell us that we're doing a good job at som...
tqdm Jupyterlab and tqdm_notebook
I confirm this problem on my environment but it is upstream so IMHO nothing can be done on tqdm Plea...
terminal Guide for build and installation
This information should be included in the Building the Code section of the README file. ...
terminal error 0x80070002 when launching `powershell.exe'
Just add the path of the power shell to the environment variable Thank you It works! %systemroot%\Sy...
terminal Move the solution to VS2019 and v142 toolset
As mentioned in README (also related to #534) If you're running VS2019 ...
tqdm How to update single progress bar in multiprocessing map()
terminal MEGATHREAD: Breaking settings changes in version 0.11!
Out of curiosity BREAKING SETTINGS CHANGES IN 0.11 BREAKING CHANGE We've deleted a lot of legacy set...
ConEmu Arrow keys not working in Bash for Windows
@ErrantErinaceinae Are you kidding? Months??? The issue was created four days ago! This is absolutel...
terminal Windows Terminal keeps forgetting/can't find my default WSL Ubuntu profile
Happened to me (seemingly) after updating Docker for Windows Haven't had any issues with WSL2 for mo...
ConEmu Windows Subsystem For Linux Bash Specify Startup Directory
@NitroBAY Ops I made a mistake The Windows file system is mounted to Windows Subsystem For Linux(WSL...
terminal Terminal hangs on exit with 'process exited with code 127' message
@carragom Oh that explains it - closeOnExit is a Profile setting Hi! I've noticed that on newer rele...
terminal Alt arrow keys do nothing; key unbinding broken?
This behavior is due to #3585 Proper expected behavior is restored with the following: ...
ConEmu WSL2 no longer working after windows update
Thank you This does indeed work You don't need to specify the user (the default one that corresponds...
.tmux “run '~/.tmux/plugins/tpm/tpm'” has no effect in .tmux.conf.local
Hi guys This was the code I added to .tmux.conf.local at the bottom But it seems that tpm could't ru...
terminal Vim Cursor shape stays underscore. Not able to change it
@tuyenpm9 that's no $PS1 that's a %PROMPT% setting in CMD:
ConEmu Active tab is hard to see
So here's a more concrete proposal: have tab templates support a new %* token for the Selected tab w...
terminal It is hard to find Microsoft.VCLibs.140.00.UWPDesktop
@atom0s Thanks for the info The seemed a bit shady to me but I can confirm that...
terminal Azure Cloud Shell is readded to the profiles.json file after I remove it and restart terminal.
@Alacritous thanks for not including those invectives Steps to reproduce Open profiles.json through ...
terminal Large number of "'function' is not a member of 'std'" errors
If you're trying to build on VS19 add #include <functional> below #include <filesystem> in LibraryIn...
terminal when i open the windows terminal ,its show [error 0x80070002 when launching powershell.exe']
It seems that your PATH environment variable may be damaged and not contain the Windows PowerShell d...
terminal How Do I Build it to Begin With?
Steps: Follow #449 ( If using VS2019 open the p...
terminal Ctrl+Tab toggle between last two windows like Alt+Tab
I think the OP wants most-recent-used (MRU) behaviour Ctrl+Tab allows you to move forward through op...
tqdm tqdm.pandas() ImportError: cannot import 'PanelGroupBy'
should be fixed in tqdm>=4.23.4 When using tqdm v4.23.3 and pandas v0.23.0 I get this error: It look...
terminal Terminal gets extremely sluggish after a day of use
ThrottledFunc<> leaks DispatcherTimer instances in two spots: TerminalControl!<lambda_8050e662c890fd...
ranger image preview feature not work in OSX
I found a way to make it work ISSUE TYPE Bug report RUNTIME ENVIRONMENT Operating system and version...
xterm.js How to use with "colors" lib?
@Tyriar ok I figured it out. Chalk is doing some auto detection to see what it should support ...
ConEmu sometimes ssh crashes when using vi
I got the same problem in a ConEmu tab Doing the same SSH from a new bash window worked as expected ...
terminal Documentation: terminal uses ; for separating subcommands
Let's be honest: I never saw the spec until now but this is hard to use (from PowerShell) ...
terminal Context Menu -> Open in Windows Terminal -> "The server threw an exception"
Right now we've committed the fix to main We're working on a couple other hot bugs right now and sho...
terminal Ctrl arrow keys don't behave as expected
For what it's worth if you have an .inputrc file in your home directory then the default /etc/inputr...
tqdm Wrong output in Windows console
That's partial unicode support You can probably fix it with tqdm(... ascii=True) ...
ConEmu Scroll wheel does not work in tmux in WSL
@Maximus5 It seems that the culprit here is the set -s escape-time 0 in .tmux.conf! escape-time time...
cloudcmd CloudCMD interface messed up
@coderaiser So what :)? You can always bind to any other port Since the last few weeks my CloudCMD d...
terminal Font in WSL Console window changes to Raster Fonts when Running a powershell.exe command with Consolas font
I seem to have fixed this by going to the registry and changing FaceName to the font used in WSL Con...
terminal Make Quake mode work with a German keyboard layout
@zadjii-msft noticed that the key below the Escape key apparently almost always maps to the scan cod...
terminal Bug: resizing doesn't work properly in Windows Terminal
If I set historySize : 90000 resizing will be broken vs historySize : 9000 it will work fine ...
upterm Using zshrc but "nvm" command not found
@drew-gross Could you expound on this? What features does nvm use that clash with how Upterm works? ...
ngx admin No PostCSS Config found with build:prod
Or you can create a file named postcss.config.js in root directory Just leave it empty or write the ...
strapi 👉 Question: What are the main pain points you have using Strapi? (Episode 3)
Pain point Issue: No TypeScript support Context: I know it has been mentioned as something the team ...
grafana HTTP Error Bad Gateway when using prometheus
I still face this error after explicitly writing the URL (in my case it was http://localhost:9090) ...
strapi New project fails to connect to database
I had the same issue with 3.0.0-alpha.10 I ran strapi new project-name then when it prompts to enter...
strapi Refresh JWT route
This is quite important for my app So I implement it by extending plugin (for temporary use) Here's ...
ngx admin Add JWT automatically for every HTTP request
FYI if you are using this solution check out my other reply: #1375 (comment) I couldn't get this to ...
mozaik Could not proxy request /config from localhost:3000 to http://localhost:5000
I think the solution to this is to run node server.js instead of npm start I'm trying to run the moz...
netdata Uninstall netdata?
I just removed it from some of my stuff (for now!) - Below paths are based on the defaults used to i...