termux-packages icon indicating copy to clipboard operation
termux-packages copied to clipboard

Byobu does not load upon termux reset

Open pressure679 opened this issue 7 years ago • 8 comments

Byobu does not load, some thing about some python packages not loaded from the byobu installation. Also, termux returns a "declare X =" which seems like environment variable exports from the .bashrc file.

pressure679 avatar Sep 19 '17 01:09 pressure679

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.

fornwall avatar Sep 19 '17 23:09 fornwall

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.

pressure679 avatar Sep 20 '17 00:09 pressure679

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)?

fornwall avatar Sep 20 '17 18:09 fornwall

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.

pressure679 avatar Sep 21 '17 00:09 pressure679

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]-(~)
└>

ghost avatar Aug 30 '18 15:08 ghost

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.

78bash avatar Jan 23 '19 14:01 78bash

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.

stale[bot] avatar Nov 18 '21 20:11 stale[bot]

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

olonas avatar Nov 22 '23 11:11 olonas