I can't seem to get past the following error:
2015-12-19 11:31:23,332 :/usr/lib/python2.7/threading.py:1160: RuntimeWarning: tp_compare didn't return -1 or -2 for exception
2015-12-19 11:31:23,332 : return _active[_get_ident()]
2015-12-19 11:31:23,330 :Error running WSGI application
None
2015-12-19 11:31:29,677 :Error running WSGI application
None
2015-12-19 11:31:29,799 :Error running WSGI application
None
This previous post had an identical error and I tried the following suggestions:
python /var/www/sales-rank-staging_trevorwatson_me_wsgi.py
Runs with no problem.
python manage.py shell
Also no problems.
path = '/home/cfc/sites/sales-rank-staging.trevorwatson.me/source'
...
os.environ['DJANGO_SETTINGS_MODULE'] = 'sales_rank_site.settings'
Verified paths are correct.
pip freeze
Django==1.9
requests==2.9.0
scrapinghub==1.7.0
selenium==2.48.0
wheel==0.24.0
The packages installed varied from my requirements file by not including argparse==1.2.1 & wsgiref==0.1.2, so I tried:
pip install argparse==1.2.1
Requirement already satisfied (use --upgrade to upgrade): argparse==1.2.1 in /usr/lib/python2.7
pip install wsgiref==0.1.2
Requirement already satisfied (use --upgrade to upgrade): wsgiref==0.1.2 in /usr/lib/python2.7
Any other suggestions?