Ankündigung

Einklappen
Keine Ankündigung bisher.

- √ - Plugin xxx exception: No module named plugins.xxx

Einklappen
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

    - √ - Plugin xxx exception: No module named plugins.xxx

    Hallo Marcus,

    obwohl ich eigentlich der Meinung bin, dass ich am gesamten System nichts geändert habe, startet mein Smarthome nicht mehr und gibt einen Fehler zu den Plugins raus. Es betrifft die beiden einzigen Plugins KNX und SQLite, die ich benutze. Die Ordner sind da, die Dateien auch, ich habe keine Ahnung, woran es liegen kann. Nachfolgend das Log und das Debug Log.

    Viele Grüße
    Oliver

    Code:
    Init SmartHome.py 1.0-32-gfd0043e+
    2014-03-19 20:18:23 INFO     Main         Start SmartHome.py 1.0-32-gfd0043e+
    2014-03-19 20:18:23 INFO     Main         Init Scheduler
    2014-03-19 20:18:23 INFO     Main         Init Plugins
    2014-03-19 20:18:23 ERROR    Main         Plugin knx exception: No module named plugins.knx
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/plugin.py", line 53, in __init__
        plugin_thread = Plugin(smarthome, plugin, classname, classpath, args)
      File "/usr/local/smarthome/lib/plugin.py", line 79, in __init__
        exec("import {0}".format(classpath))
      File "<string>", line 1, in <module>
    ImportError: No module named plugins.knx
    2014-03-19 20:18:23 ERROR    Main         Plugin sql exception: No module named plugins.sqlite
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/plugin.py", line 53, in __init__
        plugin_thread = Plugin(smarthome, plugin, classname, classpath, args)
      File "/usr/local/smarthome/lib/plugin.py", line 79, in __init__
        exec("import {0}".format(classpath))
      File "<string>", line 1, in <module>
    ImportError: No module named plugins.sqlite
    2014-03-19 20:18:24 INFO     Main         Init Items
    2014-03-19 20:18:24 INFO     Main         Start Plugins
    2014-03-19 20:18:24 INFO     Main         Start Logics

    Code:
    2014-03-19 20:16:59,506 INFO     Main         Start SmartHome.py 1.0-32-gfd0043e+ -- smarthome.py:__init__:231
    2014-03-19 20:16:59,510 DEBUG    Main         Python 3.2.3 -- smarthome.py:__init__:232
    2014-03-19 20:16:59,515 INFO     Main         Init Scheduler -- scheduler.py:__init__:86
    2014-03-19 20:16:59,521 INFO     Main         Init Plugins -- smarthome.py:start:274
    2014-03-19 20:16:59,531 DEBUG    Scheduler    creating 5 workers -- scheduler.py:run:93
    2014-03-19 20:16:59,537 DEBUG    Main         Plugin: knx -- plugin.py:__init__:43
    2014-03-19 20:16:59,546 ERROR    Main         Plugin knx exception: No module named plugins.knx -- plugin.py:__init__:57
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/plugin.py", line 53, in __init__
        plugin_thread = Plugin(smarthome, plugin, classname, classpath, args)
      File "/usr/local/smarthome/lib/plugin.py", line 79, in __init__
        exec("import {0}".format(classpath))
      File "<string>", line 1, in <module>
    ImportError: No module named plugins.knx
    2014-03-19 20:16:59,567 DEBUG    Main         Plugin: sql -- plugin.py:__init__:43
    2014-03-19 20:16:59,574 ERROR    Main         Plugin sql exception: No module named plugins.sqlite -- plugin.py:__init__:57
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/plugin.py", line 53, in __init__
        plugin_thread = Plugin(smarthome, plugin, classname, classpath, args)
      File "/usr/local/smarthome/lib/plugin.py", line 79, in __init__
        exec("import {0}".format(classpath))
      File "<string>", line 1, in <module>
    ImportError: No module named plugins.sqlite
    2014-03-19 20:16:59,585 INFO     Main         Init Items -- smarthome.py:start:280
    2014-03-19 20:16:59,779 DEBUG    Main         Item env.core: no type specified. -- item.py:__init__:242
    2014-03-19 20:16:59,824 DEBUG    Main         Item env.location: no type specified. -- item.py:__init__:242
    2014-03-19 20:16:59,845 DEBUG    Main         Item env.system: no type specified. -- item.py:__init__:242
    2014-03-19 20:16:59,849 DEBUG    Main         Item env: no type specified. -- item.py:__init__:242
    2014-03-19 20:16:59,875 DEBUG    Main         Item Kueche.Rolladen.alle: no type specified. -- item.py:__init__:242
    2014-03-19 20:16:59,900 DEBUG    Main         Item Kueche.Rolladen.alle_Erker: no type specified. -- item.py:__init__:242
    2014-03-19 20:16:59,938 DEBUG    Main         Item Kueche.Rolladen.Spuele: no type specified. -- item.py:__init__:242
    2014-03-19 20:16:59,975 DEBUG    Main         Item Kueche.Rolladen.Terasse: no type specified. -- item.py:__init__:242
    2014-03-19 20:17:00,014 DEBUG    Main         Item Kueche.Rolladen.Erker_links: no type specified. -- item.py:__init__:242
    2014-03-19 20:17:00,052 DEBUG    Main         Item Kueche.Rolladen.Erker_mitte: no type specified. -- item.py:__init__:242
    2014-03-19 20:17:00,091 DEBUG    Main         Item Kueche.Rolladen.Erker_rechts: no type specified. -- item.py:__init__:242
    2014-03-19 20:17:00,096 DEBUG    Main         Item Kueche.Rolladen: no type specified. -- item.py:__init__:242
    2014-03-19 20:17:00,099 DEBUG    Main         Item Kueche: no type specified. -- item.py:__init__:242
    2014-03-19 20:17:00,134 DEBUG    Main         Item Wohnzimmer.Rolladen.Wiga_alle: no type specified. -- item.py:__init__:242
    2014-03-19 20:17:00,152 DEBUG    Main         Item Wohnzimmer.Rolladen.alle: no type specified. -- item.py:__init__:242
    2014-03-19 20:17:00,198 DEBUG    Main         Item Wohnzimmer.Rolladen.Wiga12: no type specified. -- item.py:__init__:242
    2014-03-19 20:17:00,238 DEBUG    Main         Item Wohnzimmer.Rolladen.Wiga34: no type specified. -- item.py:__init__:242
    2014-03-19 20:17:00,273 DEBUG    Main         Item Wohnzimmer.Rolladen.Fenster: no type specified. -- item.py:__init__:242
    2014-03-19 20:17:00,277 DEBUG    Main         Item Wohnzimmer.Rolladen: no type specified. -- item.py:__init__:242
    2014-03-19 20:17:00,280 DEBUG    Main         Item Wohnzimmer: no type specified. -- item.py:__init__:242
    2014-03-19 20:17:00,289 INFO     Main         Start Plugins -- plugin.py:start:65
    2014-03-19 20:17:00,292 INFO     Main         Start Logics -- logic.py:__init__:33
    2014-03-19 20:17:00,295 DEBUG    Main         Reading Logics from /usr/local/smarthome/lib/env/logic_conf -- logic.py:_read_logics:64

    #2
    Hallo,

    tja da sind wohl die Pluginverzeichnisse gelöscht/verschoben worden.

    Neu drüber installieren oder das Pi-Image nur aufsetzen.

    Bis bald

    Marcus

    Kommentar


      #3
      Hallo,

      auf die Idee war ich auch schon gekommen, Verzeichnisse und Dateien waren aber alle und auch nicht umbenannt. Hatte auch die __init__.py schon drüber gebügelt, ohne den gewünschten Erfolg. Habe jetzt nochmal das ganze plugin Verzeichnis überkopiert, und o-Wunder es läuft.

      Besten Dank!

      Kommentar

      Lädt...
      X