GithubHelp home page GithubHelp logo

Comments (2)

tloriato avatar tloriato commented on August 19, 2024

Managed to reproduce it and create the smallest possible example. It fails when the "details" object field in "issue(From)" is:

{
      "key1": "medium size string value just to fill space",
      "key2": "medium size string value just to fill space",
      "key3": "medium size string value just to fill space",
      "key4": "medium size string value just to fill space",
      "key5": "medium size string value just to fill space"
}

ps: the assetname has 32 characters

Remove "key5" and it works, insert it and it doesn't. I believe it's something related to total size? Very strange for python.

Node.js script if you would like to test (https://gist.github.com/tloriato/5f0fbb42426aae28850d94dd72d8c612)

from multichain-explorer.

tloriato avatar tloriato commented on August 19, 2024

Another error in the same function:

explorernode_1  | Traceback (most recent call last):
explorernode_1  |   File "/root/.local/lib/python2.7/site-packages/Mce/DataStore.py", line 3157, in catch_up
explorernode_1  |     store.catch_up_dir(dircfg)
explorernode_1  |   File "/root/.local/lib/python2.7/site-packages/Mce/DataStore.py", line 3819, in catch_up_dir
explorernode_1  |     store.import_blkdat(dircfg, ds, blkfile['name'])
explorernode_1  |   File "/root/.local/lib/python2.7/site-packages/Mce/DataStore.py", line 3957, in import_blkdat
explorernode_1  |     store.import_block(b, chain = chain)
explorernode_1  |   File "/root/.local/lib/python2.7/site-packages/Mce/DataStore.py", line 1442, in import_block
explorernode_1  |     tx['tx_id'] = store.import_and_commit_tx(tx, pos == 0, chain)
explorernode_1  |   File "/root/.local/lib/python2.7/site-packages/Mce/DataStore.py", line 2475, in import_and_commit_tx
explorernode_1  |     tx_id = store.import_tx(tx, is_coinbase, chain)
explorernode_1  |   File "/root/.local/lib/python2.7/site-packages/Mce/DataStore.py", line 2326, in import_tx
explorernode_1  |     opdrop_type, val = util.parse_op_drop_data(data, chain)
explorernode_1  |   File "/root/.local/lib/python2.7/site-packages/Mce/util.py", line 426, in parse_op_drop_data
explorernode_1  |     return func(data)
explorernode_1  |   File "/root/.local/lib/python2.7/site-packages/Mce/util.py", line 439, in parse_op_drop_data_10007
explorernode_1  |     retval = parse_new_issuance_metadata_10007(data[5:])
explorernode_1  |   File "/root/.local/lib/python2.7/site-packages/Mce/util.py", line 728, in parse_new_issuance_metadata_10007
explorernode_1  |     if k in json_data:
explorernode_1  | TypeError: argument of type 'long' is not iterable

I believe he's trying to converted a string like "65496845000165" to long? That's the only "long" amount in my payload.

from multichain-explorer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.