Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

NameError: name 'address' is not defined

See original GitHub issue
  • Latest version
  • Testnet
[2021-01-06 01:56:02][WARNING] ParseTransactionError for tx be2185fe8e7fd3f9d7c7273e0c59fd0e83db03cb6ddd3c83af75a29aef619132: name 'address' is not defined
[2021-01-06 01:56:02][ERROR] Unhandled Exception
Traceback (most recent call last):
  File "/counterparty-lib/counterpartylib/lib/", line 128, in parse_tx
    dispenser.parse(db, tx, message)
  File "/counterparty-lib/counterpartylib/lib/messages/", line 142, in parse
    action_address = address.unpack(message[LENGTH:LENGTH+21])
NameError: name 'address' is not defined

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/bin/counterparty-server", line 9, in <module>
    load_entry_point('counterparty-cli', 'console_scripts', 'counterparty-server')()
  File "/counterparty-cli/counterpartycli/", line 16, in server_main
  File "/counterparty-cli/counterpartycli/", line 164, in main
  File "/counterparty-lib/counterpartylib/", line 491, in start_all
  File "/counterparty-lib/counterpartylib/lib/", line 1405, in follow
    new_ledger_hash, new_txlist_hash, new_messages_hash, found_messages_hash = parse_block(db, block_index, block_time)
  File "/counterparty-lib/counterpartylib/lib/", line 207, in parse_block
    raise e
  File "/counterparty-lib/counterpartylib/lib/", line 201, in parse_block
    parse_tx(db, tx)
  File "/counterparty-lib/counterpartylib/lib/", line 147, in parse_tx
    raise exceptions.ParseTransactionError("%s" % e)
counterpartylib.lib.exceptions.ParseTransactionError: name 'address' is not defined

cc @chiguireitor

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

longhoangwkmcommented, Jan 6, 2021

Ops, It seems cloud build cached problem. I removed and rebuild the trigger ok now. Thanks, @chiguireitor

chiguireitorcommented, Jan 6, 2021

“” should be in your counterpartylib/lib/ directory, please check if you have the latest repo on your libraries dir

Read more comments on GitHub >

github_iconTop Results From Across the Web

NameError: name 'Address' is not defined (when using python ...
I am trying to access all objects from a class Address, but I have no idea why I get NameError: name 'Address' is...
Read more >
Python nameerror name is not defined Solution - Career Karma
A NameError is raised when you try to use a variable or a function name that is not valid. In Python, code runs...
Read more >
NameError: name 'X' is not defined in Python | bobbyhadz
The Python "NameError: name is not defined" occurs when we try to access a variable or function that is not defined or before...
Read more >
Python Error: Name Is Not Defined. Let's Fix It - Codefather
The Python NameError occurs when Python cannot recognise a name in your program. A name can be either related to a built-in function...
Read more >
NameError: Name plot_cases_simple is Not Defined
In Python, the NameError occurs when you try to use a variable, function, or module that doesn't exist or wasn't used in a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found