This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Traceback (most recent call last): | |
File "/app/.heroku/python/lib/python2.7/site-packages/newrelic-2.0.0.1/newrelic/hooks/framework_django.py", line 485, in wrapper return wrapped(*args, **kwargs) | |
File "/app/.heroku/python/lib/python2.7/site-packages/django/contrib/auth/decorators.py", line 25, in _wrapped_view return view_func(request, *args, **kwargs) | |
File "/app/BaseEngine/views/base.py", line 22, in home return render(request,\ 'home.html', {'page': p}, ) | |
File "/app/.heroku/python/lib/python2.7/site-packages/django/shortcuts/__init__.py", line 53, in render return HttpResponse(loader.render_to_string(*args, **kwargs), | |
File "/app/.heroku/python/lib/python2.7/site-packages/django/template/loader.py", line 177, in render_to_string return t.render(context_instance) | |
File "/app/.heroku/python/lib/python2.7/site-packages/django/template/base.py", line 140, in render return self._render(context) | |
File "/app/.heroku/python/lib/python2.7/site-packages/newrelic-2.0.0.1/newrelic/api/object_wrapper.py", line 257, in __ca |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from multiprocessing import Process, Queue, current_process | |
from random import randint | |
from time import sleep | |
import sys | |
def something(): | |
x = randint(1, 20) | |
if x == 9: | |
# cause some trouble |