Closed asadakbar closed 1 year ago
I don't know python but from my reading of the ynam_secrets.py file, in the loadSecrets function, the secrets.json file is trying to get loaded. But I don't see anywhere in the quicksetup code where the file is initially created. I created an empty .ynam/secrets.json file and ran the quickstart command again, but am now hitting this error WARNING:ynam:Error reading /Users/Asad/.ynam/secrets.json; assuming it to be empty
.
The second error you get shouldn't be a stopping error. If the secrets file is empty or malformed, the idea is that it's just overwritten with whatever new values you supply. Is that not happening?
The first issue seems to be because I wasn't creating the right directory structure. I added a line that makes sure the .ynam
directory exists before trying to create a file in it.
Thanks for the change. It works now.
Thanks for creating ynam. I installed it through pip and then ran
ynam --quickstart
. After I enter my mint username, I hit this errorI didn't see anything about creating a .ynam folder or secrets.json file in the readme, so I'm wondering if there is an install step I'm missing.