threefoldtecharchive / jumpscaleX_threebot

Apache License 2.0
0 stars 3 forks source link

Failed to start local server #312

Closed ahussein closed 4 years ago

ahussein commented 4 years ago

When trying to install a local threebot server I get the following error:

    ---------------------------------
    COULD not load
        source:/sandbox/code/github/threefoldtech/jumpscaleX_threebot/ThreeBotPackages/zerobot/base/actors/gdrive.py
    ERROR WAS:No module named 'googleapiclient'
--TRACEBACK------------------
<stdin> in <module>
    1
/sandbox/lib/jumpscale/Jumpscale/servers/threebot/ThreeBotServersFactory.py in local_start_default
    91    client = self.default.start(background=background, packages=packages)
/sandbox/lib/jumpscale/Jumpscale/servers/threebot/ThreebotServer.py in start
    265    self._packages_core_init()
/sandbox/lib/jumpscale/Jumpscale/servers/threebot/ThreebotServer.py in _packages_core_init
    386    p.actors_reload()
/sandbox/lib/jumpscale/Jumpscale/tools/threebot_package/ThreeBotPackage.py in actors_reload
    183    raise e
/sandbox/lib/jumpscale/Jumpscale/tools/threebot_package/ThreeBotPackage.py in actors_reload
    178    cl = j.tools.codeloader.load(obj_key=None, path=fpath, reload=False, md5=None)
/sandbox/lib/jumpscale/Jumpscale/tools/codeloader/CodeLoader.py in load
    85    raise j.exceptions.Base(msg)
-----------------------------
xmonader commented 4 years ago

I think you've an old docker image because googleapiclient is bundled with the current image?

ahussein commented 4 years ago

@xmonader correct, updating the image fixed the problem.