GottfriedCP / Blockchain-based-E-Voting-Simulation

A web application to simulate blockchain-based e-voting protocol
MIT License
75 stars 29 forks source link

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

Open Chahat504 opened 4 years ago

abdulbasitkhan211 commented 3 years ago

how can i resolve "no such table " issue

reemaRaven commented 3 years ago

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 commented 3 years ago

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
nassssro0444 commented 2 years ago

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 ??