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

payment error. Cycle 669 #687

Closed SemElVik closed 1 year ago

SemElVik commented 1 year ago

I'm using tzkt api and got this error. commit/c852b20ec30264c4cec1747696735f84edd42d48



2023-11-06 10:24:05,436 - MainThread - INFO - Loading baking configuration file /home/tz/pymnt/cfg/tz1ZCLE7.................... .yaml
2023-11-06 10:24:05,942 - MainThread - ERROR - [Process Life Cycle completing With Failure] Error Details: 'str' object has no attribute 'isEstimated'
2023-11-06 10:24:05,943 - MainThread - INFO - TRD is shutting down...
......
vkresch commented 1 year ago

@SemElVik thanks for the report. Please use commit https://github.com/tezos-reward-distributor-organization/tezos-reward-distributor/commit/d4fd27a8dce2d5de8a0454f8a7e76491ca3802c0 for now. I will look into it.

SemElVik commented 1 year ago

he works. thx

SemElVik commented 1 year ago

/commit/100902ea9195764a23c3728def2319f83629dc06

python3 src/main.py -C 669 tzkt -M 3 -D


2023-11-07 09:57:50,953 - MainThread - INFO - BAKING ADDRESS is tz1tz1ZCLE7tz1ZCLE7tz1ZCLE7tz1ZCLE7
2023-11-07 09:57:50,953 - MainThread - INFO - PAYMENT ADDRESS is tz1tz1ZCLE7tz1ZCLE7tz1ZCLE7tz1ZCLE7
2023-11-07 09:57:50,954 - MainThread - INFO - --------------------------------------------
2023-11-07 09:57:50,955 - MainThread - INFO - [Plugins] No plugins enabled
2023-11-07 09:57:50,956 - MainThread - ERROR - [Process Life Cycle completing With Failure] Error Details: Attribute tzpro_api_key not found in application configuration.
2023-11-07 09:57:50,957 - MainThread - INFO - TRD is shutting down...```
jdsika commented 1 year ago

@SemElVik exactly what the error says :)

Add the parameter to the configuration. If you use tzkt you can leave an empty string and if you want to use tzpro you can make a free account (until 100k calls per month) at tzpro.io