Multichain Explorer throws Unhashable type exception

+1 vote

I'm getting the following error when I try to run Multichain explorer. I have the latest version of multichain and explorer. Any clue how to solve this? 

Failed to catch up {'blkfile_offset': 0, 'blkfile_number': 1, 'chain_id': 1, 'loader': u'default', 'conf': None, 'dirname': u'/root/.multichain/primechain', 'id': 4}
Traceback (most recent call last):
  File "Mce/DataStore.py", line 2851, in catch_up
    if not store.catch_up_rpc(dircfg):
  File "Mce/DataStore.py", line 3083, in catch_up_rpc
    store.import_block(block, chain = chain)
  File "Mce/DataStore.py", line 1195, in import_block
    tx['tx_id'] = store.import_tx(tx, pos == 0, chain)
  File "Mce/DataStore.py", line 2115, in import_tx
    address = util.hash_to_address_multichain(vers, pubkey_hash, checksum)
  File "Mce/util.py", line 142, in hash_to_address_multichain
    vh += hash[pos:pos+5]
TypeError: unhashable type

 

 

asked Jan 11, 2017 by Cypher

1 Answer

+1 vote
 
Best answer

Are you using streams, and if so, is your blockchain running the previous protocol 10006? As explained in the README, the MultiChain Explorer does not yet support protocol 10007, which is used by default in the latest version of MultiChain.

answered Jan 12, 2017 by MultiChain
selected May 29, 2019 by Cypher
Yes, I'm using Streams. Only the binaries are the recent version. But the chain protocol is 10006.
OK, thanks, we'll get back to you shortly.
Issue has been identified and a fix is on the way.
Thank you Simon. Please notify me once it's done.
The fix has been committed to the explorer repo on Github.
...