Created
June 25, 2020 14:58
-
-
Save Pishoy/ed08aab7ef50deb51a3ba2745dd6d79c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@test-bishoy:~# git clone https://github.com/threefoldtech/js-sdk | |
root@test-bishoy:~# cd js-sdk/ | |
root@test-bishoy:~/js-sdk# git branch | |
* development | |
root@test-bishoy:~/js-sdk# poetry update | |
pdating dependencies | |
Resolving dependencies... (3.3s) | |
Writing lock file | |
Package operations: 0 installs, 1 update, 0 removals | |
- Updating sendgrid (6.4.0 -> 6.4.1) | |
[EnvCommandError] | |
Command ['/root/.cache/pypoetry/virtualenvs/js-sdk-vpmH-Z_5-py3.6/bin/pip', 'install', '--no-deps', '-U', 'sendgrid==6.4.1'] errored with the following return code 1, and output: | |
Collecting sendgrid==6.4.1 | |
Could not find a version that satisfies the requirement sendgrid==6.4.1 (from versions: 0.1.0, 0.1.1, 0.1.2, 0.1.3, 0.1.4, 0.2.0, 0.2.1, 0.2.2, 0.2.3, 0.2.4, 0.2.5, 0.2.6, 0.2.7, 0.2.8, 0.2.9, 0.3.0, 0.3.1, 0.3.2, 0.3.3, 0.3.4, 0.3.5, 0.3.6, 0.3.7, 0.4.0, 0.4.1, 0.5.0, 0.5.1, 0.5.2, 0.5.3, 0.5.4, 1.0.0, 1.0.1, 1.1.0, 1.1.1, 1.1.2, 1.2.0, 1.2.1, 1.2.2, 1.2.3, 1.2.4, 1.3.0, 1.4.0, 1.4.2, 1.4.3, 1.5.3, 1.5.4, 1.5.5, 1.5.6, 1.5.7, 1.5.8, 1.5.9, 1.5.10, 1.5.11, 1.5.12, 1.5.13, 1.5.14, 1.5.15, 1.5.16, 1.5.17, 1.5.18, 1.5.19, 1.5.20, 1.6.20, 1.6.21, 1.6.22, 2.0.0, 2.1.0, 2.1.1, 2.2.1, 3.0.0, 3.0.1, 3.0.2, 3.0.3, 3.0.4, 3.0.5, 3.0.6, 3.0.7, 3.1.7, 3.1.8, 3.1.9, 3.1.10, 3.2.0, 3.2.1, 3.2.2, 3.2.3, 3.2.10, 3.3.0, 3.3.1, 3.4.0, 3.5.0, 3.6.0, 3.6.1, 3.6.2, 3.6.3, 3.6.4, 3.6.5, 4.0.0, 4.1.0, 4.2.0, 4.2.1, 5.0.0, 5.0.1, 5.1.0, 5.2.0, 5.2.1, 5.3.0, 5.4.0, 5.4.1, 5.5.0, 5.6.0, 6.0.0, 6.0.1, 6.0.2, 6.0.3, 6.0.4, 6.0.5, 6.1.0, 6.1.1, 6.1.2, 6.1.3, 6.2.0, 6.2.1, 6.2.2, 6.3.0, 6.3.1, 6.4.0) | |
No matching distribution found for sendgrid==6.4.1 | |
root@test-bishoy:~/js-sdk# rm -rf /root/.cache/pypoetry | |
root@test-bishoy:~/js-sdk# poetry update | |
Creating virtualenv js-sdk-vpmH-Z_5-py3.6 in /root/.cache/pypoetry/virtualenvs | |
Updating dependencies | |
Resolving dependencies... (32.5s) | |
Package operations: 119 installs, 0 updates, 0 removals | |
- Installing pycparser (2.20) | |
- Installing cffi (1.14.0) | |
- Installing six (1.15.0) | |
- Installing certifi (2019.11.28) | |
- Installing chardet (3.0.4) | |
- Installing cryptography (2.9.2) | |
- Installing idna (2.9) | |
- Installing urllib3 (1.25.9) | |
- Installing zope.interface (5.1.0) | |
- Installing multidict (4.7.6) | |
- Installing pyopenssl (19.1.0) | |
- Installing pytz (2020.1) | |
- Installing requests (2.24.0) | |
- Installing zipp (3.1.0) | |
- Installing zope.proxy (4.3.5) | |
- Installing async-timeout (3.0.1) | |
- Installing attrs (19.3.0) | |
- Installing bcrypt (3.1.7) | |
- Installing idna-ssl (1.1.0) | |
- Installing importlib-metadata (1.6.1) | |
- Installing josepy (1.3.0) | |
- Installing markupsafe (1.1.1) | |
- Installing parso (0.7.0) | |
- Installing pynacl (1.3.0) | |
- Installing pyrfc3339 (1.1) | |
- Installing requests-toolbelt (0.9.1) | |
- Installing smmap (3.0.4) | |
- Installing typing-extensions (3.7.4.2) | |
- Installing wcwidth (0.2.5) | |
- Installing yarl (1.4.2) | |
- Installing zope.deferredimport (4.3.1) | |
- Installing zope.deprecation (4.4.0) | |
- Installing zope.event (4.4) | |
- Installing zope.hookable (5.0.1) | |
- Installing acme (1.5.0) | |
- Installing aiohttp (3.6.2) | |
- Installing argh (0.26.2) | |
- Installing colorama (0.4.3) | |
- Installing configargparse (1.2.3) | |
- Installing configobj (5.0.6) | |
- Installing distro (1.5.0) | |
- Installing docopt (0.6.2) | |
- Installing future (0.18.2) | |
- Installing gitdb (4.0.5) | |
- Installing greenlet (0.4.16) | |
- Installing importlib-resources (2.0.1) | |
- Installing invoke (1.4.1) | |
- Installing jedi (0.17.1) | |
- Installing mako (1.1.3) | |
- Installing markdown (3.2.2) | |
- Installing paramiko (2.7.1) | |
- Installing parsedatetime (2.6) | |
- Installing pathtools (0.1.2) | |
- Installing pillow (6.2.2) | |
- Installing prompt-toolkit (2.0.10) | |
- Installing pycryptodomex (3.9.8) | |
- Installing pygments (2.6.1) | |
- Installing python-dateutil (2.8.1) | |
- Installing pyyaml (5.3.1) | |
- Installing text-unidecode (1.3) | |
- Installing urwid (2.1.0) | |
- Installing websocket-client (0.57.0) | |
- Installing wrapt (1.12.1) | |
- Installing zope.component (4.6.1) | |
- Installing aiohttp-sse-client (0.1.7) | |
- Installing arrow (0.15.7) | |
- Installing base58 (2.0.1) | |
- Installing better-exceptions (0.2.2) | |
- Installing bottle (0.12.18) | |
- Installing captcha (0.3) | |
- Installing certbot (1.5.0) | |
- Installing click (7.1.2) | |
- Installing crc16 (0.1.1) | |
- Installing cryptocompare (0.6.6) | |
- Installing deprecated (1.2.10) | |
- Installing dill (0.3.2) | |
- Installing docker (4.2.1) | |
- Installing fabric (2.5.0) | |
- Installing faker (2.0.5) | |
- Installing funcsigs (1.0.2) | |
- Installing gevent (1.4.0) | |
- Installing gitpython (3.1.3) | |
- Installing jinja2 (2.11.2) | |
- Installing jsonpickle (1.4.1) | |
- Installing libtmux (0.8.2) | |
- Installing loguru (0.3.2) | |
- Installing mnemonic (0.19) | |
- Installing msgpack (0.6.2) | |
- Installing netaddr (0.7.20) | |
- Installing pdoc3 (0.6.4) | |
- Installing psutil (5.7.0) | |
- Installing ptpython (2.0.6) | |
- Installing pudb (2019.2) | |
- Installing pyjwkest (1.4.2) | |
- Installing pyjwt (1.7.1) | |
- Installing pylzma (0.5.0) | |
- Installing pyparsing (2.4.7) | |
- Installing python-http-client (3.2.7) | |
- Installing pytoml (0.1.21) | |
- Installing redis (3.5.3) | |
- Installing secretconf (0.1.2) | |
- Installing starkbank-ecdsa (1.0.0) | |
- Installing stellar-base-sseclient (0.0.21) | |
- Installing terminaltables (3.1.0) | |
- Installing toml (0.10.1) | |
- Installing watchdog (0.9.0) | |
- Installing beaker (1.11.0) | |
- Installing certbot-nginx (1.5.0) | |
- Installing dnspython (1.16.0) | |
- Installing js-ng (0.1.0 086149f) | |
- Installing minio (4.0.21) | |
- Installing pycountry (19.8.18) | |
- Installing pygithub (1.51) | |
- Installing pypng (0.0.20) | |
- Installing pyqrcode (1.2.1) | |
- Installing python-digitalocean (1.15.0) | |
- Installing python-taiga (1.0.0) | |
- Installing sendgrid (6.4.1) | |
[EnvCommandError] | |
Command ['/root/.cache/pypoetry/virtualenvs/js-sdk-vpmH-Z_5-py3.6/bin/pip', 'install', '--no-deps', 'sendgrid==6.4.1'] errored with the following return code 1, and output: | |
Collecting sendgrid==6.4.1 | |
Could not find a version that satisfies the requirement sendgrid==6.4.1 (from versions: 0.1.0, 0.1.1, 0.1.2, 0.1.3, 0.1.4, 0.2.0, 0.2.1, 0.2.2, 0.2.3, 0.2.4, 0.2.5, 0.2.6, 0.2.7, 0.2.8, 0.2.9, 0.3.0, 0.3.1, 0.3.2, 0.3.3, 0.3.4, 0.3.5, 0.3.6, 0.3.7, 0.4.0, 0.4.1, 0.5.0, 0.5.1, 0.5.2, 0.5.3, 0.5.4, 1.0.0, 1.0.1, 1.1.0, 1.1.1, 1.1.2, 1.2.0, 1.2.1, 1.2.2, 1.2.3, 1.2.4, 1.3.0, 1.4.0, 1.4.2, 1.4.3, 1.5.3, 1.5.4, 1.5.5, 1.5.6, 1.5.7, 1.5.8, 1.5.9, 1.5.10, 1.5.11, 1.5.12, 1.5.13, 1.5.14, 1.5.15, 1.5.16, 1.5.17, 1.5.18, 1.5.19, 1.5.20, 1.6.20, 1.6.21, 1.6.22, 2.0.0, 2.1.0, 2.1.1, 2.2.1, 3.0.0, 3.0.1, 3.0.2, 3.0.3, 3.0.4, 3.0.5, 3.0.6, 3.0.7, 3.1.7, 3.1.8, 3.1.9, 3.1.10, 3.2.0, 3.2.1, 3.2.2, 3.2.3, 3.2.10, 3.3.0, 3.3.1, 3.4.0, 3.5.0, 3.6.0, 3.6.1, 3.6.2, 3.6.3, 3.6.4, 3.6.5, 4.0.0, 4.1.0, 4.2.0, 4.2.1, 5.0.0, 5.0.1, 5.1.0, 5.2.0, 5.2.1, 5.3.0, 5.4.0, 5.4.1, 5.5.0, 5.6.0, 6.0.0, 6.0.1, 6.0.2, 6.0.3, 6.0.4, 6.0.5, 6.1.0, 6.1.1, 6.1.2, 6.1.3, 6.2.0, 6.2.1, 6.2.2, 6.3.0, 6.3.1, 6.4.0) | |
No matching distribution found for sendgrid==6.4.1 | |
root@test-bishoy:~/js-sdk# git branch | |
* development | |
root@test-bishoy:~/js-sdk# git branch -a | |
* development | |
remotes/origin/HEAD -> origin/development | |
remotes/origin/dependabot/npm_and_yarn/jumpscale/packages/admin/frontend/frontend_src/websocket-extensions-0.1.4 | |
remotes/origin/dev_reduce | |
remotes/origin/development | |
remotes/origin/development_fix_defaults | |
remotes/origin/development_fix_locations | |
remotes/origin/development_fix_logs_ui | |
remotes/origin/development_imporve_threebot_logging | |
remotes/origin/development_list_solutions | |
remotes/origin/development_loader_update | |
remotes/origin/development_movetests | |
remotes/origin/development_new_admin | |
remotes/origin/development_weblibs_fix | |
remotes/origin/master | |
root@test-bishoy:~/js-sdk# git pull | |
Already up to date. | |
root@test-bishoy:~/js-sdk# poetry update; poetry install | |
Updating dependencies | |
Resolving dependencies... (3.1s) | |
Package operations: 2 installs, 0 updates, 0 removals | |
- Installing sendgrid (6.4.1) | |
- Installing stellar-sdk (2.4.1) | |
Installing dependencies from lock file | |
No dependencies to install or update | |
- Installing js-sdk (0.1.0) | |
(reverse-i-search)`': ^C | |
root@test-bishoy:~/js-sdk# poetry shell | |
Spawning shell within /root/.cache/pypoetry/virtualenvs/js-sdk-vpmH-Z_5-py3.6 | |
root@test-bishoy:~/js-sdk# . /root/.cache/pypoetry/virtualenvs/js-sdk-vpmH-Z_5-py3.6/bin/activate | |
(js-sdk-vpmH-Z_5-py3.6) root@test-bishoy:~/js-sdk# | |
(js-sdk-vpmH-Z_5-py3.6) root@test-bishoy:~/js-sdk# | |
(js-sdk-vpmH-Z_5-py3.6) root@test-bishoy:~/js-sdk# jsng | |
JS-NG> | |
(js-sdk-vpmH-Z_5-py3.6) root@test-bishoy:~/js-sdk# jsng 'j.servers.threebot.start_default(wait=True) | |
> ' | |
2020-06-25 14:27:08.445 | ERROR | jumpscale.tools.errorhandler.errorhandler:_handle_exception:55 - FileNotFoundError: [Errno 2] No such file or directory: '/root/.config/jumpscale/secureconfig/jumpscale/servers/threebot/threebot/ThreebotServer/default/data' | |
Traceback (most recent call last): | |
> File "/root/.cache/pypoetry/virtualenvs/js-sdk-vpmH-Z_5-py3.6/bin/jsng", line 11, in <module> | |
load_entry_point('js-ng', 'console_scripts', 'jsng')() | |
└ <function load_entry_point at 0x7f7e924d87b8> | |
File "/root/.cache/pypoetry/virtualenvs/js-sdk-vpmH-Z_5-py3.6/src/js-ng/jumpscale/entry_points/jsng.py", line 24, in run | |
sys.exit(print(eval(sys.argv[1]))) | |
│ │ │ └ ['/root/.cache/pypoetry/virtualenvs/js-sdk-vpmH-Z_5-py3.6/bin/jsng', 'j.servers.threebot.start_default(wait=True)\n'] | |
│ │ └ <module 'sys' (built-in)> | |
│ └ <built-in function exit> | |
└ <module 'sys' (built-in)> | |
File "<string>", line 1, in <module> | |
File "/root/js-sdk/jumpscale/servers/threebot/__init__.py", line 12, in start_default | |
server = self.get("default") | |
│ └ <function Factory.get at 0x7f7e8d5320d0> | |
└ <jumpscale.core.base.factory.jumpscaleserversthreebotthreebotThreebotServer object at 0x7f7e923e56a0> | |
File "/root/.cache/pypoetry/virtualenvs/js-sdk-vpmH-Z_5-py3.6/src/js-ng/jumpscale/core/base/factory.py", line 200, in get | |
instance = self.find(name) | |
│ │ └ 'default' | |
│ └ <function Factory.find at 0x7f7e8d52fea0> | |
└ <jumpscale.core.base.factory.jumpscaleserversthreebotthreebotThreebotServer object at 0x7f7e923e56a0> | |
File "/root/.cache/pypoetry/virtualenvs/js-sdk-vpmH-Z_5-py3.6/src/js-ng/jumpscale/core/base/factory.py", line 122, in find | |
instance = getattr(self, name, None) | |
│ └ 'default' | |
└ <jumpscale.core.base.factory.jumpscaleserversthreebotthreebotThreebotServer object at 0x7f7e923e56a0> | |
File "/root/.cache/pypoetry/virtualenvs/js-sdk-vpmH-Z_5-py3.6/src/js-ng/jumpscale/core/base/factory.py", line 437, in getter | |
instance = factory._create_instance(name, **factory.store.get(name)) | |
│ │ │ │ │ └ 'default' | |
│ │ │ │ └ <property object at 0x7f7e8d537048> | |
│ │ │ └ <jumpscale.core.base.factory.jumpscaleserversthreebotthreebotThreebotServer object at 0x7f7e923e56a0> | |
│ │ └ 'default' | |
│ └ <function Factory._create_instance at 0x7f7e8d52ff28> | |
└ <jumpscale.core.base.factory.jumpscaleserversthreebotthreebotThreebotServer object at 0x7f7e923e56a0> | |
File "/root/.cache/pypoetry/virtualenvs/js-sdk-vpmH-Z_5-py3.6/src/js-ng/jumpscale/core/base/store.py", line 218, in get | |
config = json.loads(self.read(instance_name)) | |
│ │ │ │ └ 'default' | |
│ │ │ └ <function FileSystemStore.read at 0x7f7e8d52f378> | |
│ │ └ <jumpscale.core.base.store.FileSystemStore object at 0x7f7e923f2d68> | |
│ └ <function loads at 0x7f7e9259cc80> | |
└ <module 'jumpscale.data.serializers.json' from '/root/.cache/pypoetry/virtualenvs/js-sdk-vpmH-Z_5-py3.6/src/js-ng/jumpscale/d... | |
File "/root/.cache/pypoetry/virtualenvs/js-sdk-vpmH-Z_5-py3.6/src/js-ng/jumpscale/core/base/store.py", line 314, in read | |
return read_file_binary(path) | |
│ └ '/root/.config/jumpscale/secureconfig/jumpscale/servers/threebot/threebot/ThreebotServer/default/data' | |
└ <function read_bytes at 0x7f7e8d5a9268> | |
File "/root/.cache/pypoetry/virtualenvs/js-sdk-vpmH-Z_5-py3.6/src/js-ng/jumpscale/sals/fs/__init__.py", line 579, in read_bytes | |
return pathlib.Path(path).read_bytes() | |
│ │ └ '/root/.config/jumpscale/secureconfig/jumpscale/servers/threebot/threebot/ThreebotServer/default/data' | |
│ └ <class 'pathlib.Path'> | |
└ <module 'pathlib' from '/usr/lib/python3.6/pathlib.py'> | |
File "/usr/lib/python3.6/pathlib.py", line 1189, in read_bytes | |
with self.open(mode='rb') as f: | |
│ └ <function Path.open at 0x7f7e8ff5f1e0> | |
└ PosixPath('/root/.config/jumpscale/secureconfig/jumpscale/servers/threebot/threebot/ThreebotServer/default/data') | |
File "/usr/lib/python3.6/pathlib.py", line 1183, in open | |
opener=self._opener) | |
│ └ <function Path._opener at 0x7f7e8ff5ea60> | |
└ PosixPath('/root/.config/jumpscale/secureconfig/jumpscale/servers/threebot/threebot/ThreebotServer/default/data') | |
File "/usr/lib/python3.6/pathlib.py", line 1037, in _opener | |
return self._accessor.open(self, flags, mode) | |
│ │ │ │ └ 438 | |
│ │ │ └ 524288 | |
│ │ └ PosixPath('/root/.config/jumpscale/secureconfig/jumpscale/servers/threebot/threebot/ThreebotServer/default/data') | |
│ └ <member '_accessor' of 'Path' objects> | |
└ PosixPath('/root/.config/jumpscale/secureconfig/jumpscale/servers/threebot/threebot/ThreebotServer/default/data') | |
File "/usr/lib/python3.6/pathlib.py", line 387, in wrapped | |
return strfunc(str(pathobj), *args) | |
│ │ └ (524288, 438) | |
│ └ PosixPath('/root/.config/jumpscale/secureconfig/jumpscale/servers/threebot/threebot/ThreebotServer/default/data') | |
└ <built-in function open> | |
FileNotFoundError: [Errno 2] No such file or directory: '/root/.config/jumpscale/secureconfig/jumpscale/servers/threebot/threebot/ThreebotServer/default/data' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment