Re: [i3] Error: status_command process exited unexpectedly (exit 1)

2015-10-15 Thread Michael Stapelberg
Could you open an issue for this at https://github.com/i3/i3 please? We’d
like to keep all bugs in one place.

Also, please try changing your login shell from fish to bash before
reporting, just so that you know whether fish is to blame here. We’ve
certainly had trouble with fish before.

On Wed, Oct 14, 2015 at 11:44 PM, Taro Murao  wrote:

> Hello,
>
> when I start i3status with i3 in bar {}, I get the error message:
> Error:
> status_command process exited unexpectedly (exit 1). Can anyone help?
>
> I followed the debugging instruction on
> http://i3wm.org/docs/debugging.html.
> When the bar is displayed with
>
> $ for c in $(i3-msg -t get_bar_config | python -c \ 'import
> json,sys;print("\n".join(json.load(sys.stdin)))'); do \ (i3bar
> --bar_id=$c
> >i3bar.$c.log 2>&1) & \ done;
>
> The bar displays without error. I use Fish shell, Arch Linux and KDE.
> Below
> is the log I obtained with "verbose yes", but the log probably
> contains no
> error messages because I don't have the error when I restart i3bar
> this way.
>
> i3status: trying to auto-detect output_format setting
> i3status: auto-detected "i3bar"
> [libi3] libi3/font.c Using Pango font monospace, size 8
> [libi3] libi3/font.c X11 root window dictates 96.094581 DPI
> [i3bar/src/xcb.c:1216] Calculated font height: 13
> [i3bar/src/xcb.c:1342] Setting bar_fg = #FF as
> _NET_SYSTEM_TRAY_COLORS
> [i3bar/src/xcb.c:985] received an xkb event
> [i3bar/src/ipc.c:197] Got data!
> [i3bar/src/ipc.c:63] Parsing outputs JSON...
>
> - Ignored:
> [i3bar/src/ipc.c:65] Reconfiguring windows...
> [i3bar/src/xcb.c:1488] Re-allocating statusline buffer,
> statusline_width =
> 0, root_screen->width_in_pixels = 1366
> [i3bar/src/xcb.c:1583] Destroying window for output VIRTUAL1
> [i3bar/src/xcb.c:1583] Destroying window for output VGA1
> [i3bar/src/xcb.c:1583] Destroying window for output HDMI3
> [i3bar/src/xcb.c:1583] Destroying window for output HDMI2
> [i3bar/src/xcb.c:1583] Destroying window for output HDMI1
> [i3bar/src/xcb.c:1583] Destroying window for output DP3
> [i3bar/src/xcb.c:1583] Destroying window for output DP2
> [i3bar/src/xcb.c:1583] Destroying window for output DP1
> [i3bar/src/xcb.c:1588] Creating window for output LVDS1
> [i3bar/src/xcb.c:1259] Initializing system tray functionality
> [i3bar/src/xcb.c:1342] Setting bar_fg = #FF as
> _NET_SYSTEM_TRAY_COLORS
> [i3bar/src/xcb.c:1793] Drawing bars...
> [i3bar/src/xcb.c:1801] Output VIRTUAL1 inactive, skipping...
> [i3bar/src/xcb.c:1801] Output VGA1 inactive, skipping...
> [i3bar/src/xcb.c:1801] Output HDMI3 inactive, skipping...
> [i3bar/src/xcb.c:1801] Output HDMI2 inactive, skipping...
> [i3bar/src/xcb.c:1801] Output HDMI1 inactive, skipping...
> [i3bar/src/xcb.c:1801] Output DP3 inactive, skipping...
> [i3bar/src/xcb.c:1801] Output DP2 inactive, skipping...
> [i3bar/src/xcb.c:1801] Output DP1 inactive, skipping...
> [i3bar/src/ipc.c:197] Got data!
> [i3bar/src/ipc.c:54] Got subscribe reply: {"success":true}
> [i3bar/src/ipc.c:197] Got data!
> [i3bar/src/ipc.c:43] Got workspace data!
> [i3bar/src/workspaces.c:142] Got workspace canonical: 1, name: '1',
> name_width: 7, glyphs: 1
> [i3bar/src/workspaces.c:142] Got workspace canonical: 2, name: '2',
> name_width: 7, glyphs: 1
> [i3bar/src/xcb.c:1793] Drawing bars...
> [i3bar/src/xcb.c:1801] Output VIRTUAL1 inactive, skipping...
> [i3bar/src/xcb.c:1801] Output VGA1 inactive, skipping...
> [i3bar/src/xcb.c:1801] Output HDMI3 inactive, skipping...
> [i3bar/src/xcb.c:1801] Output HDMI2 inactive, skipping...
> [i3bar/src/xcb.c:1801] Output HDMI1 inactive, skipping...
> [i3bar/src/xcb.c:1801] Output DP3 inactive, skipping...
> [i3bar/src/xcb.c:1801] Output DP2 inactive, skipping...
> [i3bar/src/xcb.c:1801] Output DP1 inactive, skipping...
> [i3bar/src/xcb.c:1825] Drawing button for WS 1 at x = 0, len = 7
> [i3bar/src/xcb.c:1825] Drawing button for WS 2 at x = 18, len = 7
> [i3bar/src/child.c:420] Detecting input type based on buffer
> *{"version":1}
> [
> *
> [i3bar/src/xcb.c:1793] Drawing bars...
> [i3bar/src/xcb.c:1801] Output VIRTUAL1 inactive, skipping...
> [i3bar/src/xcb.c:1801] Output VGA1 inactive, skipping...
> [i3bar/src/xcb.c:1801] Output HDMI3 inactive, skipping...
> [i3bar/src/xcb.c:1801] Output HDMI2 inactive, skipping...
> [i3bar/src/xcb.c:1801] Output HDMI1 inactive, skipping...
> [i3bar/src/xcb.c:1801] Output DP3 inactive, skipping...
> [i3bar/src/xcb.c:1801] Output DP2 inactive, skipping...
> [i3bar/src/xcb.c:1801] Output DP1 inactive, skipping...
> [i3bar/src/xcb.c:1825] Drawing button for WS 1 at x = 0, len = 7
> [i3bar/src/xcb.c:1825] Drawing button for WS 2 at x = 18, len = 7
> [i3bar/src/child.c:297] copying statusline_buffer t

[i3] Error: status_command process exited unexpectedly (exit 1)

2015-10-14 Thread Taro Murao
Hello,

when I start i3status with i3 in bar {}, I get the error message: Error:
status_command process exited unexpectedly (exit 1). Can anyone help?

I followed the debugging instruction on
http://i3wm.org/docs/debugging.html.
When the bar is displayed with

$ for c in $(i3-msg -t get_bar_config | python -c \ 'import
json,sys;print("\n".join(json.load(sys.stdin)))'); do \ (i3bar
--bar_id=$c
>i3bar.$c.log 2>&1) & \ done;

The bar displays without error. I use Fish shell, Arch Linux and KDE.
Below
is the log I obtained with "verbose yes", but the log probably contains
no
error messages because I don't have the error when I restart i3bar this
way.

i3status: trying to auto-detect output_format setting
i3status: auto-detected "i3bar"
[libi3] libi3/font.c Using Pango font monospace, size 8
[libi3] libi3/font.c X11 root window dictates 96.094581 DPI
[i3bar/src/xcb.c:1216] Calculated font height: 13
[i3bar/src/xcb.c:1342] Setting bar_fg = #FF as
_NET_SYSTEM_TRAY_COLORS
[i3bar/src/xcb.c:985] received an xkb event
[i3bar/src/ipc.c:197] Got data!
[i3bar/src/ipc.c:63] Parsing outputs JSON...

- Ignored:
[i3bar/src/ipc.c:65] Reconfiguring windows...
[i3bar/src/xcb.c:1488] Re-allocating statusline buffer,
statusline_width =
0, root_screen->width_in_pixels = 1366
[i3bar/src/xcb.c:1583] Destroying window for output VIRTUAL1
[i3bar/src/xcb.c:1583] Destroying window for output VGA1
[i3bar/src/xcb.c:1583] Destroying window for output HDMI3
[i3bar/src/xcb.c:1583] Destroying window for output HDMI2
[i3bar/src/xcb.c:1583] Destroying window for output HDMI1
[i3bar/src/xcb.c:1583] Destroying window for output DP3
[i3bar/src/xcb.c:1583] Destroying window for output DP2
[i3bar/src/xcb.c:1583] Destroying window for output DP1
[i3bar/src/xcb.c:1588] Creating window for output LVDS1
[i3bar/src/xcb.c:1259] Initializing system tray functionality
[i3bar/src/xcb.c:1342] Setting bar_fg = #FF as
_NET_SYSTEM_TRAY_COLORS
[i3bar/src/xcb.c:1793] Drawing bars...
[i3bar/src/xcb.c:1801] Output VIRTUAL1 inactive, skipping...
[i3bar/src/xcb.c:1801] Output VGA1 inactive, skipping...
[i3bar/src/xcb.c:1801] Output HDMI3 inactive, skipping...
[i3bar/src/xcb.c:1801] Output HDMI2 inactive, skipping...
[i3bar/src/xcb.c:1801] Output HDMI1 inactive, skipping...
[i3bar/src/xcb.c:1801] Output DP3 inactive, skipping...
[i3bar/src/xcb.c:1801] Output DP2 inactive, skipping...
[i3bar/src/xcb.c:1801] Output DP1 inactive, skipping...
[i3bar/src/ipc.c:197] Got data!
[i3bar/src/ipc.c:54] Got subscribe reply: {"success":true}
[i3bar/src/ipc.c:197] Got data!
[i3bar/src/ipc.c:43] Got workspace data!
[i3bar/src/workspaces.c:142] Got workspace canonical: 1, name: '1',
name_width: 7, glyphs: 1
[i3bar/src/workspaces.c:142] Got workspace canonical: 2, name: '2',
name_width: 7, glyphs: 1
[i3bar/src/xcb.c:1793] Drawing bars...
[i3bar/src/xcb.c:1801] Output VIRTUAL1 inactive, skipping...
[i3bar/src/xcb.c:1801] Output VGA1 inactive, skipping...
[i3bar/src/xcb.c:1801] Output HDMI3 inactive, skipping...
[i3bar/src/xcb.c:1801] Output HDMI2 inactive, skipping...
[i3bar/src/xcb.c:1801] Output HDMI1 inactive, skipping...
[i3bar/src/xcb.c:1801] Output DP3 inactive, skipping...
[i3bar/src/xcb.c:1801] Output DP2 inactive, skipping...
[i3bar/src/xcb.c:1801] Output DP1 inactive, skipping...
[i3bar/src/xcb.c:1825] Drawing button for WS 1 at x = 0, len = 7
[i3bar/src/xcb.c:1825] Drawing button for WS 2 at x = 18, len = 7
[i3bar/src/child.c:420] Detecting input type based on buffer
*{"version":1}
[
*
[i3bar/src/xcb.c:1793] Drawing bars...
[i3bar/src/xcb.c:1801] Output VIRTUAL1 inactive, skipping...
[i3bar/src/xcb.c:1801] Output VGA1 inactive, skipping...
[i3bar/src/xcb.c:1801] Output HDMI3 inactive, skipping...
[i3bar/src/xcb.c:1801] Output HDMI2 inactive, skipping...
[i3bar/src/xcb.c:1801] Output HDMI1 inactive, skipping...
[i3bar/src/xcb.c:1801] Output DP3 inactive, skipping...
[i3bar/src/xcb.c:1801] Output DP2 inactive, skipping...
[i3bar/src/xcb.c:1801] Output DP1 inactive, skipping...
[i3bar/src/xcb.c:1825] Drawing button for WS 1 at x = 0, len = 7
[i3bar/src/xcb.c:1825] Drawing button for WS 2 at x = 18, len = 7
[i3bar/src/child.c:297] copying statusline_buffer to statusline_head
[i3bar/src/child.c:301] dumping statusline:
[i3bar/src/child.c:304] full_text =
2001:4c50:d4d:1200:a288:b4ff:fe9d:be44
[i3bar/src/child.c:305] short_text = (null)
[i3bar/src/child.c:306] color = #00FF00
[i3bar/src/child.c:304] full_text = 148.6 GiB
[i3bar/src/child.c:305] short_text = (null)
[i3bar/src/child.c:306] color = (null)
[i3bar/src/child.c:304] full_text = DHCP: no
[i3bar/src/child.c:305] short_text = (null)
[i3bar/src/child.c:306] color = #FF
[i3