Config not opening

Bug #1592689 reported by Chillar Anand
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
byobu
Confirmed
High
Unassigned

Bug Description

When `F9` is pressed, byobu fails to open config window.

I thought there is something wrong with config files, so i removed `.byobu` directory, purged byobu and reinstalled. Still problem is not solved.

→ byobu -v
byobu version 5.108
tmux 2.1

Revision history for this message
Dustin Kirkland  (kirkland) wrote :

I've seen this somewhere too...

Changed in byobu:
importance: Undecided → High
status: New → Confirmed
Revision history for this message
Dustin Kirkland  (kirkland) wrote :

I suspect a python problem.

Revision history for this message
Alex Jepson (jepsonalex) wrote :

Hey, new to Linux and whatnot. Using byobu with screen and am having the same issue launching the config via either f9 or byobu-config (and trying to run the /usr/lib/byobu/include/config.py in python). I have attached the crash log--if there is a better way to post this, please let me know as I want to provide information but also conform to forum and bug report methodologies. Thanks!

Revision history for this message
Chillar Anand (chillaranand) wrote :

Any updates on this?

Revision history for this message
Phil Dobbin (bukowskiscat) wrote :

I'm seeing this too.

Byobu 5.106 screen 4.03.01 Ubuntu 16.04

Revision history for this message
Phil Dobbin (bukowskiscat) wrote :

I've upgraded to 5.122 & F9 still doesn't work. It no longer gives an error message just the screen blinks momentarily.

I've attached the apport.log showing some entries pertaining to the problem. Hopefully this will help resolve this.

I'm running 16.0.3 Unity

[update]
It seems there's a problem attaching files so if you need it, let me know & I'll email it to you

Revision history for this message
Phil Dobbin (bukowskiscat) wrote :

[update]

I was using byobu with screen 4.03.01. However if I launch byobu with a tmux backend F9 works perfectly.

So it seems the problem lies with screen?

Revision history for this message
YUKI Hiroshi (piro-or) wrote :

I also saw this problem on my Ubuntu 16.04LTS. I'm using pyenv and "python --version" reports 3.5.1.

On my case, "byobu-config" command finishes immediately and it reports an error message: "ERROR: Could not import the python snack module". After I did "sudo apt install python-newt" the problem disappeared, so it looks an issue of package's dependency information.

Revision history for this message
YUKI Hiroshi (piro-or) wrote :

Sorry, my case at previous comment was already tracked on https://bugs.launchpad.net/ubuntu/+source/byobu/+bug/1770090

Revision history for this message
Sam (dr34mer) wrote :

I am facing this, I went debugging a bit deeper, adding my findings here in a hope that it will help others until the bug is fixed.

I found that the error complained about not able to find file /usr/lib/byobu/include/config.py which does exist. When I tried executing it, it turned out to be 'bad interpreter' (#!/usr/bin/python). I updated it to use my env,

#!/usr/bin/env python

Then I saw error about a library missing 'snack', I installed it (actually newt conda-forge package since my env is a conda one, not sure if only pip-installing snack would work. I see it working now.

Revision history for this message
Sam (dr34mer) wrote :

Update: my version is 5.125

byobu version 5.125
tmux 2.6

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.