CoreyHyllested / HT.src

Soulcrafting Source Code
https://soulcrafting.co
0 stars 0 forks source link

Indexing companies.json fails #499

Open CoreyHyllested opened 9 years ago

CoreyHyllested commented 9 years ago

[Mon Aug 10 19:20:29.518589 2015] [core:error] [pid 31897] [client 172.31.48.248:59651] End of script output before headers: application.py, referer: https://testing.soulcrafting.co/referral [Mon Aug 10 19:23:07.430797 2015] [:error] [pid 31924] @mngr.task... loading [Mon Aug 10 19:23:07.890956 2015] [:error] [pid 31924] loading server.routes [Mon Aug 10 19:23:07.953479 2015] [:error] [pid 31924] Priming Search. [Mon Aug 10 19:23:07.954027 2015] [:error] [pid 31924] Priming Search. [Mon Aug 10 19:23:07.954453 2015] [:error] [pid 31924] Priming Search. [Mon Aug 10 19:23:07.955788 2015] [:error] [pid 31924] Priming Search. [Mon Aug 10 19:23:30.412476 2015] [core:error] [pid 31907] [client 172.31.19.152:16556] End of script output before headers: application.py, referer: https://testing.soulcrafting.co/referral [Mon Aug 10 19:23:30.412794 2015] [core:error] [pid 31921] [client 172.31.19.152:16558] End of script output before headers: application.py, referer: https://testing.soulcrafting.co/referral [Mon Aug 10 19:23:30.413163 2015] [core:error] [pid 31883] [client 172.31.19.152:16554] End of script output before headers: application.py, referer: https://testing.soulcrafting.co/referral [Mon Aug 10 19:23:30.413317 2015] [core:error] [pid 31911] [client 172.31.19.152:16532] End of script output before headers: application.py, referer: https://testing.soulcrafting.co/referral

http://stackoverflow.com/questions/22644384/django-end-of-script-output-before-headers https://code.google.com/p/modwsgi/wiki/ApplicationIssues#Python_Simplified_GIL_State_API

CoreyHyllested commented 9 years ago

[Wed Aug 12 23:29:34.842149 2015] [:error] [pid 4757] Business: creating (Johnstone's Landscaping|f5b67832-80d8-4754-a3aa-19fb965f24e3) [Wed Aug 12 23:29:34.842297 2015] [:error] [pid 4757] committing (Johnstone's Landscaping|f5b67832-80d8-4754-a3aa-19fb965f24e3) [Wed Aug 12 23:29:34.846831 2015] [:error] [pid 4757] committed. [Wed Aug 12 23:29:34.851466 2015] [:error] [pid 4757] 92f7f29a-63ef-42a4-90ad-dbd79b64a4e2 f5b67832-80d8-4754-a3aa-19fb965f24e3 [Wed Aug 12 23:29:34.855765 2015] [:error] [pid 4757] committed business, location [Wed Aug 12 23:30:16.466106 2015] [:error] [pid 4757] Exception AttributeError: AttributeError("'NoneType' object has no attribute 'error'",) in <bound method Connection.del of Connection> ignored [Wed Aug 12 23:30:39.527921 2015] [:error] [pid 5035] @mngr.task... loading [Wed Aug 12 23:30:40.034615 2015] [:error] [pid 5035] loading server.routes [Wed Aug 12 23:30:44.651237 2015] [:error] [pid 5035] No handlers could be found for logger "scss.compiler" [Wed Aug 12 23:31:28.985943 2015] [:error] [pid 5035] Priming Search. [Wed Aug 12 23:31:28.986126 2015] [:error] [pid 5035] <type 'exceptions.IOError'> [Errno 2] No such file or directory: '/opt/python/bundle/7/app/server/static/scss/server/static/root/companies.json' [Wed Aug 12 23:31:28.986355 2015] [:error] [pid 5035] [remote 172.31.26.182:0] mod_wsgi (pid=5035): Exception occurred processing WSGI script '/opt/python/current/app/application.py'. [Wed Aug 12 23:31:28.986433 2015] [:error] [pid 5035] [remote 172.31.26.182:0] Traceback (most recent call last): [Wed Aug 12 23:31:28.986505 2015] [:error] [pid 5035] [remote 172.31.26.182:0] File "/opt/python/run/venv/lib/python2.7/site-packages/flask/app.py", line 1836, in call [Wed Aug 12 23:31:29.121466 2015] [:error] [pid 5035] [remote 172.31.26.182:0] return self.wsgi_app(environ, start_response) [Wed Aug 12 23:31:29.121568 2015] [:error] [pid 5035] [remote 172.31.26.182:0] File "/opt/python/run/venv/lib/python2.7/site-packages/flask/app.py", line 1820, in wsgi_app [Wed Aug 12 23:31:29.121661 2015] [:error] [pid 5035] [remote 172.31.26.182:0] response = self.make_response(self.handle_exception(e)) [Wed Aug 12 23:31:29.121700 2015] [:error] [pid 5035] [remote 172.31.26.182:0] File "/opt/python/run/venv/lib/python2.7/site-packages/flask/app.py", line 1403, in handle_exception [Wed Aug 12 23:31:29.121759 2015] [:error] [pid 5035] [remote 172.31.26.182:0] reraise(exc_type, exc_value, tb) [Wed Aug 12 23:31:29.121795 2015] [:error] [pid 5035] [remote 172.31.26.182:0] File "/opt/python/run/venv/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app [Wed Aug 12 23:31:29.121854 2015] [:error] [pid 5035] [remote 172.31.26.182:0] response = self.full_dispatch_request() [Wed Aug 12 23:31:29.121892 2015] [:error] [pid 5035] [remote 172.31.26.182:0] File "/opt/python/run/venv/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request [Wed Aug 12 23:31:29.121950 2015] [:error] [pid 5035] [remote 172.31.26.182:0] rv = self.handle_user_exception(e) [Wed Aug 12 23:31:29.121985 2015] [:error] [pid 5035] [remote 172.31.26.182:0] File "/opt/python/run/venv/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception [Wed Aug 12 23:31:29.122034 2015] [:error] [pid 5035] [remote 172.31.26.182:0] reraise(exc_type, exc_value, tb) [Wed Aug 12 23:31:29.122069 2015] [:error] [pid 5035] [remote 172.31.26.182:0] File "/opt/python/run/venv/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request [Wed Aug 12 23:31:29.122126 2015] [:error] [pid 5035] [remote 172.31.26.182:0] rv = self.dispatch_request() [Wed Aug 12 23:31:29.122161 2015] [:error] [pid 5035] [remote 172.31.26.182:0] File "/opt/python/run/venv/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request [Wed Aug 12 23:31:29.122218 2015] [:error] [pid 5035] [remote 172.31.26.182:0] return self.view_functionsrule.endpoint [Wed Aug 12 23:31:29.122257 2015] [:error] [pid 5035] [remote 172.31.26.182:0] File "/opt/python/current/app/server/routes/api/business.py", line 92, in api_business_search [Wed Aug 12 23:31:29.122502 2015] [:error] [pid 5035] [remote 172.31.26.182:0] businesses = Business.get_json_index() [Wed Aug 12 23:31:29.122544 2015] [:error] [pid 5035] [remote 172.31.26.182:0] File "/opt/python/current/app/server/models/Business.py", line 195, in get_json_index [Wed Aug 12 23:31:29.122813 2015] [:error] [pid 5035] [remote 172.31.26.182:0] if (fp): fp.close() [Wed Aug 12 23:31:29.122885 2015] [:error] [pid 5035] [remote 172.31.26.182:0] UnboundLocalError: local variable 'fp' referenced before assignment [Wed Aug 12 23:32:34.255270 2015] [:error] [pid 5035] Priming Search. [Wed Aug 12 23:32:34.255444 2015] [:error] [pid 5035] <type 'exceptions.IOError'> [Errno 2] No such file or directory: '/opt/python/bundle/7/app/server/static/scss/server/static/root/companies.json' [Wed Aug 12 23:32:34.255587 2015] [:error] [pid 5035] [remote 172.31.49.160:0] mod_wsgi (pid=5035): Exception occurred processing WSGI script '/opt/python/current/app/application.py'. [Wed Aug 12 23:32:34.255633 2015] [:error] [pid 5035] [remote 172.31.49.160:0] Traceback (most recent call last):

CoreyHyllested commented 9 years ago

Applied the GLOBAL fix. Unsure if that will really fix this. Notable. /opt/python/bundle/7/app/server/static/scss/server/static/root/companies.json

It's checking static/scss for companies... why?