threefoldtecharchive / jumpscaleX_threebot

Apache License 2.0
0 stars 3 forks source link

can't load alerta actor #336

Closed xmonader closed 4 years ago

xmonader commented 4 years ago

When starting 3bot

****ERROR HAPPENED IN LOADING ACTOR: /sandbox/code/github/threefoldtech/jumpscaleX_threebot/ThreeBotPackages/zerobot/alerta/actors/alerta.py

bash
****ERROR HAPPENED IN LOADING ACTOR: /sandbox/code/github/threefoldtech/jumpscaleX_threebot/ThreeBotPack
ages/zerobot/alerta/actors/alerta.py

Mon 13 13:04:19 /bcdb/BCDBFactory.py - 495 - get_for_threebot                   : EXCEPTION: 
    AssertionError()
--TRACEBACK------------------
/sandbox/lib/jumpscale/Jumpscale/servers/threebot/ThreebotServer.py in start
    275    package.start()
/sandbox/lib/jumpscale/Jumpscale/tools/threebot_package/ThreeBotPackage.py in start
    267    self.actors_load()
/sandbox/lib/jumpscale/Jumpscale/tools/threebot_package/ThreeBotPackage.py in actors_load
    121    raise e
/sandbox/lib/jumpscale/Jumpscale/tools/threebot_package/ThreeBotPackage.py in actors_load
    116    self._actors[name] = cl(package=self)
/sandbox/lib/jumpscale/Jumpscale/core/BASECLASSES/JSBase.py in __init__
    40    self._init_actor(**kwargs)
/sandbox/lib/jumpscale/Jumpscale/core/BASECLASSES/ThreeBotActorBase.py in _init_actor
    11    self.bcdb = self.package.bcdb
/sandbox/lib/jumpscale/Jumpscale/tools/threebot_package/ThreeBotPackage.py in bcdb
    143    name=config.name, namespace=config.namespace, ttype=config.type
/sandbox/lib/jumpscale/Jumpscale/data/bcdb/BCDBFactory.py in get_for_threebot
    495    assert not namespace  # should be empty only relevant in ZDB
serboctor commented 4 years ago

I am not getting this error, instead it fails while loading the package/actors because the actors reference j.tools.alerthandler.model which doesn't exist anymore.

xmonader commented 4 years ago

Not valid anymore