tezos-reward-distributor-organization / tezos-reward-distributor

Tezos Reward Distributor (TRD): A reward distribution software for tezos bakers.
https://tezos-reward-distributor-organization.github.io/tezos-reward-distributor/
GNU General Public License v3.0
87 stars 50 forks source link

not enough values to unpack (expected 4, got 3) #354

Closed gaia closed 3 years ago

gaia commented 3 years ago

Describe the bug Did a git pull today and

2021-01-11 11:56:19,497 - consumer0 - Error at reward payment
Traceback (most recent call last):
  File "/home/tezos/scripts/tezos-reward-distributor/src/pay/payment_consumer.py", line 109, in run
    batch_payer.pay(payment_items, dry_run=self.dry_run)
ValueError: not enough values to unpack (expected 4, got 3)

for a main.py -M 3 -P tzkt -Dp -D -C 310

worked fine with the above cmd before today's git pull (I usually git pull on every payout)

SemElVik commented 3 years ago

same

python3 src/main.py -C 316 -D -P tzkt -M 3 -R -5

2021-01-14 12:36:55,220 - consumer0 - [Plugins] Not sending notification; no plugins enabled
2021-01-14 12:36:55,220 - consumer0 - Error at reward payment
Traceback (most recent call last):
  File "/home/alex/tezos-reward-distributor/src/pay/payment_consumer.py", line 109, in run
    batch_payer.pay(payment_items, dry_run=self.dry_run)
ValueError: not enough values to unpack (expected 4, got 3)

~/tezos-reward-distributor$ git log --stat commit 6a5ba1ca6bf63c5211796c1b7b2eaecd215be6ae