threefoldtecharchive / jumpscaleX_archived

Apache License 2.0
1 stars 6 forks source link

ZOS client :issue with connecting #742

Closed ranatrk closed 5 years ago

ranatrk commented 5 years ago
AhmedHanafy725 commented 5 years ago

Update branch: development_jumpscale commit: 7229c13485c925726fb10228bf1ebebc1dd1fc03 Now there is another error when trying to get a client from zos client. zos_node = j.clients.zos.get(name="test_zos_node",host=host_ip,password=jwt)

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/sandbox/lib/jumpscale/Jumpscale/core/BASECLASSES/JSConfigs.py", line 107, in get
    jsconfig = self._new(name=name, **kwargs)
  File "/sandbox/lib/jumpscale/Jumpscale/core/BASECLASSES/JSConfigs.py", line 94, in _new
    jsconfig = jsconfig_klass(parent=self, jsxobject=jsxobject)
  File "/sandbox/lib/jumpscale/Jumpscale/core/BASECLASSES/JSBase.py", line 53, in __init__
    self._init(**kwargs)
  File "/sandbox/lib/jumpscale/Jumpscale/clients/zero_os/ZeroOSClient.py", line 24, in _init
    port=self.port,
  File "/sandbox/lib/jumpscale/Jumpscale/sal_zos/node/Node.py", line 57, in port
    return self.client.port
  File "/sandbox/lib/jumpscale/Jumpscale/core/BASECLASSES/Attr.py", line 43, in __getattr__
    raise RuntimeError(msg)
RuntimeError: could not find attribute:client in zeroosclient

could not find attribute:client in zeroosclient
Dinaamagdy commented 5 years ago

have same error like ahmed could not find attribute:client in zeroosclient

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/sandbox/lib/jumpscale/Jumpscale/core/BASECLASSES/JSConfigs.py", line 107, in get
    jsconfig = self._new(name=name, **kwargs)
  File "/sandbox/lib/jumpscale/Jumpscale/core/BASECLASSES/JSConfigs.py", line 94, in _new
    jsconfig = jsconfig_klass(parent=self, jsxobject=jsxobject)
  File "/sandbox/lib/jumpscale/Jumpscale/core/BASECLASSES/JSBase.py", line 53, in __init__
    self._init(**kwargs)
  File "/sandbox/lib/jumpscale/Jumpscale/clients/zero_os/ZeroOSClient.py", line 24, in _init
    port=self.port,
  File "/sandbox/lib/jumpscale/Jumpscale/sal_zos/node/Node.py", line 57, in port
    return self.client.port
  File "/sandbox/lib/jumpscale/Jumpscale/core/BASECLASSES/Attr.py", line 43, in __getattr__
    raise RuntimeError(msg)
RuntimeError: could not find attribute:client in zeroosclient
waleedhammam commented 5 years ago

resolved at https://github.com/threefoldtech/jumpscaleX/commit/aac15ad2c53ee669aae35b4c1dfb0b684450ce14

Pishoy commented 5 years ago

verified image