NS1
November 4, 2020, 7:55am
1
I got payment issues for the month of October. I posted in the forum and I was suggested to use the script “earnings.py” to get the payout history.
I’m a noob! I’m don’t know anything about command line or python. Please can someone post a step by step guide on how to use the “earnings.py” script on a GUI windows version node? Thank you.
Alexey
November 4, 2020, 8:22am
2
Install the python
from the Microsoft Store (!!)
Download RAW script from the https://github.com/ReneSmeekes/storj_earnings/raw/master/earnings.py and save it
Run from the PowerShell:
python ~\Downloads\earnings.py D:\storage 2020-10
Where is D:\
is a disk with data, the storage
is a folder where all databases (*.db
) are located
1 Like
twl
November 4, 2020, 8:31am
3
Please don’t open up multiple threads for 1 question…
Click the Windows start button, type “cmd” and press enter - this should open a command line window
then you type in the following and press enter again:
python earnings.py /path/to/storj/data 2020-07
Adjust the /path/to/storj/data and 2020-07 according to your needs.
@Alexey can you please merge or delete?
1 Like
Alexey
November 4, 2020, 8:36am
4
Thank you for suggestion!
But I’ll move it to the faq section instead. This will be a setup guide for the earnings.py
1 Like
NS1
November 4, 2020, 8:44am
5
Its not working, am I doing something wrong?
Alexey
November 4, 2020, 8:57am
6
Please, run the python
.
Seems the latest Windows require to install it from the Microsoft Store
1 Like
twl
November 4, 2020, 10:01am
7
try running it via “python3” instead of “python”
NS1
November 4, 2020, 3:22pm
8
The latest Python from Microsoft Store worked! Thank you.
2 Likes