#smart things not loaded

19 messages · Page 1 of 1 (latest)

verbal plank
#

I no longer want the smart things. It's been running for months without any problems and it's been there for about 3 days. I also tried to log in again but it didn't seem to want to do that. Is this a bug or are the servers at Samsumg overloaded?

hushed stag
#

what does that say in english

verbal plank
hushed stag
#

Not the image though (which is what I was asking about)

#

anyways, look in your logs for errors and post them here

static cloak
verbal plank
#
Quelle: loader.py:1071
Erstmals aufgetreten: 19:32:57 (2 Vorkommnisse)
Zuletzt protokolliert: 19:32:57

Unexpected exception importing component homeassistant.components.smartthings
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/loader.py", line 1071, in _get_component
    ComponentProtocol, importlib.import_module(self.pkg_path)
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/util/loop.py", line 200, in protected_loop_func
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/importlib/__init__.py", line 90, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 995, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/usr/src/homeassistant/homeassistant/components/smartthings/__init__.py", line 12, in <module>
    from pysmartapp.event import EVENT_TYPE_DEVICE
  File "/usr/local/lib/python3.12/site-packages/pysmartapp/__init__.py", line 3, in <module>
    from pysmartapp.config import (
  File "/usr/local/lib/python3.12/site-packages/pysmartapp/config.py", line 6, in <module>
    from .request import Request, Response
  File "/usr/local/lib/python3.12/site-packages/pysmartapp/request.py", line 3, in <module>
    from httpsig.verify import HeaderVerifier
  File "/usr/local/lib/python3.12/site-packages/httpsig/__init__.py", line 1, in <module>
    from pkg_resources import get_distribution, DistributionNotFound
  File "/usr/local/lib/python3.12/site-packages/pkg_resources/__init__.py", line 98, in <module>
    from pkg_resources.extern.platformdirs import user_cache_dir as _user_cache_dir
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 921, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 813, in module_from_spec
  File "/usr/local/lib/python3.12/site-packages/pkg_resources/extern/__init__.py", line 61, in create_module
    return self.load_module(spec.name)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/pkg_resources/extern/__init__.py", line 46, in load_module
    __import__(extant)
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 991, in exec_module
  File "<frozen importlib._bootstrap_external>", line 1124, in get_code
  File "<frozen importlib._bootstrap_external>", line 753, in _compile_bytecode
ValueError: bad marshal data (invalid reference)```
#
Quelle: util/loop.py:77
Erstmals aufgetreten: 19:32:57 (1 Vorkommnisse)
Zuletzt protokolliert: 19:32:57

Detected blocking call to import_module with args ('homeassistant.components.smartthings',) in /usr/src/homeassistant/homeassistant/loader.py, line 1071: ComponentProtocol, importlib.import_module(self.pkg_path) inside the event loop; This is causing stability issues. Please create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue For developers, please see https://developers.home-assistant.io/docs/asyncio_blocking_operations/#import_module Traceback (most recent call last): File "<frozen runpy>", line 198, in _run_module_as_main File "<frozen runpy>", line 88, in _run_code File "/usr/src/homeassistant/homeassistant/__main__.py", line 223, in <module> sys.exit(main()) File "/usr/src/homeassistant/homeassistant/__main__.py", line 209, in main exit_code = runner.run(runtime_conf) File "/usr/src/homeassistant/homeassistant/runner.py", line 189, in run return loop.run_until_complete(setup_and_run_hass(runtime_config)) File "/usr/local/lib/python3.12/asyncio/base_events.py", line 674, in run_until_complete self.run_forever() File "/usr/local/lib/python3.12/asyncio/base_events.py", line 641, in run_forever self._run_once() File "/usr/local/lib/python3.12/asyncio/base_events.py", line 1990, in _run_once handle._run() File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run self._context.run(self._callback, *self._args) File "/usr/src/homeassistant/homeassistant/setup.py", line 165, in async_setup_component result = await _async_setup_component(hass, domain, config) File "/usr/src/homeassistant/homeassistant/setup.py", line 334, in _async_setup_component component = await integration.async_get_component() File "/usr/src/homeassistant/homeassistant/loader.py", line 1023, in async_get_component comp = self._get_component() File "/usr/src/homeassistant/homeassistant/loader.py", line 1071, in _get_component ComponentProtocol, importlib.import_module(self.pkg_path)```
verbal plank
hushed stag
#

Yeah, I’ll review the error when I’m not on mobile and get back to you

hushed stag
#

I’d raise an issue on HA github

modern owl
#

Hey any update here?

#

Failed to set up: The access token is no longer valid. Please remove the integration and set up again.

#

I just made my Token - like JUST now

#

ok did it again with the same token - and it worked

#

🤞

lavish parcel