Skip to content

Instantly share code, notes, and snippets.

@Rydgel
Last active December 18, 2015 11:09
Show Gist options
  • Save Rydgel/5773666 to your computer and use it in GitHub Desktop.
Save Rydgel/5773666 to your computer and use it in GitHub Desktop.
~ $ PORT=5000 newrelic-admin run-program python app.py
Traceback (most recent call last):
File "app.py", line 43, in <module>
def placeholder(width, height=None, bgd="cccccc", fgd="909090"):
File "/app/.heroku/python/lib/python2.7/site-packages/flask/app.py", line 1013, in decorator
self.add_url_rule(rule, endpoint, f, **options)
File "/app/.heroku/python/lib/python2.7/site-packages/newrelic-1.12.0.56/newrelic/api/object_wrapper.py", line 237, in __call__
self._nr_instance, args, kwargs, **self._nr_kwargs)
File "/app/.heroku/python/lib/python2.7/site-packages/newrelic-1.12.0.56/newrelic/api/in_function.py", line 15, in wrapper
return wrapped(*_args, **_kwargs)
File "/app/.heroku/python/lib/python2.7/site-packages/flask/app.py", line 62, in wrapper_func
return f(self, *args, **kwargs)
File "/app/.heroku/python/lib/python2.7/site-packages/flask/app.py", line 984, in add_url_rule
'existing endpoint function: %s' % endpoint)
AssertionError: View function mapping is overwriting an existing endpoint function: placeholder
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment