Blockchain-based-E-Voting-Simulation icon indicating copy to clipboard operation
Blockchain-based-E-Voting-Simulation copied to clipboard

it is showing the error that "no such table : simulation_vote".How can i resolve it

Open Chahat504 opened this issue 5 years ago • 4 comments

Chahat504 avatar Apr 21 '20 17:04 Chahat504

how can i resolve "no such table " issue

abdulbasitkhan211 avatar Dec 30 '20 07:12 abdulbasitkhan211

I am having the same issue here. This is particularly on the "Chain" section of the code. All the buttons like "start", "see transactions", "see blocks" are causing below errors image

reemaRaven avatar Apr 11 '21 19:04 reemaRaven

Hi, Just FYI, I resolved the issue with the below commands :

  1. First clear out your migrations and pycache directories. Also the db.sqlite.
  2. Then run this command : "python manage.py migrate --run-syncdb"
  3. This will create the DB as below

image

  1. Then run the app as usual : python manage.py runserver

reemaRaven avatar Apr 11 '21 20:04 reemaRaven

reemaRaven

i have the same error and i do the same steps that you mentioned but nothing happen the error keep showing any solutions plz ??

nassssro0444 avatar Dec 19 '21 02:12 nassssro0444