Traceback (most recent call last):


 "/usr/bin/ccsm", line 94, in <module>

import ccm


 "/usr/lib/python2.7/dist-packages/ccm/__init__.py", line 1, in <module>

from ccm.Conflicts import *


 "/usr/lib/python2.7/dist-packages/ccm/Conflicts.py", line 26, in <module>

from ccm.Constants import *


 "/usr/lib/python2.7/dist-packages/ccm/Constants.py", line 30, in <module>

CurrentScreenNum = gtk.gdk.display_get_default().get_default_screen().get_number()
AttributeError: 'NoneType' object has no attribute 'get_default_screen'

Traceback (most recent call last):


 "/usr/local/lib/python3.7/site-packages/homeassistant/config_entries.py", line 260, in async_setup

result = await component.async_setup_entry(hass, self)


 "/usr/local/lib/python3.7/site-packages/homeassistant/components/zha/__init__.py", line 176, in async_setup_entry

await asyncio.gather(*init_tasks)


 "/usr/local/lib/python3.7/site-packages/homeassistant/components/zha/core/gateway.py", line 159, in async_device_initialized

await zha_device.async_initialize(from_cache=(not is_new_join))


 "/usr/local/lib/python3.7/site-packages/homeassistant/components/zha/core/device.py", line 192, in async_initialize

BASIC_CHANNEL).get_power_source()
AttributeError: 'NoneType' object has no attribute '
