You are not logged in.
Pages: 1
I get this error:
Konsole is unable to open a PTY (pseudo teletype). It is likely that this is due to an incorrect configuration of the PTY devices. Konsole needs to have read/write access to the PTY devices.
Offline
Please specify, what way did you compile Geany ?
We have successfully tested Geany compilation the standard Debian way:
$ sudo apt-get build-dep geany
$ apt-get -b source geany
Compiled Geany binary launched and worked fine here.
Offline
I have the same problem too. When I tried to compile a java source file with geany, it displays the same error too.
FYI, I'm using Q4OS Trinity 32 bit with openjdk 17.0.9 in my system.
Offline
@david_siburian, @Andresser17
Please post more detailed info, so we could reproduce the issue. How did you proceed exactly ?
Offline
Okay, here is the steps I've done so far:
1. Open geany and create a java source file(for example, a simple HelloWorld.java file).
2. Save it on anywhere else
3. Click the "Compile the current file" icon in the toolbar.
4. Wait a moment, then the "Compilation finished successfully" message appeared in the compiler section inside message window.
5. Click the "Run or view the current file" icon in the toolbar.
6. A new Konsole window appears but there is an error message saying "Konsole is unable to open a PTY(pseudo teletype). It is likely that this is due to an incorrect configuration of the PTY devices. Konsole needs to have read/write access to the PTY devices.".
I don't know why such that error message appears when I'm expecting the result will be an execution of such java class file(HelloWorld.class file) inside Konsole. I was forced to switch to another terminal such as xterm and when I repeated the same steps again it works on xterm. Why such that thing is happened? Is there a kind of bug in Konsole? And how do I resolve this?
Last edited by david_siburian (2024-04-28 10:30)
Offline
Pages: 1