missing text in url_for() app context RuntimeError message #623

joeshaw opened this Issue Nov 2, 2012 · 1 comment


None yet

3 participants

joeshaw commented Nov 2, 2012

In flask/helpers.py, near the top of url_for() there is this code:

    appctx = _app_ctx_stack.top
    reqctx = _request_ctx_stack.top
    if appctx is None:
        raise RuntimeError('Attempted to generate a URL with the application '
                           'context being pushed.  This has to be executed ')

It looks like that RuntimeError message is cut off. This has to be executed when? :)


...when an application context is available?

@kennethreitz kennethreitz pushed a commit that closed this issue Jan 25, 2013
@untitaker untitaker Fix #623 2b30900
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment