Skip to content
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

I deployed the app locally and tried to signup a student I got below error #15

Open
hafs-r opened this issue Jul 17, 2020 · 10 comments
Open

Comments

@hafs-r
Copy link

hafs-r commented Jul 17, 2020

Exception Type:	OperationalError
Exception Value:	
no such table: main.classroom_student__old
@hafs-r
Copy link
Author

hafs-r commented Jul 17, 2020

The issue was related to subject data in database, it is working fine when I cleaned existing data and migrated everything as fresh.

@hafs-r
Copy link
Author

hafs-r commented Jul 20, 2020

closing as it is solved

@MAHANTH-wq
Copy link

how was it fixed ,

@warisanwar
Copy link

warisanwar commented Jul 31, 2020

how was it fixed ,

Change the Django version in requirements.txt file to Django==2.2.7
Install them and follow the steps as mentioned in the repo.

@MAHANTH-wq
Copy link

how was it fixed ,

Change the Django version in requirements.txt file to Django==2.2.7.
Install them and follow the steps as mentioned in the repo.

Screenshot (10)
It's showing an error

@warisanwar
Copy link

Sorry, I guess the error is because of the full-stop at the end of 2.2.7 , just keep it Django==2.2.7
And it'll work probably.

@MAHANTH-wq
Copy link

Sorry, I guess the error is because of the full-stop at the end of 2.2.7 , just keep it Django==2.2.7
And it'll work probably.

Screenshot (11)
ya i have installed it successfully ...but when i tried to sign up as a student it is showing the following
Screenshot (12)
operational error

@MAHANTH-wq
Copy link

The issue was related to subject data in database, it is working fine when I cleaned existing data and migrated everything as fresh.

Can u elaborate how to do it..

@lucyd42
Copy link

lucyd42 commented Aug 10, 2020

For those still having this error, Here is what I did

  • Changed the Django version number to 2.2.7 in requirements.txt ( This step isnt necessary I think)
  • Remove db.sqlite file from django folder
  • Run 'python manage.py migrate'
  • Start server and Create a Student account first, then create a teacher account, order is important.

Cheers

@BasakUlker
Copy link

When I executed this project I got this error too. And, solutions in here didn't work. If this issue is still open, I would like to work on the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants