Any idea how to post the code here? I am receiving an error "We were
unable to post your message "
when I try to post the code. Here are the last lines
if self._module and hasattr(self._module, key):>> return lambda
*args, **kwargs:callable_(self.context, *args, **kwargs) Module
_deck_manage_mako:40 in render_body
<< # SOURCE LINE 15
__M_writer(unicode(h.url_for(controller="deck",
action="manage",
cmd="setActive", deck=deck[1])))
# SOURCE LINE 16
__M_writer(u'">')>> cmd="setActive", deck=deck[1])))
Module routes.util:225 in url_for
<< host = newargs.pop('_host', None) or host
protocol = newargs.pop('_protocol', None) or protocol
url = config.mapper.generate(*route_args, **newargs)
if anchor:
url += '#' + _url_quote(anchor, encoding)>> url =
config.mapper.generate(*route_args, **newargs) Module routes.mapper:
460 in generate
<< and not route.absolute:
path = self.environ['SCRIPT_NAME'] + path
key = cache_key_script_name
else:
key = cache_key>> key = cache_key_script_name
UnboundLocalError: local variable 'cache_key_script_name' referenced
before assignment
--
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/pylons-discuss?hl=en.