-
Notifications
You must be signed in to change notification settings - Fork 175
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
Banned competitors page bugs #9652
Comments
We might also want to move the button to the top of the list, instead of having it at the bottom? As the list can be quite long |
Yes, that looks like a good suggestion. That can also be implemented. Whoever is interested to work on this, you can find this page by logging in as WDC Leader and going to WDC Panel. |
How do I login as a WDC Leader in my local setup |
If you've imported the developer database dump onto your machine, you can use |
When I am trying to run Error response from daemon: Ports are not available: exposing port TCP 0.0.0.0:3306 -> 0.0.0.0:0: listen tcp 0.0.0.0:3306: bind: address already in use, So I have changed the ports in docker-compose to as follows:
on running rails | A server is already running. Check /app/tmp/pids/server.pid. I deleted all the containers and build it again to be sure, but I still am getting this issue. Can you share any resource on how to fix this? I am new to it so I am not familiar with where to look for regarding WCA docs |
@darshanvss can you try deleting |
@danieljames-dj I have tried deleting it before the server starts, in the last line of dockerfile,
but it is also resulting in the same error |
@gregorbg After removing /tmp/pids entirely and running docker setup is working(did not work with default port). Now the App is running 👍 . When I opened the rankings, I am seeing an empty table. Is that expected outcome or values from test database be populated? I have gone through the Quickstart guide and it has mentioned On searching the logs for the echo msg, I have not found it. I have downloaded WCA developer DB dump zip as @maxidragon has mentioned in a previous comment, but I am not sure how to proceed from here. |
You can run |
@maxidragon I have run
And it is stuck at this error line. When trying to load the rankings page, I am getting a "ActiveRecord::PendingMigrationError On running
But it did not resolve the ActiveRecord::PendingMigrationError |
The ActiveRecord error you're experiencing should resolve upon a successful db import. I have 2 suggestions for getting the import to work:
|
This looks like the database is either down or not accessible. Could you check Docker Desktop and see if
If the db is down when this happens, it may be because it can't access the 4gb of RAM it needs - in which case, you need to increase your resource allocation in Docker (see my previous comment). If resource allocation isn't the issue, then it is probably related to the port number change. |
i have run this is the output
|
that is an error coming from webpack. look at your console output for more info |
@FinnIckler I have stopped the containers and started them again, that seems to fix the Issue. I am no longer getting this compilation problem |
How do I prevent changing the formatting of the code for easier reviewing? I am using prettier. I was not able to prevent it. Is there any linting option that I can run before raising a PR? |
Thanks a lot for working on this, @darshanvss. Not sure if your question is still relevant as the code is merged - but the answer is that you can prevent prettier by disabling it. For linting you can use eslint, which will do the formatting as well. Hope this helps. I'm closing this bug as the code is now merged. |
This issue is completely in React side.
There are two bugs in Banned Competitors page:
The text was updated successfully, but these errors were encountered: