Forums

Django 3 Admin page Crash

I am using Django 3 and when I am accessing my admin page, I am getting error - backend 502. I looked into the server.log and find the error message...

 2020-07-13 15:44:24 !!! uWSGI process 22 got Segmentation Fault !!!
 2020-07-13 15:44:24 *** backtrace of 22 ***#012imshubhdj imshubhdj.pythonanywhere.com uWSGI worker 
 1(uwsgi_backtrace+0x2c) [0x46529c]#012imshubhdj imshubhdj.pythonanywhere.com uWSGI worker 
 1(uwsgi_segfault+0x21) [0x465661]#012/lib/x86_64-linux-gnu/libc.so.6(+0x354b0) 
 [0x7f0776b8c4b0]#012/usr/lib/libpython3.7m.so.1.0(+0xe7bbf) 
 [0x7f0773673bbf]#012/usr/lib/libpython3.7m.so.1.0(+0x13c441) 
 [0x7f07736c8441]#012/usr/lib/libpython3.7m.so.1.0(+0xf8283) 
 [0x7f0773684283]#012/usr/lib/libpython3.7m.so.1.0(_PyObject_FastCallKeywords+0x104) 
 [0x7f0773626024]#012/usr/lib/libpython3.7m.so.1.0(_PyEval_EvalFrameDefault+0x32aa) 
[0x7f07735f8d2a]#012/usr/lib/libpython3.7m.so.1.0(+0x688c0) 
[0x7f07735f48c0]#012/usr/lib/libpython3.7m.so.1.0(_PyEval_EvalFrameDefault+0x7060) 
[0x7f07735fcae0]#012/usr/lib/libpython3.7m.so.1.0(+0x688c0) 
[0x7f07735f48c0]#012/usr/lib/libpython3.7m.so.1.0(_PyFunction_FastCallDict+0x2be) 
[0x7f07736258ae]#012/usr/lib/libpython3.7m.so.1.0(_PyObject_Call_Prepend+0xcd) 
[0x7f0773626a2d]#012/usr/li
2020-07-13 15:44:25 DAMN ! worker 1 (pid: 22) died :( trying respawn ...
2020-07-13 15:44:25 Respawned uWSGI worker 1 (new pid: 25)
2020-07-13 15:44:25 spawned 2 offload threads for uWSGI worker 1
2020-07-13 15:44:30 announcing my loyalty to the Emperor...

Please update my system image... for Django 3

The version of Python 3.7 that is currently available for your account (3.7.0) has a bug that causes that error. Our newer system image has 3.7.5 where the bug is fixed. We can update the system image for your account, but note that switching to the new version may break some of your existing code that worked on older versions. You may need to recreate any virtualenvs that you're using and you will need to start new consoles and reload your web apps. You will also need to kill any ipython notebook processes that are running by using the "Fetch processes" button on the Consoles page.

Let us know if you'd like to update your system image.

Yes sure, i would like to get the system image updated.... Thanks

No problem. I have updated your system image.

Thank you so much....