threefoldtech / home

Starting point for the threefoldtech organization
https://threefold.io
Apache License 2.0
9 stars 4 forks source link

GE: JSX error #687

Closed hteibler closed 4 years ago

hteibler commented 4 years ago

after been away 4 hrs from my computer the same command ( which was working before) got an error: see: https://github.com/threefoldtech/home/issues/677

j.clients.stellar.ht1
Mon 11 19:18:22 /BASECLASSES/Attr.py - 39 - getattr : EXCEPTION: try to get attribute: 'ht1', instance did not exist, was also not a method or property, was on 'stellarfactory' --TRACEBACK------------------

in 1 /sandbox/lib/jumpscale/Jumpscale/core/BASECLASSES/Attr.py in __getattr__ 39 % (name, self._key) ----------------------------- Mon 11 19:18:22 /BASECLASSES/Attr.py - 39 - __getattr__ : EXCEPTION: try to get attribute: 'ht1', instance did not exist, was also not a method or property, was on 'stellarfactory' --TRACEBACK------------------ in 1 /sandbox/lib/jumpscale/Jumpscale/core/BASECLASSES/Attr.py in __getattr__ 39 % (name, self._key) ----------------------------- try to get attribute: 'ht1', instance did not exist, was also not a method or property, was on 'stellarfactory'
abdulgig commented 4 years ago

If the wallet is there, you can still retrieve it using the get method. Try this,

wallet = j.clients.stellar.get('ht1')

hteibler commented 4 years ago

OK :
JSX>j.clients.stellar.get('ht1') is working and JSX> j.clients.stellar.ht1 is now working again

very unstable behavior !

rkhamis commented 4 years ago

reopened because this should be fixed

waleedhammam commented 4 years ago

.get() actually creates a new instance if it's not exists that's why it doesn't fail. was it in another kosmos shell ?

hteibler commented 4 years ago

sorry , but this is more than 1 week ago it was all in the same shell

rkhamis commented 4 years ago

@hteibler please reopen if you hit it again