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:

export PYTHONIOENCODING=utf8

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

Other Answers:

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

11
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 ...
11
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...
6
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. ...
4
xmake *BSD as a supported platform?
@RussellHaley @tomekw I have supported freebsd now We can install xmake on freebsd After the new ver...
3
compiler explorer bytes support for rust
You can get a tarball of the repo at the time of uploading from https://crates.io/api/v1/crates/{cra...
574
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...
264
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...
92
terminal Guide for build and installation
This information should be included in the Building the Code section of the README file. ...
85
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...
70
terminal Move the solution to VS2019 and v142 toolset
As mentioned in README (also related to #534) If you're running VS2019 ...
47
tqdm How to update single progress bar in multiprocessing map()
from https://stackoverflow.com/questions/41920124/multiprocessing-use-tqdm-to-display-a-progress-bar...
43
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...
42
ConEmu Arrow keys not working in Bash for Windows
@ErrantErinaceinae Are you kidding? Months??? The issue was created four days ago! This is absolutel...
42
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...
37
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...
37
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...
24
terminal Alt arrow keys do nothing; key unbinding broken?
This behavior is due to #3585 Proper expected behavior is restored with the following: ...
23
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...
19
.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...
18
terminal Vim Cursor shape stays underscore. Not able to change it
@tuyenpm9 that's no $PS1 that's a %PROMPT% setting in CMD: https://github.com/zadjii/keep/blob/maste...
17
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...
17
terminal It is hard to find Microsoft.VCLibs.140.00.UWPDesktop
@atom0s Thanks for the info The store.rg-adguard.net seemed a bit shady to me but I can confirm that...
17
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 ...
17
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...
16
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...
16
terminal How Do I Build it to Begin With?
Steps: Follow #449 (https://github.com/microsoft/Terminal/pull/449/files) If using VS2019 open the p...
14
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...
14
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...
13
terminal Terminal gets extremely sluggish after a day of use
ThrottledFunc<> leaks DispatcherTimer instances in two spots: TerminalControl!<lambda_8050e662c890fd...
13
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...
13
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 ...
12
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 ...
12
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) ...
12
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...
11
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...
10
tqdm Wrong output in Windows console
That's partial unicode support You can probably fix it with tqdm(... ascii=True) ...
8
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...
4
cloudcmd CloudCMD interface messed up
@coderaiser So what :)? You can always bind to any other port Since the last few weeks my CloudCMD d...
4
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...
3
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...
3
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 ...
3
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? ...
288
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 ...
96
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 ...
95
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) ...
61
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...
48
strapi Refresh JWT route
This is quite important for my app So I implement it by extending plugin (for temporary use) Here's ...
39
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 ...
37
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...
36
netdata Uninstall netdata?
I just removed it from some of my stuff (for now!) - Below paths are based on the defaults used to i...