I get an error that transaction_query is referenced before assignment. I tested it with that commented out and I can create a checkbook and total but no transaction.