Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The plugin can not be stopped and relauched #2

Open
ultrasuperpingu opened this issue Jan 23, 2022 · 0 comments
Open

The plugin can not be stopped and relauched #2

ultrasuperpingu opened this issue Jan 23, 2022 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@ultrasuperpingu
Copy link
Owner

When you try to relauch the plugin in the hardware page :

  • set activated = false in the hardware page is ok
  • when setting activated = true, an error occurs

Here is the stacktrace:

2022-01-23 13:47:29.588 Error: Sondes Xiaomi: (LYWSD03MMC) failed to load 'plugin.py', Python Path used was '/home/pi/domoticz/plugins/LYWSD03MMC/:/usr/lib/python37.zip:/usr/lib/python3.7:/usr/lib/python3.7/lib-dynload:/usr/local/lib/python3.7/dist-packages:/usr/lib/python3/dist-packages:/usr/lib/python3.7/dist-packages'.
2022-01-23 13:47:29.588 Error: Sondes Xiaomi: Module Import failed, exception: 'NameError'
2022-01-23 13:47:29.588 Error: Sondes Xiaomi: Error Line details not available.
2022-01-23 13:47:29.588 Error: Sondes Xiaomi: Exception traceback:
2022-01-23 13:47:29.588 Error: Sondes Xiaomi: ----> Line 30 in '/home/pi/domoticz/plugins/LYWSD03MMC/plugin.py', function <module>
2022-01-23 13:47:29.588 Error: Sondes Xiaomi: ----> Line 1 in '/usr/local/lib/python3.7/dist-packages/gatt/__init__.py', function <module>
2022-01-23 13:47:29.588 Error: Sondes Xiaomi: ----> Line 6 in '/usr/local/lib/python3.7/dist-packages/gatt/gatt.py', function <module>
2022-01-23 13:47:29.588 Error: Sondes Xiaomi: ----> Line 13 in '/usr/local/lib/python3.7/dist-packages/gatt/gatt_linux.py', function <module>
2022-01-23 13:47:29.588 Error: Sondes Xiaomi: ----> Line 983 in '<frozen importlib._bootstrap>', function _find_and_load
2022-01-23 13:47:29.588 Error: Sondes Xiaomi: ----> Line 967 in '<frozen importlib._bootstrap>', function _find_and_load_unlocked
2022-01-23 13:47:29.588 Error: Sondes Xiaomi: ----> Line 668 in '<frozen importlib._bootstrap>', function _load_unlocked
2022-01-23 13:47:29.588 Error: Sondes Xiaomi: ----> Line 638 in '<frozen importlib._bootstrap>', function _load_backward_compatible
2022-01-23 13:47:29.589 Error: Sondes Xiaomi: ----> Line 146 in '/usr/lib/python3/dist-packages/gi/importer.py', function load_module
2022-01-23 13:47:29.589 Error: Sondes Xiaomi: ----> Line 127 in '/usr/lib/python3.7/importlib/__init__.py', function import_module
2022-01-23 13:47:29.589 Error: Sondes Xiaomi: ----> Line 1006 in '<frozen importlib._bootstrap>', function _gcd_import
2022-01-23 13:47:29.589 Error: Sondes Xiaomi: ----> Line 983 in '<frozen importlib._bootstrap>', function _find_and_load
2022-01-23 13:47:29.589 Error: Sondes Xiaomi: ----> Line 967 in '<frozen importlib._bootstrap>', function _find_and_load_unlocked
2022-01-23 13:47:29.589 Error: Sondes Xiaomi: ----> Line 668 in '<frozen importlib._bootstrap>', function _load_unlocked
2022-01-23 13:47:29.589 Error: Sondes Xiaomi: ----> Line 638 in '<frozen importlib._bootstrap>', function _load_backward_compatible
2022-01-23 13:47:29.589 Error: Sondes Xiaomi: ----> Line 146 in '/usr/lib/python3/dist-packages/gi/importer.py', function load_module
2022-01-23 13:47:29.589 Error: Sondes Xiaomi: ----> Line 131 in '/usr/lib/python3/dist-packages/gi/overrides/__init__.py', function load_overrides
2022-01-23 13:47:29.589 Error: Sondes Xiaomi: ----> Line 127 in '/usr/lib/python3.7/importlib/__init__.py', function import_module
2022-01-23 13:47:29.589 Error: Sondes Xiaomi: ----> Line 156 in '/usr/lib/python3/dist-packages/gi/overrides/GLib.py', function <module>
2022-01-23 13:47:29.589 Error: Sondes Xiaomi: ----> Line 340 in '/usr/lib/python3/dist-packages/gi/types.py', function __init__ 
@ultrasuperpingu ultrasuperpingu added the help wanted Extra attention is needed label Jan 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant