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/blocks.py", line 128, in parse_tx
dispenser.parse(db, tx, message)
File "/counterparty-lib/counterpartylib/lib/messages/dispenser.py", 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/__init__.py", line 16, in server_main
server.main()
File "/counterparty-cli/counterpartycli/server.py", line 164, in main
server.start_all(db)
File "/counterparty-lib/counterpartylib/server.py", line 491, in start_all
blocks.follow(db)
File "/counterparty-lib/counterpartylib/lib/blocks.py", 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/blocks.py", line 207, in parse_block
raise e
File "/counterparty-lib/counterpartylib/lib/blocks.py", line 201, in parse_block
parse_tx(db, tx)
File "/counterparty-lib/counterpartylib/lib/blocks.py", line 147, in parse_tx
raise exceptions.ParseTransactionError("%s" % e)
counterpartylib.lib.exceptions.ParseTransactionError: name 'address' is not defined
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (9 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ops, It seems cloud build cached problem. I removed and rebuild the trigger ok now. Thanks, @chiguireitor
“address.py” should be in your counterpartylib/lib/ directory, please check if you have the latest repo on your libraries dir