DJANGO/ PYTHON Developer needed for Error Debugging

DJANGO/ PYTHON Developer needed for Error Debugging

Closed - This job posting has been filled and work has been completed.

Job Description

The problem we are facing is that Django is generating a 500 error at random intervals throughout the site. I'm going to try to take care of some of the low hanging fruit, i.e. the missing robots.txt and favicon.ico files listed below, but some one else needs to look at the code.

From what I can deduce, the source of the problem is in how the user information is being retrieved from the database and processed.

The forms for all the databases were treated purely as strings and had no restriction on what was acceptable or unacceptable.

Currently, there are multiple errors similar to the following:

[Thu Oct 31 08:25:00 2013] [error] [client 24.160.146.222] IOError: failed to write data
[Thu Oct 31 08:37:19 2013] [error] [client 204.57.118.174] File does not exist: /var/www/geekdom/media/favicon.ico
[Thu Oct 31 09:08:16 2013] [error] [client 27.154.133.190] mod_wsgi (pid=16759): Exception occurred processing WSGI script '/var/www/geekdom/apache/django.wsgi'.
[Thu Oct 31 09:08:16 2013] [error] [client 27.154.133.190] IOError: failed to write data
[Thu Oct 31 09:14:23 2013] [error] [client 66.249.73.181] File does not exist: /var/www/geekdom/media/robots.txt
[Thu Oct 31 09:38:19 2013] [error] [client 204.57.118.174] mod_wsgi (pid=18004): Exception occurred processing WSGI script '/var/www/geekdom/apache/django.wsgi'., referer: http://members.geekdom.com/accounts/password/reset/confirm/complete/
[Thu Oct 31 09:38:19 2013] [error] [client 204.57.118.174] IOError: failed to write data, referer: http://members.geekdom.com/accounts/password/reset/confirm/complete/
[Thu Oct 31 10:01:50 2013] [error] [client 204.57.118.174] mod_wsgi (pid=18737): Exception occurred processing WSGI script '/var/www/geekdom/apache/django.wsgi'., referer: http://members.geekdom.com/check_me_in/
[Thu Oct 31 10:01:50 2013] [error] [client 204.57.118.174] IOError: failed to write data, referer: http://members.geekdom.com/check_me_in/
[Thu Oct 31 10:02:00 2013] [error] [client 204.57.118.174] mod_wsgi (pid=18815): Exception occurred processing WSGI script '/var/www/geekdom/apache/django.wsgi'., referer: http://members.geekdom.com/search/?query=PL%2FSQL
[Thu Oct 31 10:02:00 2013] [error] [client 204.57.118.174] IOError: failed to write data, referer: http://members.geekdom.com/search/?query=PL%2FSQL
[Thu Oct 31 10:02:01 2013] [error] [client 204.57.118.174] mod_wsgi (pid=19146): Exception occurred processing WSGI script '/var/www/geekdom/apache/django.wsgi'., referer: http://members.geekdom.com/check_me_in/

Some of those are easy to resolve, others are not.

Additionally, entire feature sets of the application have since been discontinued by their producer, i.e. Google Calendar.

Finally, the server was left completely unprotected for well over a year, so it is entirely possible that it has been compromised in one way or another. Current security measures show almost daily attacks from Russia, China, Brazil, and a few other countries throughout the world that should have no business accessing the server.

While several attempts have been made, it is unclear where the source of the error truly lies, but it is likely in the userena package.

It is suggested that whomever takes on this problem be well versed in Pythan/Django and understands how to handle errors with try/catch statements.