-
Notifications
You must be signed in to change notification settings - Fork 468
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CherryTree Codebox execution with Internal terminal not working. #2199
Comments
Hello @Fran-P-github and happy new year to you. |
Hello @giuspen I installed cherrytree following the Ubuntu instructions in the readme file, I copied all the commands to install the dependencies and documentation, and compile and run cherrytree. I'm not really sure which type of installation that would be called. |
Ok. Could you try to download and run the AppImage from https://www.giuspen.net/cherrytree/#downl and report if it behaves the same? |
Sure, I downloaded the AppImage, executed it and it behaved exactly the same. |
Could you temporarily restore the default shell in your system (I suppose dash or bash) and try again? I will also try zsh to see if that is causing the issue but I'm having some connectivity issues at the moment |
I just changed the default shell to bash and now the internal terminal works perfectly! The reset button also works. |
Ok great I will push something later or tomorrow that I would like you to try after restoring your favourite shell zsh. I'll let you know when I push the change |
Sure @giuspen, thank you so much for your time and help. |
Thanks to you for reporting @Fran-P-github . I pushed a commit that fixed the issue for me after I also tried to use zsh and the integrated terminal wasn't working anymore (it didn't hang for me though). |
General information
OS: Ubuntu 20.04.5 LTS x86_64
Kernel: 5.15.0-53-generic
Shell: zsh 5.8
Terminal: gnome-terminal
XTerm: XTerm(353)
CherryTree: 0.99.53
Issue
Hello, I'm new using CherryTree, I just downloaded it yesterday and I wanted to test it's features, I tried to test the code box and see if it would work. When I tried to run a simple
Hello world!
program in Python3 with the internal terminal it seems that somehow the code hangs on and I can't see any output (note that I tested it without the internal terminal option and it worked perfectly), I just see the command that is put into the Xterm terminal, which is the default one:python3 <tmp_src_path>
. Just in case, in the preferences section I also have the default command which is:xterm -hold -geometry 180x45 -e "<command>" &
I also noticed that when I run the program with the internal terminal and I don't see any output, if I press the reset button the program tries to kill a process that apparently doesn't exist, my computer starts doing noise and some programs don't work properly, for example "Screen" which is a terminal emulator / multiplexer just like XTerm.
Screenshots
External terminal (Works)
Internal terminal (Doesn't work)
At this point I'm honestly clueless of what could cause the error and how could I fix this, if I'm being dumb and missing something silly I'm really sorry for the waste of time, any suggestions / ideas / instructions to fix this error would be appreciated.
Thanks in advance and happy new year.
The text was updated successfully, but these errors were encountered: