termux-packages
termux-packages copied to clipboard
Byobu does not load upon termux reset
Byobu does not load, some thing about some python packages not loaded from the byobu installation.
Also, termux returns a "declare X =
Hi! Can you give more exact information by copying the byobu error message?
Abou the .bashrc
file - that file is not provided by Termux, so you need to look over what outputs that in your file.
The .bashrc is pretty standard, except for some custom aliases, but those are not outputted, only the 'export env_name=path'. Beyond that there is a custom color palettes which are supported by the ubuntu terminal, but they are not supported in termux somehow - I tried installing termux:styling, but the colors are still not supported.
/data/data/com.termux/files/usr/bin/byobu: 49: /data/data/com.termux/files/usr/bin/byobu: locale: not found /data/data/com.termux/files/usr/bin/byobu-select-session: 24: exec: /data/data/com.termux/files/usr/bin/byobu/include/select-session.py: not found
This only happens when termux is closed and reopened without closing termux by hold a push on the screen and closing it by killing the process from termux itself.
- Wait, byobu shows up anyway even though the errors shows up. Weird.
-
- Edit: byobu shows some times, and the errors show up some times.
Can you try to install python by running pkg install python
- does that fix the problem?
Perhaps byobu
should depend on python
so that is installed as a dependency (I've never used byobu myself)?
I - um - Python is not included? - Yeah I will see, althouh it suddenly starts after emacs or for some other reason after some time. Maybe I will write some shell script functions and aliases for tmux in the future though. It sure does 'just work', I just have to get familiar with it and the programs for my usual terminal environment. - If not emacs as a terminal emulator.
- Maybe thye issue should be closed, but I will leave it open because the issue just dissapears for some reason.
Might be related. I'm getting this error upon trying to modify it's configuration:
┌[u0_a32]-(~)
└> byobu-config
ERROR: Could not import the python snack module
┌[u0_a32]-(~)
└>
Running export LD_LIBRARY_PATH=/data/data/com.termux/files/usr/lib
solves this issue for me.
Edit: I had also ran pkg install python
, I'm not sure if that's essential.
This issue/PR has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Might be related. I'm getting this error upon trying to modify it's configuration:
┌[u0_a32]-(~) └> byobu-config ERROR: Could not import the python snack module ┌[u0_a32]-(~) └>
I have this error as well