Dieterbe / anthracite

an event / change logging/managament app
Apache License 2.0
296 stars 33 forks source link

server error when after doing an operation, tries to load a page that came from a plugin #5

Closed Dieterbe closed 11 years ago

Dieterbe commented 11 years ago
127.0.0.1 - - [02/May/2013 17:21:28] "GET /events/edit/anDR6XFjSDCfLBojELhbgw HTTP/1.1" 200 6884
Traceback (most recent call last):
  File "/home/dieter/workspaces/eclipse/anthracite/bottle.py", line 763, in _handle
    return route.call(**args)
  File "/home/dieter/workspaces/eclipse/anthracite/bottle.py", line 1622, in wrapper
    rv = callback(*a, **ka)
  File "/home/dieter/workspaces/eclipse/anthracite/bottle.py", line 1572, in wrapper
    rv = callback(*a, **ka)
  File "./anthracite-web.py", line 185, in events_edit_post
    return render_last_page(['/events/edit/'], successes=['The event was updated'])
  File "./anthracite-web.py", line 75, in render_last_page
    fn, args = url_to_fn_args(last_page)
  File "./anthracite-web.py", line 61, in url_to_fn_args
    return (globals()[fn_name], args)
KeyError: 'events_table_vimeo_analytics'
127.0.0.1 - - [02/May/2013 17:21:37] "POST /events/edit/anDR6XFjSDCfLBojELhbgw HTTP/1.1" 500 775

-> events_table_vimeo_analytics is in the scope of the plugin, not in the global scope.