BlockIo / block_io-python

Python library for Block.io
MIT License
29 stars 72 forks source link

withdraw_funds #12

Closed mrprofficient closed 6 years ago

mrprofficient commented 7 years ago

when i am trying to withdraw funds from one wallet to other wallet it is throwing the error: TypeError: Odd-length string

from_label : deposit279943213 to_label: withdraw294302757

and the Traceback is: File "C:\Users\Co-Admin\workspace\subcryptshares\Txns\Txns.py", line 98, in pay_sponsor blockio.withdraw_funds(source, str(balance), target) File "C:\Users\Co-Admin\workspace\subcryptshares\SubBlockio\Blockio.py", line 26, in withdraw_funds reply = self.block_io.withdraw_from_addresses(amounts=amount, from_addresses=source, to_addresses=target) File "C:\Python27\lib\site-packages\block_io__init__.py", line 171, in withdraw_hook return self.withdraw_meta(attr, **kwargs) File "C:\Python27\lib\site-packages\block_io__init.py", line 237, in withdraw_meta key = self.Helper.extractKey(response['data']['encrypted_passphrase']['passphrase'], self.encryption_key) File "C:\Python27\lib\site-packages\block_io\init__.py", line 100, in extractKey return BlockIo.Key.from_passphrase(unhexlify(decrypted)) TypeError: Odd-length string

doersf commented 6 years ago

Errors like this mean your PIN is incorrect.