Comments (4)
Hello,
Please update and check if c0e1de4 solves your problem.
from oioioi.
I want to upgrade with these commands:
pip install -e git://github.com/sio2project/oioioi.git#egg=oioioi
./manage.py syncdb
./manage.py migrate
./manage.py collectstatic
./manage.py supervisor restart all
but when I want to run ./manage.py migrate, I encounter these errors:
FATAL ERROR - The following SQL query failed: CREATE TABLE "contests_contest" ("id" varchar(32) NOT NULL PRIMARY KEY, "name" varchar(255) NOT NULL, "controller_name" varchar(255) NOT NULL, "creation_date" datetime NOT NULL);
The error was: table "contests_contest" already exists
What can I do?
from oioioi.
It's probably caused by previously missing migrations.
Try to run ./manage.py migrate contests 0001_initial --fake
. Do the same for any other migration failing with table "xxx_yyy" already exists
substituting contests
with xxx
.
from oioioi.
Thanks
The problem was solved
from oioioi.
Related Issues (20)
- Explanation of runtime errors HOT 12
- Add a way to see changes to submissions after task rejudge
- Page with important stats for Jury HOT 15
- Fix hardcorded path
- DifficultyTag's aren't sorted HOT 1
- /participant_data/ too many queries HOT 2
- [Forum] Display who upvoted/downvoted each post
- [Forum] Add a badge for posts of the contest admins HOT 2
- [Scoreboard] Allow contest admins to see scoreboard that is currently displayed to contestants
- [Export Submissions] Allow contest admins to export submissions that were used for the final scoring HOT 1
- [Submission View] Display how many points a contestant gained by submitting this solution
- [Files and Tests] Prioritize files over tests in the files and tests view
- Migration 0002 in OI app breaks clearing database HOT 3
- Submission error hints are not appearing for testruns HOT 5
- No link to problem upload status page
- Use different color to differentiate between PUBLIC and PRIVATE in Q&A section
- Add support fot extra arguments in easy_toolbox.py
- Round dates & times shown on tasks page are invalid. HOT 1
- Python support HOT 2
- Non-contest package upload view unavailable
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from oioioi.