Comment 6 for bug 1286249

Revision history for this message
In , lnie (lnie-redhat-bugs) wrote :

Description of problem:
1 try to remove time in byobu-config
2 choose <Apply>
3 push the Enter button

Version-Release number of selected component:
byobu-5.69-2.fc20

Additional info:
reporter: libreport-2.1.12
cmdline: python /usr/libexec/byobu/include/config.py
executable: /usr/libexec/byobu/include/config.py
kernel: 3.11.10-301.fc20.x86_64
runlevel: N 5
type: Python
uid: 0

Truncated backtrace:
config.py:215:writestatus:IOError: [Errno 2] 没有那个文件或目录: '/root/.byobu/status'

Traceback (most recent call last):
  File "/usr/libexec/byobu/include/config.py", line 385, in <module>
    main()
  File "/usr/libexec/byobu/include/config.py", line 374, in main
    tag = togglestatus(snackScreen, size)
  File "/usr/libexec/byobu/include/config.py", line 248, in togglestatus
    writestatus(itemlist)
  File "/usr/libexec/byobu/include/config.py", line 215, in writestatus
    f = open(path, "r")
IOError: [Errno 2] 没有那个文件或目录: '/root/.byobu/status'

Local variables in innermost frame:
i: [0, 'wifi_quality']
path: '/root/.byobu/status'
status: {'ec2_cost': 0, 'battery': 0, 'cpu_count': 1, 'services': 0, 'session': 0, 'entropy': 0, 'logo': 1, 'disk': 0, 'uptime': 1, 'cpu_freq': 1, 'disk_io': 0, 'arch': 0, 'hostname': 0, 'custom': 0, 'swap': 0, 'memory': 1, 'apport': 0, 'mail': 0, 'wifi_quality': 0, 'distro': 0, 'load_average': 1, 'raid': 1, 'users': 0, 'updates_available': 1, 'reboot_required': 1, 'date': 0, 'ip_address': 0, 'network': 0, 'processes': 0, 'time_utc': 0, 'cpu_temp': 0, 'fan_speed': 0, 'rcs_cost': 0, 'time': 1, 'release': 1, 'whoami': 0}
key: 'tmux_left'
items: [[0, 'apport'], [0, 'arch'], [0, 'battery'], [1, 'cpu_count'], [1, 'cpu_freq'], [0, 'cpu_temp'], [0, 'custom'], [0, 'date'], [0, 'disk'], [0, 'disk_io'], [0, 'distro'], [0, 'ec2_cost'], [0, 'entropy'], [0, 'fan_speed'], [0, 'hostname'], [0, 'ip_address'], [1, 'load_average'], [1, 'logo'], [0, 'mail'], [1, 'memory'], [0, 'network'], [0, 'processes'], [1, 'raid'], [0, 'rcs_cost'], [1, 'reboot_required'], [1, 'release'], [0, 'services'], [0, 'session'], [0, 'swap'], [1, 'time'], [0, 'time_utc'], [1, 'updates_available'], [1, 'uptime'], [0, 'users'], [0, 'whoami'], [0, 'wifi_quality']]