When I try to execute my code,I am getting this error? How could I resolve this issue?
ProgrammingError at / (1146, "Table 'multi_traffic.django_session' doesn't exist") Request Method: POST Request URL: http://127.0.0.1:8000/ Django Version: 1.11.5 Exception Type: ProgrammingError Exception Value: (1146, "Table 'multi_traffic.django_session' doesn't exist") Exception Location: C:UsersUSERNAME1PYCHAR~1SAMPLE~1venvlibsite-packagesMySQLdbconnections.py in query, line 277 Python Executable: C:UsersUSERNAME1PYCHAR~1SAMPLE~1venvScriptspython.exe Python Version: 3.6.2 Python Path: ['F:\projects\MULTI_TRAFFIC\MULTI_TRAFFIC\Code\Multi_Traffic_Scene_Perception', 'C:\Users\USERNAME1\PYCHAR~1\SAMPLE~1\venv\Scripts\python36.zip', 'C:\Users\USERNAME1\PYCHAR~1\SAMPLE~1\venv\DLLs', 'C:\Users\USERNAME1\PYCHAR~1\SAMPLE~1\venv\lib', 'C:\Users\USERNAME1\PYCHAR~1\SAMPLE~1\venv\Scripts', 'C:\Users\USERNAME 2\AppData\Local\Programs\Python\Python36\Lib', 'C:\Users\USERNAME 2\AppData\Local\Programs\Python\Python36\DLLs', 'C:\Users\USERNAME1\PYCHAR~1\SAMPLE~1\venv', 'C:\Users\USERNAME1\PYCHAR~1\SAMPLE~1\venv\lib\site-packages']
Advertisement
Answer
I don’t know if you wrote this POST request or if it is a library or something. Could you please provide more info about it?
As the error describes, it seems that:
"Table 'multi_traffic.django_session' doesn't exist"
Make sure this table exists and it is available at the mentioned IP http://127.0.0.1:8000/