-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RuntimeError: Squad is incomplete #683
Comments
A few comments/ideas:
If none of these fix it, what command are you running and could you post more of the error message you're getting? |
Also, if you're running individual commands separately, before the season starts only |
Traceback (most recent call last): Same thing Happens here ! |
This Happens When I try to run airsenal_make_squad --num_gameweeks 3 |
Hi @AbdullaMashaly , have you tried all the steps in my comment above, particularly |
Yes I tried all the stuff from above but still have the same problem |
Hmm not sure what's going on then, could you check you get version |
Hi @AbdullaMashaly , also not sure what is going on, but here are a few debugging tips/sanity checks:
|
airsenal_make_squad --algorithm normal worked but then ran into another problem when making transfers not sure what is wrong ... anyways thanks for your help |
If it was just |
Providing some additional context as I am still receiving the error. However I haven't tried changing the algorithm yet. I updated the DB using the commands and I am running the individual commands not the pipeline. I have attached a screenshot of the error. I also want to run a wildcard for gw4 so I am assuming I am running the right switches. |
I also ran the print statements as suggested above, with the following output and looks good. [ec2-user@ip-172-31-0-130 ~]$ python3.9
|
Hi @RajeshTailor1! I don't think the choice of algorithm is relevant here - this is just for the initial squad selection via Another thing to check then would be that after doing
If that looks ok, then, somewhere in the optimization itself it is failing to do the transfers its trying to do... I think the only way to debug this would be to put some print statements into the |
Just wanted to add - this is now working. Nothing was done differently or changed but seems to be working ok now. Could be something peculiar with the 1st or 2nd game week and the team changes. Actually I lie I did do something differently this time I decided to not add the switch for num_thread. I'll try to add that back in next time see what happens. |
I have just set this up for the new season I have already setup a squad for my FPL team however I did setup my FPL Team ID in the env prior to running the make squad routine.
I think this error has come up a few times in the past but for some reason I can't remember how I resolved it the last time.
The text was updated successfully, but these errors were encountered: