Setting output to another pts gives error on Ubuntu 20.04
See original GitHub issueHi,
first, thanks for your really helpful project, I love and use it a lot.
Usually I use manjaro for my daily work, but at the moment I am forced to use WSL2 with Ubuntu 20.04 on my company laptop.
When trying to set the output to another pts, I get the following error:
Cannot write the dashboard
Traceback (most recent call last):
File "<string>", line 504, in render
TypeError: write() argument 1 must be unicode, not str
every time the dashboard gets refreshed.
I also tried it on another PC with native kubuntu 20.04.
I do the following with gdb-dashboard v0.13.0 from git:
- open a new terminal with xterm, get the number with tty -> e.g.
/dev/pts/6
- start gdb session for arm (arm-none-eabi-gdb)
dashboard variables -output /dev/pts/6
- Seems to be ok
step
- The error occurs and nothing is put on the terminal
It does not matter if I set the output for variables or anything else. I tried xterm and konsole.
Please tell me if you need more information
Issue Analytics
- State:
- Created 2 years ago
- Comments:10 (4 by maintainers)
Top Results From Across the Web
Pseudo Terminal Error :: "mesg: cannot open /dev/pts/2
On my Ubuntu 20.04.5 machine, I have a Perl script running under userA 's account. The script issues this command:
Read more >DebuggingPrintingProblems - Ubuntu Wiki
The output shows whether the printers get found by CUPS or system-config-printer and with which device URIs and protocols. Run the command
Read more >Getting input/output error running anything on remote desktop
If those methods don't help, you can try this. sudo apt-get install xfce4-terminal sudo update-alternatives --config x-terminal-emulator.
Read more >How to redirect output of systemd service to a file
out for Ubuntu 18.04 and 20.04. – Ted Cahall. Aug 31, 2020 at 1:16. Wrong about ...
Read more >How to write the output into the file in Linux - nixCraft
How do I save terminal output to a file? A command can receive input from ... In other words, the contents of the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The bin with python-support is called
arm-none-eabi-gdb-py
For me, the py2-version works as well. Thank you for the fix. Nevertheless I will stick to the py3-version of GDB.