Closed Elijen closed 6 years ago
When I am calling receiving_address method the following way, I am getting TransactionManagementError exception.
address = user.wallet.receiving_address() print address
Does anybody have idea why is this happening or how can I debug it?
Traceback:
Traceback: File "/Users/Elijen/Projects/Python/bitstore/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response 114. response = wrapped_callback(request, *callback_args, **callback_kwargs) File "/Users/Elijen/Projects/Python/bitstore/bitstore/bitstore/views/invoice.py" in create 12. addr = invoice.wallet.receiving_address(fresh_addr=True) File "/Users/Elijen/Projects/Python/bitstore/lib/python2.7/site-packages/django_bitcoin/models.py" in receiving_address 363. addr = new_bitcoin_address() File "/Users/Elijen/Projects/Python/bitstore/lib/python2.7/site-packages/django_bitcoin/models.py" in new_bitcoin_address 123. print "wallet transaction concurrency:", bp.address File "/Users/Elijen/Projects/Python/bitstore/lib/python2.7/site-packages/django/db/transaction.py" in __exit__ 393. self.exiting(exc_type, self.using) File "/Users/Elijen/Projects/Python/bitstore/lib/python2.7/site-packages/django/db/transaction.py" in exiting 436. leave_transaction_management(using=using) File "/Users/Elijen/Projects/Python/bitstore/lib/python2.7/site-packages/django/db/transaction.py" in leave_transaction_management 78. get_connection(using).leave_transaction_management() File "/Users/Elijen/Projects/Python/bitstore/lib/python2.7/site-packages/django/db/backends/__init__.py" in leave_transaction_management 315. "Transaction managed block ended with pending COMMIT/ROLLBACK")
@Elijen did you find a solution ? thanks.
@Elijen any solution to this issue ? thank you
When I am calling receiving_address method the following way, I am getting TransactionManagementError exception.
Does anybody have idea why is this happening or how can I debug it?
Traceback: