Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - komodo_island

Pages: [1]
1
Technical Support / Re: Installation of Bitshares2-light on Linux debian
« on: September 29, 2017, 10:12:26 am »
I encounter similar issue while installing the wallet:

 sudo dpkg -i BitShares2-light_2.0.170915_amd64.deb
(Reading database ... 187 files and directories currently installed.)
Preparing to unpack BitShares2-light_2.0.170915_amd64.deb ...
Unpacking bitshares2-light (2.0.170915-140) over (2.0.170915-140) ...
dpkg: dependency problems prevent configuration of bitshares2-light:
 bitshares2-light depends on gconf2; however:
  Package gconf2 is not installed.
 bitshares2-light depends on gconf-service; however:
  Package gconf-service is not installed.
 bitshares2-light depends on libnotify4; however:
  Package libnotify4 is not installed.
 bitshares2-light depends on libappindicator1; however:
  Package libappindicator1 is not installed.
 bitshares2-light depends on libxtst6; however:
  Package libxtst6 is not installed.
 bitshares2-light depends on libnss3; however:
  Package libnss3 is not installed.
 bitshares2-light depends on libxss1; however:
  Package libxss1 is not installed.

dpkg: error processing package bitshares2-light (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 bitshares2-light

Does anyone got a solution for this?

2
Technical Support / market.buy and sell exception
« on: September 29, 2017, 09:18:21 am »
Do anyone know why this exception occurs:

In [102]: print(market.sell(1,1.5))
---------------------------------------------------------------------------
AssertionError                            Traceback (most recent call last)
<ipython-input-102-c82c5bda37e6> in <module>()
----> 1 print(market.sell(1,1.5))

/usr/local/lib/python3.6/site-packages/bitshares/market.py in sell(self, price, amount, expiration, killfill, account, returnOrderId)
    530             self.bitshares.blocking = returnOrderId
    531
--> 532         tx = self.bitshares.finalizeOp(order, account["name"], "active")
    533
    534         if returnOrderId:

/usr/local/lib/python3.6/site-packages/bitshares/bitshares.py in finalizeOp(self, ops, account, permission)
    200         else:
    201             # default behavior: sign + broadcast
--> 202             self.txbuffer.appendSigner(account, permission)
    203             self.txbuffer.sign()
    204             return self.txbuffer.broadcast()

/usr/local/lib/python3.6/site-packages/bitshares/transactionbuilder.py in appendSigner(self, account, permission)
     71                 account = Account(account, bitshares_instance=self.bitshares)
     72                 required_treshold = account[permission]["weight_threshold"]
---> 73                 keys = fetchkeys(account, permission)
     74                 if permission != "owner":
     75                     keys.extend(fetchkeys(account, "owner"))

/usr/local/lib/python3.6/site-packages/bitshares/transactionbuilder.py in fetchkeys(account, perm, level)
     46             r = []
     47             for authority in account[perm]["key_auths"]:
---> 48                 wif = self.bitshares.wallet.getPrivateKeyForPublicKey(authority[0])
     49                 if wif:
     50                     r.append([wif, authority[1]])

/usr/local/lib/python3.6/site-packages/bitshares/wallet.py in getPrivateKeyForPublicKey(self, pub)
    220                 raise NoWalletException
    221
--> 222             return self.decrypt_wif(self.keyStorage.getPrivateKeyForPublicKey(pub))
    223
    224     def removePrivateKeyFromPublicKey(self, pub):

/usr/local/lib/python3.6/site-packages/bitshares/wallet.py in decrypt_wif(self, encwif)
    182         except:
    183             pass
--> 184         assert not self.locked()
    185         return format(bip38.decrypt(encwif, self.masterpassword), "wif")

I use uptick to buy/sell with no problem but when using the pybitshares module this occurs ..

Pages: [1]