Closed Coop21 closed 1 year ago
can you run sudo pip3 install yahoo-oauth
?
On Thu., Sep. 8, 2022, 7:23 p.m. Coop21, @.***> wrote:
I followed the instructions the best I could. Ran the yahoo install both in the fantasy_football_scoreboard directory and in the pi directory. But still getting this. I also ran the command to create the auth folder and manually created the token.json with the auth code from the app program once I authorized it. Any help would be appreciated. Thank you.
[image: image] https://user-images.githubusercontent.com/80079281/189242150-6a9518e9-6da6-46b2-bf25-9215d6a1abc4.png
— Reply to this email directly, view it on GitHub https://github.com/mikemountain/fantasy-football-scoreboard/issues/35, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAY2XVR6MAULNJNHOSXBLDDV5JYPRANCNFSM6AAAAAAQIGMER4 . You are receiving this because you are subscribed to this thread.Message ID: @.***>
So that worked, but now I get this...
Looks like a config issue, there might be too many curly braces because it's saying there is extra data. Can you check your config.json file and make sure it's all lined up?
I bet I know the issue. I had to manually create the token.json file. So I bet that's the problem. Can you list the format of that json file below? The main config file looks fine.
so I think I figured out the json thing. I get to the point where I enter in my code (I'm using Yahoo). Then I get this...
the auth/token.json file should look like this:
{ "access_token": <very long string here>, "consumer_key": <consumer key string here>, "consumer_secret": <consumer secret string here>, "guid": null, "refresh_token": <refresh token string here>, "token_time": <time here>, "token_type": "bearer" }
this should be autogenerated by the code; why did you have to manually create the token.json file?
Probably because I don't know what the hell I'm doing.
I scrapped the entire thing and started from scratch. I think I'm past the token and json stuff. Now it's this...
Hahaha no worry dude! This helps me figure out what I need to clarify in my readme/install scripts.
If there is a logos directory already, you can run sudo chown -R $(whoami):$(whoami) logos
and it'll hopefully work after that.
If there isn't a logos directory, then you should be able to just run mkdir logos
and then run the program as usual.
Can't be at my PC right now but want to make sure I can get this working for you, let me know if this works!
Making progress. Added the folder. Now this. Ran the chown command as well. Maybe I need read/write privileges to the folder?
Can you paste the output of ls -haltr
?
On Fri., Sep. 9, 2022, 8:42 p.m. Coop21, @.***> wrote:
Making progress. Added the folder. Now this. Ran the chown command as well. Maybe I need read/write privileges to the folder?
[image: image] https://user-images.githubusercontent.com/80079281/189461893-294c5537-902d-4170-a191-64a1f1619ffe.png
— Reply to this email directly, view it on GitHub https://github.com/mikemountain/fantasy-football-scoreboard/issues/35#issuecomment-1242576976, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAY2XVSDV23AJ4OGRHLSTGLV5PKNZANCNFSM6AAAAAAQIGMER4 . You are receiving this because you commented.Message ID: @.***>
It's working! I was able to change the directory permissions using winscp.
Sent you some beer money. Have a few cold ones on me, brother.
Hell yeah brother, cheers! Enjoy the board, and feel free to open a new ticket if more issues happen.
I followed the instructions the best I could. Ran the yahoo install both in the fantasy_football_scoreboard directory and in the pi directory. But still getting this. I also ran the command to create the auth folder and manually created the token.json with the auth code from the app program once I authorized it. Any help would be appreciated. Thank you.