Code Monkey home page Code Monkey logo

Comments (4)

elParaguayo avatar elParaguayo commented on June 18, 2024

Thanks for the report.

The EOF error is triggered by dbus-next so the problem is happening before the widget is trying to do anything with that data.

Is there a particular track that this is happening on?

from qtile.

Cyber-Syntax avatar Cyber-Syntax commented on June 18, 2024

Thanks for the report.

The EOF error is triggered by dbus-next so the problem is happening before the widget is trying to do anything with that data.

Is there a particular track that this is happening on?

The pleasure is mine!

I don't remember particular track but I am assume it's happens with specific characters(Turkish, German etc.). In addition, I was using nuclear music player and youtube music.

As well, I am adding the widget config here for you to correct it if I made a mistake. I am not sure about width setup.

                widget.Mpris2(
                fmt = '{}',
                format = '{xesam:title} - {xesam:artist}',
                foreground = colors[7],
                paused_text = ' {track}',
                playing_text = ' {track}',
                scroll_fixed_width = False,
                max_chars = 30,
                separator = ', ',
                stopped_text = '',
                width=30,
                ),

from qtile.

elParaguayo avatar elParaguayo commented on June 18, 2024

I don't think this is an issue with your config as the EOFError is a dbus-next error.

Can you open a terminal and run busctl --user --match "type='signal',member='PropertiesChanged',path='/org/mpris/MediaPlayer2'" and then play whichever track is triggering the error and then paste the output here?

from qtile.

Cyber-Syntax avatar Cyber-Syntax commented on June 18, 2024

I encounter another error after waking up from suspend. I don't know is that related with mpris2 but wanted to inform you.

Log
2024-02-19 11:01:42,629 ERROR libqtile core.py:_xpoll():L370 Got an exception in poll loop
Traceback (most recent call last):
  File "/usr/lib64/python3.12/site-packages/libqtile/backend/x11/core.py", line 345, in _xpoll
    self.handle_event(event)
  File "/usr/lib64/python3.12/site-packages/libqtile/backend/x11/core.py", line 312, in handle_event
    ret = target(event)
          ^^^^^^^^^^^^^
  File "/usr/lib64/python3.12/site-packages/libqtile/backend/x11/core.py", line 772, in handle_MapRequest
    win.change_layer()
  File "/usr/lib64/python3.12/site-packages/libqtile/backend/x11/window.py", line 1044, in change_layer
    windows.sort(key=lambda w: stack.index(w[0].wid))
  File "/usr/lib64/python3.12/site-packages/libqtile/backend/x11/window.py", line 1044, in <lambda>
    windows.sort(key=lambda w: stack.index(w[0].wid))
                               ^^^^^^^^^^^^^^^^^^^^^
ValueError: 50331651 is not in list
2024-02-19 11:41:59,630 ERROR libqtile loop.py:_handle_exception():L62 Exception in event loop:
Traceback (most recent call last):
  File "/usr/lib/python3.12/site-packages/xcffib/__init__.py", line 579, in wrapper
    return f(*args)
           ^^^^^^^^
  File "/usr/lib/python3.12/site-packages/xcffib/__init__.py", line 689, in request_check
    self._process_error(err)
  File "/usr/lib/python3.12/site-packages/xcffib/__init__.py", line 653, in _process_error
    self.invalid()
  File "/usr/lib/python3.12/site-packages/xcffib/__init__.py", line 567, in invalid
    raise ConnectionException(err)
xcffib.ConnectionException: xcb connection errors because of socket, pipe and other stream errors.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib64/python3.12/asyncio/events.py", line 84, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/lib64/python3.12/site-packages/libqtile/core/manager.py", line 937, in f
    func(*args)
  File "/usr/lib64/python3.12/site-packages/libqtile/bar.py", line 673, in _actual_draw
    i.draw()
  File "/usr/lib64/python3.12/site-packages/libqtile/widget/systray.py", line 260, in draw
    icon.place(xoffset, yoffset, icon.width, self.icon_size, 0, None)
  File "/usr/lib64/python3.12/site-packages/libqtile/backend/x11/window.py", line 915, in place
    self.paint_borders(bordercolor, borderwidth)
  File "/usr/lib64/python3.12/site-packages/libqtile/backend/x11/window.py", line 1176, in paint_borders
    self.window.paint_borders(self.depth, color, width, self.width, self.height)
  File "/usr/lib64/python3.12/site-packages/libqtile/backend/x11/window.py", line 422, in paint_borders
    self.set_property("_NET_FRAME_EXTENTS", [borderwidth] * 4)
  File "/usr/lib64/python3.12/site-packages/libqtile/backend/x11/window.py", line 358, in set_property
    ).check()
      ^^^^^^^
  File "/usr/lib/python3.12/site-packages/xcffib/__init__.py", line 337, in check
    self.conn.request_check(self.sequence)
  File "/usr/lib/python3.12/site-packages/xcffib/__init__.py", line 581, in wrapper
    self.invalid()
  File "/usr/lib/python3.12/site-packages/xcffib/__init__.py", line 567, in invalid
    raise ConnectionException(err)
xcffib.ConnectionException: xcb connection errors because of socket, pipe and other stream errors.
2024-02-19 11:41:59,637 WARNING libqtile core.py:_xpoll():L366 Shutting down due to disconnection from X server
2024-02-19 11:41:59,637 WARNING libqtile core.py:graceful_shutdown():L908 Server disconnected, couldn't close windows gracefully.
2024-02-19 11:41:59,637 ERROR libqtile base.py:_wrapper():L397 got exception from widget timer
Traceback (most recent call last):
  File "/usr/lib64/python3.12/site-packages/libqtile/widget/base.py", line 395, in _wrapper
    method(*method_args)
  File "/usr/lib64/python3.12/site-packages/libqtile/widget/base.py", line 787, in timer_setup
    update_interval = self.tick()
                      ^^^^^^^^^^^
  File "/usr/lib64/python3.12/site-packages/libqtile/widget/clock.py", line 79, in tick
    self.update(self.poll())
  File "/usr/lib64/python3.12/site-packages/libqtile/widget/base.py", line 761, in update
    self.draw()
  File "/usr/lib64/python3.12/site-packages/libqtile/widget/base.py", line 663, in draw
    self.drawer.draw(
  File "/usr/lib64/python3.12/site-packages/libqtile/backend/base/drawer.py", line 216, in draw
    self._draw(
  File "/usr/lib64/python3.12/site-packages/libqtile/backend/x11/drawer.py", line 194, in _draw
    self.qtile.core.conn.conn.core.CopyArea(
  File "/usr/lib/python3.12/site-packages/xcffib/xproto.py", line 3152, in CopyArea
    return self.send_request(62, buf, is_checked=is_checked)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/xcffib/__init__.py", line 389, in send_request
    seq = self.conn.send_request(flags, xcb_parts + 2, xcb_req)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/xcffib/__init__.py", line 577, in wrapper
    self.invalid()
  File "/usr/lib/python3.12/site-packages/xcffib/__init__.py", line 567, in invalid
    raise ConnectionException(err)
xcffib.ConnectionException: xcb connection errors because of socket, pipe and other stream errors.
2024-02-19 11:41:59,640 ERROR libqtile loop.py:_handle_exception():L62 Exception in event loop:
Traceback (most recent call last):
  File "/usr/lib64/python3.12/asyncio/events.py", line 84, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/lib64/python3.12/site-packages/libqtile/core/manager.py", line 956, in f
    self.core.flush()
  File "/usr/lib64/python3.12/site-packages/libqtile/backend/x11/core.py", line 896, in flush
    self.conn.flush()
  File "/usr/lib64/python3.12/site-packages/libqtile/backend/x11/xcbq.py", line 613, in flush
    return self.conn.flush()
           ^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/xcffib/__init__.py", line 577, in wrapper
    self.invalid()
  File "/usr/lib/python3.12/site-packages/xcffib/__init__.py", line 567, in invalid
    raise ConnectionException(err)
xcffib.ConnectionException: xcb connection errors because of socket, pipe and other stream errors.
2024-02-19 11:41:59,641 ERROR libqtile base.py:_wrapper():L397 got exception from widget timer
Traceback (most recent call last):
  File "/usr/lib64/python3.12/site-packages/libqtile/widget/base.py", line 395, in _wrapper
    method(*method_args)
  File "/usr/lib64/python3.12/site-packages/libqtile/widget/base.py", line 787, in timer_setup
    update_interval = self.tick()
                      ^^^^^^^^^^^
  File "/usr/lib64/python3.12/site-packages/libqtile/widget/clock.py", line 79, in tick
    self.update(self.poll())
  File "/usr/lib64/python3.12/site-packages/libqtile/widget/base.py", line 761, in update
    self.draw()
  File "/usr/lib64/python3.12/site-packages/libqtile/widget/base.py", line 663, in draw
    self.drawer.draw(
  File "/usr/lib64/python3.12/site-packages/libqtile/backend/base/drawer.py", line 216, in draw
    self._draw(
  File "/usr/lib64/python3.12/site-packages/libqtile/backend/x11/drawer.py", line 194, in _draw
    self.qtile.core.conn.conn.core.CopyArea(
  File "/usr/lib/python3.12/site-packages/xcffib/xproto.py", line 3152, in CopyArea
    return self.send_request(62, buf, is_checked=is_checked)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/xcffib/__init__.py", line 389, in send_request
    seq = self.conn.send_request(flags, xcb_parts + 2, xcb_req)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/xcffib/__init__.py", line 577, in wrapper
    self.invalid()
  File "/usr/lib/python3.12/site-packages/xcffib/__init__.py", line 567, in invalid
    raise ConnectionException(err)
xcffib.ConnectionException: xcb connection errors because of socket, pipe and other stream errors.
2024-02-19 11:41:59,642 ERROR libqtile loop.py:_handle_exception():L62 Exception in event loop:
Traceback (most recent call last):
  File "/usr/lib64/python3.12/asyncio/events.py", line 84, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/lib64/python3.12/site-packages/libqtile/core/manager.py", line 956, in f
    self.core.flush()
  File "/usr/lib64/python3.12/site-packages/libqtile/backend/x11/core.py", line 896, in flush
    self.conn.flush()
  File "/usr/lib64/python3.12/site-packages/libqtile/backend/x11/xcbq.py", line 613, in flush
    return self.conn.flush()
           ^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/xcffib/__init__.py", line 577, in wrapper
    self.invalid()
  File "/usr/lib/python3.12/site-packages/xcffib/__init__.py", line 567, in invalid
    raise ConnectionException(err)
xcffib.ConnectionException: xcb connection errors because of socket, pipe and other stream errors.
2024-02-19 11:41:59,642 ERROR libqtile base.py:_wrapper():L397 got exception from widget timer
Traceback (most recent call last):
  File "/usr/lib64/python3.12/site-packages/libqtile/widget/base.py", line 395, in _wrapper
    method(*method_args)
  File "/usr/lib64/python3.12/site-packages/libqtile/widget/base.py", line 787, in timer_setup
    update_interval = self.tick()
                      ^^^^^^^^^^^
  File "/usr/lib64/python3.12/site-packages/libqtile/widget/clock.py", line 79, in tick
    self.update(self.poll())
  File "/usr/lib64/python3.12/site-packages/libqtile/widget/base.py", line 761, in update
    self.draw()
  File "/usr/lib64/python3.12/site-packages/libqtile/widget/base.py", line 663, in draw
    self.drawer.draw(
  File "/usr/lib64/python3.12/site-packages/libqtile/backend/base/drawer.py", line 216, in draw
    self._draw(
  File "/usr/lib64/python3.12/site-packages/libqtile/backend/x11/drawer.py", line 194, in _draw
    self.qtile.core.conn.conn.core.CopyArea(
  File "/usr/lib/python3.12/site-packages/xcffib/xproto.py", line 3152, in CopyArea
    return self.send_request(62, buf, is_checked=is_checked)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/xcffib/__init__.py", line 389, in send_request
    seq = self.conn.send_request(flags, xcb_parts + 2, xcb_req)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/xcffib/__init__.py", line 577, in wrapper
    self.invalid()
  File "/usr/lib/python3.12/site-packages/xcffib/__init__.py", line 567, in invalid
    raise ConnectionException(err)
xcffib.ConnectionException: xcb connection errors because of socket, pipe and other stream errors.
2024-02-19 11:41:59,643 ERROR libqtile loop.py:_handle_exception():L62 Exception in event loop:
Traceback (most recent call last):
  File "/usr/lib64/python3.12/asyncio/events.py", line 84, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/lib64/python3.12/site-packages/libqtile/core/manager.py", line 956, in f
    self.core.flush()
  File "/usr/lib64/python3.12/site-packages/libqtile/backend/x11/core.py", line 896, in flush
    self.conn.flush()
  File "/usr/lib64/python3.12/site-packages/libqtile/backend/x11/xcbq.py", line 613, in flush
    return self.conn.flush()
           ^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/xcffib/__init__.py", line 577, in wrapper
    self.invalid()
  File "/usr/lib/python3.12/site-packages/xcffib/__init__.py", line 567, in invalid
    raise ConnectionException(err)
xcffib.ConnectionException: xcb connection errors because of socket, pipe and other stream errors.
2024-02-19 11:41:59,670 ERROR libqtile loop.py:_handle_exception():L62 Exception in event loop:
Traceback (most recent call last):
  File "/usr/lib64/python3.12/asyncio/events.py", line 84, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/lib64/python3.12/site-packages/libqtile/core/manager.py", line 956, in f
    self.core.flush()
  File "/usr/lib64/python3.12/site-packages/libqtile/backend/x11/core.py", line 896, in flush
    self.conn.flush()
  File "/usr/lib64/python3.12/site-packages/libqtile/backend/x11/xcbq.py", line 613, in flush
    return self.conn.flush()
           ^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/xcffib/__init__.py", line 577, in wrapper
    self.invalid()
  File "/usr/lib/python3.12/site-packages/xcffib/__init__.py", line 567, in invalid
    raise ConnectionException(err)
xcffib.ConnectionException: xcb connection errors because of socket, pipe and other stream errors.
2024-02-19 11:41:59,686 ERROR libqtile loop.py:_handle_exception():L62 Exception in event loop:
Traceback (most recent call last):
  File "/usr/lib64/python3.12/asyncio/events.py", line 84, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/lib64/python3.12/site-packages/libqtile/core/manager.py", line 956, in f
    self.core.flush()
  File "/usr/lib64/python3.12/site-packages/libqtile/backend/x11/core.py", line 896, in flush
    self.conn.flush()
  File "/usr/lib64/python3.12/site-packages/libqtile/backend/x11/xcbq.py", line 613, in flush
    return self.conn.flush()
           ^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/xcffib/__init__.py", line 577, in wrapper
    self.invalid()
  File "/usr/lib/python3.12/site-packages/xcffib/__init__.py", line 567, in invalid
    raise ConnectionException(err)
xcffib.ConnectionException: xcb connection errors because of socket, pipe and other stream errors.
2024-02-19 11:41:59,697 ERROR libqtile loop.py:_handle_exception():L62 Exception in event loop:
Traceback (most recent call last):
  File "/usr/lib64/python3.12/asyncio/events.py", line 84, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/lib64/python3.12/site-packages/libqtile/core/manager.py", line 956, in f
    self.core.flush()
  File "/usr/lib64/python3.12/site-packages/libqtile/backend/x11/core.py", line 896, in flush
    self.conn.flush()
  File "/usr/lib64/python3.12/site-packages/libqtile/backend/x11/xcbq.py", line 613, in flush
    return self.conn.flush()
           ^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/xcffib/__init__.py", line 577, in wrapper
    self.invalid()
  File "/usr/lib/python3.12/site-packages/xcffib/__init__.py", line 567, in invalid
    raise ConnectionException(err)
xcffib.ConnectionException: xcb connection errors because of socket, pipe and other stream errors.
2024-02-19 11:41:59,706 ERROR libqtile loop.py:_handle_exception():L62 Exception in event loop:
Traceback (most recent call last):
  File "/usr/lib64/python3.12/asyncio/events.py", line 84, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/lib64/python3.12/site-packages/libqtile/core/manager.py", line 956, in f
    self.core.flush()
  File "/usr/lib64/python3.12/site-packages/libqtile/backend/x11/core.py", line 896, in flush
    self.conn.flush()
  File "/usr/lib64/python3.12/site-packages/libqtile/backend/x11/xcbq.py", line 613, in flush
    return self.conn.flush()
           ^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/xcffib/__init__.py", line 577, in wrapper
    self.invalid()
  File "/usr/lib/python3.12/site-packages/xcffib/__init__.py", line 567, in invalid
    raise ConnectionException(err)
xcffib.ConnectionException: xcb connection errors because of socket, pipe and other stream errors.
2024-02-19 11:41:59,709 ERROR libqtile base.py:_wrapper():L397 got exception from widget timer
Traceback (most recent call last):
  File "/usr/lib64/python3.12/site-packages/libqtile/widget/base.py", line 395, in _wrapper
    method(*method_args)
  File "/usr/lib64/python3.12/site-packages/libqtile/widget/base.py", line 787, in timer_setup
    update_interval = self.tick()
                      ^^^^^^^^^^^
  File "/usr/lib64/python3.12/site-packages/libqtile/widget/base.py", line 814, in tick
    self.update(text)
  File "/usr/lib64/python3.12/site-packages/libqtile/widget/base.py", line 761, in update
    self.draw()
  File "/usr/lib64/python3.12/site-packages/libqtile/widget/base.py", line 663, in draw
    self.drawer.draw(
  File "/usr/lib64/python3.12/site-packages/libqtile/backend/base/drawer.py", line 216, in draw
    self._draw(
  File "/usr/lib64/python3.12/site-packages/libqtile/backend/x11/drawer.py", line 194, in _draw
    self.qtile.core.conn.conn.core.CopyArea(
  File "/usr/lib/python3.12/site-packages/xcffib/xproto.py", line 3152, in CopyArea
    return self.send_request(62, buf, is_checked=is_checked)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/xcffib/__init__.py", line 389, in send_request
    seq = self.conn.send_request(flags, xcb_parts + 2, xcb_req)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/xcffib/__init__.py", line 577, in wrapper
    self.invalid()
  File "/usr/lib/python3.12/site-packages/xcffib/__init__.py", line 567, in invalid
    raise ConnectionException(err)
xcffib.ConnectionException: xcb connection errors because of socket, pipe and other stream errors.
2024-02-19 11:41:59,710 ERROR libqtile loop.py:_handle_exception():L62 Exception in event loop:
Traceback (most recent call last):
  File "/usr/lib64/python3.12/asyncio/events.py", line 84, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/lib64/python3.12/site-packages/libqtile/core/manager.py", line 956, in f
    self.core.flush()
  File "/usr/lib64/python3.12/site-packages/libqtile/backend/x11/core.py", line 896, in flush
    self.conn.flush()
  File "/usr/lib64/python3.12/site-packages/libqtile/backend/x11/xcbq.py", line 613, in flush
    return self.conn.flush()
           ^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/xcffib/__init__.py", line 577, in wrapper
    self.invalid()
  File "/usr/lib/python3.12/site-packages/xcffib/__init__.py", line 567, in invalid
    raise ConnectionException(err)
xcffib.ConnectionException: xcb connection errors because of socket, pipe and other stream errors.
2024-02-19 11:41:59,710 ERROR libqtile loop.py:_handle_exception():L62 Exception in event loop:
Traceback (most recent call last):
  File "/usr/lib64/python3.12/asyncio/events.py", line 84, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/lib64/python3.12/site-packages/libqtile/core/manager.py", line 956, in f
    self.core.flush()
  File "/usr/lib64/python3.12/site-packages/libqtile/backend/x11/core.py", line 896, in flush
    self.conn.flush()
  File "/usr/lib64/python3.12/site-packages/libqtile/backend/x11/xcbq.py", line 613, in flush
    return self.conn.flush()
           ^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/xcffib/__init__.py", line 577, in wrapper
    self.invalid()
  File "/usr/lib/python3.12/site-packages/xcffib/__init__.py", line 567, in invalid
    raise ConnectionException(err)
xcffib.ConnectionException: xcb connection errors because of socket, pipe and other stream errors.
2024-02-19 11:41:59,711 ERROR libqtile loop.py:_handle_exception():L62 Exception in event loop:
Traceback (most recent call last):
  File "/usr/lib64/python3.12/asyncio/events.py", line 84, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/lib64/python3.12/site-packages/libqtile/core/manager.py", line 956, in f
    self.core.flush()
  File "/usr/lib64/python3.12/site-packages/libqtile/backend/x11/core.py", line 896, in flush
    self.conn.flush()
  File "/usr/lib64/python3.12/site-packages/libqtile/backend/x11/xcbq.py", line 613, in flush
    return self.conn.flush()
           ^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/xcffib/__init__.py", line 577, in wrapper
    self.invalid()
  File "/usr/lib/python3.12/site-packages/xcffib/__init__.py", line 567, in invalid
    raise ConnectionException(err)
xcffib.ConnectionException: xcb connection errors because of socket, pipe and other stream errors.
2024-02-19 11:41:59,711 ERROR libqtile loop.py:_handle_exception():L62 Exception in event loop:
Traceback (most recent call last):
  File "/usr/lib64/python3.12/asyncio/events.py", line 84, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/lib64/python3.12/site-packages/libqtile/core/manager.py", line 956, in f
    self.core.flush()
  File "/usr/lib64/python3.12/site-packages/libqtile/backend/x11/core.py", line 896, in flush
    self.conn.flush()
  File "/usr/lib64/python3.12/site-packages/libqtile/backend/x11/xcbq.py", line 613, in flush
    return self.conn.flush()
           ^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/xcffib/__init__.py", line 577, in wrapper
    self.invalid()
  File "/usr/lib/python3.12/site-packages/xcffib/__init__.py", line 567, in invalid
    raise ConnectionException(err)
xcffib.ConnectionException: xcb connection errors because of socket, pipe and other stream errors.
2024-02-19 11:41:59,712 ERROR libqtile loop.py:_handle_exception():L62 Exception in event loop:
Traceback (most recent call last):
  File "/usr/lib64/python3.12/asyncio/events.py", line 84, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/lib64/python3.12/site-packages/libqtile/core/manager.py", line 956, in f
    self.core.flush()
  File "/usr/lib64/python3.12/site-packages/libqtile/backend/x11/core.py", line 896, in flush
    self.conn.flush()
  File "/usr/lib64/python3.12/site-packages/libqtile/backend/x11/xcbq.py", line 613, in flush
    return self.conn.flush()
           ^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/xcffib/__init__.py", line 577, in wrapper
    self.invalid()
  File "/usr/lib/python3.12/site-packages/xcffib/__init__.py", line 567, in invalid
    raise ConnectionException(err)
xcffib.ConnectionException: xcb connection errors because of socket, pipe and other stream errors.
2024-02-19 11:41:59,713 ERROR libqtile loop.py:_handle_exception():L62 Exception in event loop:
Traceback (most recent call last):
  File "/usr/lib64/python3.12/asyncio/events.py", line 84, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/lib64/python3.12/site-packages/libqtile/core/manager.py", line 937, in f
    func(*args)
  File "/usr/lib64/python3.12/site-packages/libqtile/bar.py", line 673, in _actual_draw
    i.draw()
  File "/usr/lib64/python3.12/site-packages/libqtile/widget/base.py", line 663, in draw
    self.drawer.draw(
  File "/usr/lib64/python3.12/site-packages/libqtile/backend/base/drawer.py", line 216, in draw
    self._draw(
  File "/usr/lib64/python3.12/site-packages/libqtile/backend/x11/drawer.py", line 194, in _draw
    self.qtile.core.conn.conn.core.CopyArea(
  File "/usr/lib/python3.12/site-packages/xcffib/xproto.py", line 3152, in CopyArea
    return self.send_request(62, buf, is_checked=is_checked)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/xcffib/__init__.py", line 389, in send_request
    seq = self.conn.send_request(flags, xcb_parts + 2, xcb_req)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/xcffib/__init__.py", line 577, in wrapper
    self.invalid()
  File "/usr/lib/python3.12/site-packages/xcffib/__init__.py", line 567, in invalid
    raise ConnectionException(err)
xcffib.ConnectionException: xcb connection errors because of socket, pipe and other stream errors.
2024-02-19 11:41:59,714 ERROR libqtile base.py:on_done():L857 Failed to reschedule timer for memory.
Traceback (most recent call last):
  File "/usr/lib64/python3.12/site-packages/libqtile/widget/base.py", line 851, in on_done
    self.update(result)
  File "/usr/lib64/python3.12/site-packages/libqtile/widget/base.py", line 761, in update
    self.draw()
  File "/usr/lib64/python3.12/site-packages/libqtile/widget/base.py", line 663, in draw
    self.drawer.draw(
  File "/usr/lib64/python3.12/site-packages/libqtile/backend/base/drawer.py", line 216, in draw
    self._draw(
  File "/usr/lib64/python3.12/site-packages/libqtile/backend/x11/drawer.py", line 194, in _draw
    self.qtile.core.conn.conn.core.CopyArea(
  File "/usr/lib/python3.12/site-packages/xcffib/xproto.py", line 3152, in CopyArea
    return self.send_request(62, buf, is_checked=is_checked)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/xcffib/__init__.py", line 389, in send_request
    seq = self.conn.send_request(flags, xcb_parts + 2, xcb_req)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/xcffib/__init__.py", line 577, in wrapper
    self.invalid()
  File "/usr/lib/python3.12/site-packages/xcffib/__init__.py", line 567, in invalid
    raise ConnectionException(err)
xcffib.ConnectionException: xcb connection errors because of socket, pipe and other stream errors.
2024-02-19 11:41:59,715 ERROR libqtile base.py:on_done():L857 Failed to reschedule timer for nvidiasensors.
Traceback (most recent call last):
  File "/usr/lib64/python3.12/site-packages/libqtile/widget/base.py", line 851, in on_done
    self.update(result)
  File "/usr/lib64/python3.12/site-packages/libqtile/widget/base.py", line 761, in update
    self.draw()
  File "/usr/lib64/python3.12/site-packages/libqtile/widget/base.py", line 663, in draw
    self.drawer.draw(
  File "/usr/lib64/python3.12/site-packages/libqtile/backend/base/drawer.py", line 216, in draw
    self._draw(
  File "/usr/lib64/python3.12/site-packages/libqtile/backend/x11/drawer.py", line 194, in _draw
    self.qtile.core.conn.conn.core.CopyArea(
  File "/usr/lib/python3.12/site-packages/xcffib/xproto.py", line 3152, in CopyArea
    return self.send_request(62, buf, is_checked=is_checked)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/xcffib/__init__.py", line 389, in send_request
    seq = self.conn.send_request(flags, xcb_parts + 2, xcb_req)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/xcffib/__init__.py", line 577, in wrapper
    self.invalid()
  File "/usr/lib/python3.12/site-packages/xcffib/__init__.py", line 567, in invalid
    raise ConnectionException(err)
xcffib.ConnectionException: xcb connection errors because of socket, pipe and other stream errors.
2024-02-19 11:42:01,699 WARNING libqtile lifecycle.py:_atexit():L37 Qtile will now terminate

I am starting my xrandr script after suspend for opening my left monitor because it can't wake after suspend on qtile(For some reason, when waking up from the second suspend, the left monitor also wakes up..), i3wm, awesomewm. - It wake on gnome -

I tried all my musics for finding which particular track causing that problem for you to debug it but didn't find which one causing that. I mean, they didn't cause any error or crash while running.

Output:

org.mpris.MediaPlayer2.firefox.instance_1_5501 26377 firefox         cyber-syntax :1.5501       session-2.scope   2       -          
org.mpris.MediaPlayer2.playerctld                  - -               -         (activatable) -                 -       -          
org.pulseaudio.Server                           2177 pipewire-pulse  cyber-syntax :1.7          [email protected] -       -         

Journalctl, gdm show qtile error:

log
Feb 19 11:41:59 fedora /usr/libexec/gdm-x-session[2333]: AttributeError: 'NoneType' object has no attribute 'windows_map'
Feb 19 11:41:59 fedora /usr/libexec/gdm-x-session[2333]:                ^^^^^^^^^^^^^^^^^^^^^^
Feb 19 11:41:59 fedora /usr/libexec/gdm-x-session[2333]:     for win in self.qtile.windows_map.values():
Feb 19 11:41:59 fedora /usr/libexec/gdm-x-session[2333]:   File "/usr/lib64/python3.12/site-packages/libqtile/backend/x11/core.py", line 903, in graceful_shutdown
Feb 19 11:41:59 fedora /usr/libexec/gdm-x-session[2333]:     self.core.graceful_shutdown()
Feb 19 11:41:59 fedora /usr/libexec/gdm-x-session[2333]:   File "/usr/lib64/python3.12/site-packages/libqtile/core/manager.py", line 237, in stop
Feb 19 11:41:59 fedora /usr/libexec/gdm-x-session[2333]:     self._context.run(self._callback, *self._args)
Feb 19 11:41:59 fedora /usr/libexec/gdm-x-session[2333]:   File "/usr/lib64/python3.12/asyncio/events.py", line 84, in _run
Feb 19 11:41:59 fedora /usr/libexec/gdm-x-session[2333]: Traceback (most recent call last):
Feb 19 11:41:59 fedora /usr/libexec/gdm-x-session[2333]: handle: <Handle Qtile.stop()>
Feb 19 11:41:59 fedora /usr/libexec/gdm-x-session[2333]: ERROR:asyncio:Exception in callback Qtile.stop()
Feb 19 11:41:59 fedora /usr/libexec/gdm-x-session[2333]: TypeError: initializer for ctype 'PangoLayout *' must be a cdata pointer, not NoneType
Feb 19 11:41:59 fedora /usr/libexec/gdm-x-session[2333]:     pango.pango_layout_get_pixel_size(self._pointer, width, height)
Feb 19 11:41:59 fedora /usr/libexec/gdm-x-session[2333]:   File "/usr/lib64/python3.12/site-packages/libqtile/pangocffi.py", line 137, in get_pixel_size
Feb 19 11:41:59 fedora /usr/libexec/gdm-x-session[2333]:            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Feb 19 11:41:59 fedora /usr/libexec/gdm-x-session[2333]:     return self.layout.get_pixel_size()[0]
Feb 19 11:41:59 fedora /usr/libexec/gdm-x-session[2333]:   File "/usr/lib64/python3.12/site-packages/libqtile/backend/base/drawer.py", line 421, in width
Feb 19 11:41:59 fedora /usr/libexec/gdm-x-session[2333]:                 ^^^^^^^^^^^^^^^^^
Feb 19 11:41:59 fedora /usr/libexec/gdm-x-session[2333]:     old_width = self.layout.width
Feb 19 11:41:59 fedora /usr/libexec/gdm-x-session[2333]:   File "/usr/lib64/python3.12/site-packages/libqtile/widget/base.py", line 755, in update
Feb 19 11:41:59 fedora /usr/libexec/gdm-x-session[2333]:     self.update("")
Feb 19 11:41:59 fedora /usr/libexec/gdm-x-session[2333]:   File "/usr/lib64/python3.12/site-packages/libqtile/widget/mpris2widget.py", line 246, in _name_owner_changed
Feb 19 11:41:59 fedora /usr/libexec/gdm-x-session[2333]:              ^^^^^^^^^^^^
Feb 19 11:41:59 fedora /usr/libexec/gdm-x-session[2333]:     result = handler(msg)
Feb 19 11:41:59 fedora /usr/libexec/gdm-x-session[2333]:   File "/usr/lib/python3.12/site-packages/dbus_next/message_bus.py", line 668, in _process_message
Feb 19 11:41:59 fedora /usr/libexec/gdm-x-session[2333]: Traceback (most recent call last):
Feb 19 11:41:59 fedora /usr/libexec/gdm-x-session[2333]: ERROR:root:A message handler raised an exception: initializer for ctype 'PangoLayout *' must be a cdata pointer, not NoneType.

I am using gdm because I can't supend qtile when I use xinitrc. If gdm cause that I could use lightdm or try to fix xinitrc suspend problem.

from qtile.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.