Server Error
URL: http://www.jmskoly.cz/l/akce?kind=ostatni&kind=soutez&order=%252Borganization
Module paste.exceptions.errormiddleware:144 in __call__
<< __traceback_supplement__ = Supplement, self, environ
sr_checker = ResponseStartChecker(start_response)
app_iter = self.application(environ, sr_checker)
return self.make_catching_iter(app_iter, environ, sr_checker)
except:
>> app_iter = self.application(environ, sr_checker)
Module solmundr.web.middleware:13 in transaction_middleware
<< begin()
try:
res = app(environ, start_response)
except HTTPException:
comit()
>> res = app(environ, start_response)
Module pyramid.router:187 in __call__
<<
try:
response = self.handle_request(request)
has_listeners and notify(NewResponse(request, response))
>> response = self.handle_request(request)
Module pyramid.tweens:20 in excview_tween
<< attrs = request.__dict__
try:
response = handler(request)
except Exception as exc:
# WARNING: do not assign the result of sys.exc_info() to a
>> response = handler(request)
Module pyramid.router:164 in handle_request
<< raise HTTPNotFound(msg)
else:
response = view_callable(context, request)
return response
>> response = view_callable(context, request)
Module pyramid.config.views:352 in rendered_view
<< view_inst = getattr(view, '__original_view__', view)
response = renderer.render_view(request, result, view_inst,
context)
return response
>> context)
Module pyramid.renderers:396 in render_view
<< 'req':request,
}
return self.render_to_response(response, system, request=request)
def render(self, value, system_values, request=None):
>> return self.render_to_response(response, system, request=request)
Module pyramid.renderers:426 in render_to_response
<<
def render_to_response(self, value, system_values, request=None):
result = self.render(value, system_values, request=request)
return self._make_response(result, request)
>> result = self.render(value, system_values, request=request)
Module pyramid.renderers:422 in render
<< registry.notify(system_values)
result = renderer(value, system_values)
return result
>> result = renderer(value, system_values)
Module solmundr.web.tmpl:100 in __call__
<< req, ld, langs, use_default)
state = State(ldict=tdict)
return u''.join(xhtml_serializer(tmpl.expand(state)))
>> return u''.join(xhtml_serializer(tmpl.expand(state)))
Module solmundr.tmpl.serialization:49 in __call__
<< opened = None
emptyEnabled = self.emptyEnabled
for e,a in stream:
meth = mmap[e]
if e is START_TAG:
>> for e,a in stream:
Module solmundr.tmpl.elements:600 in expand
<< main = self.namespace().get('main()', None)
if main:
for e in main.expand(state):
yield e
else:
>> for e in main.expand(state):
Module solmundr.tmpl.templates:673 in expand_domlet
<< v = BoundPyDefCallable(v, state)
state[k] = v
for e in layout.expand(state):
yield e
>> for e in layout.expand(state):
Module solmundr.tmpl.elements:604 in expand
<< else:
for elem in self:
for e in elem.expand(state):
yield e
>> for e in elem.expand(state):
Module solmundr.tmpl.elements:543 in expand
<< state = state.copy()
for child in self:
for e in child.expand(state):
yield e
yield END_TAG, (tag, attrs)
>> for e in child.expand(state):
Module solmundr.tmpl.elements:543 in expand
<< state = state.copy()
for child in self:
for e in child.expand(state):
yield e
yield END_TAG, (tag, attrs)
>> for e in child.expand(state):
Module solmundr.tmpl.elements:221 in expand
<<
def expand(self, state):
for e in state.expand_expr(eval(self.code, self.gdict, state)):
yield e
>> for e in state.expand_expr(eval(self.code, self.gdict, state)):
Module solmundr.tmpl.templates:78 in expand_expr
<< def expand_expr(self, value):
if isinstance(value, Node):
for e in value.expand(self):
yield e
else:
>> for e in value.expand(self):
Module solmundr.tmpl.templates:462 in expand
<< state['caller'] = EMPTY_CALLER
for child in self.pydef:
for e in child.expand(state):
yield e
>> for e in child.expand(state):
Module solmundr.tmpl.elements:543 in expand
<< state = state.copy()
for child in self:
for e in child.expand(state):
yield e
yield END_TAG, (tag, attrs)
>> for e in child.expand(state):
Module solmundr.tmpl.elements:543 in expand
<< state = state.copy()
for child in self:
for e in child.expand(state):
yield e
yield END_TAG, (tag, attrs)
>> for e in child.expand(state):
Module solmundr.tmpl.elements:543 in expand
<< state = state.copy()
for child in self:
for e in child.expand(state):
yield e
yield END_TAG, (tag, attrs)
>> for e in child.expand(state):
Module solmundr.tmpl.elements:543 in expand
<< state = state.copy()
for child in self:
for e in child.expand(state):
yield e
yield END_TAG, (tag, attrs)
>> for e in child.expand(state):
Module solmundr.tmpl.elements:543 in expand
<< state = state.copy()
for child in self:
for e in child.expand(state):
yield e
yield END_TAG, (tag, attrs)
>> for e in child.expand(state):
Module solmundr.tmpl.elements:543 in expand
<< state = state.copy()
for child in self:
for e in child.expand(state):
yield e
yield END_TAG, (tag, attrs)
>> for e in child.expand(state):
Module solmundr.tmpl.elements:543 in expand
<< state = state.copy()
for child in self:
for e in child.expand(state):
yield e
yield END_TAG, (tag, attrs)
>> for e in child.expand(state):
Module taglib:2:147 in expand
<< def expand(self, state):
for decorator, target in iterDecorator(
self.loop(eval(self.iter, self.gdict, state))):
iscp = state.copy(target)
attrs = {'class': ' '.join(['jlist', decorator.itemClass])
>> self.loop(eval(self.iter, self.gdict, state))):
Module ?:79 in py:for
<< </thead>
<tbody>
<jl:tr each="item,row in listing.rows">
<td><bx:print_date d="$item.begin"/><br /><bx:print_date d="$item.end" /></td>
<td>$row.place</td>
>> <jl:tr each="item,row in listing.rows">
Module solmundr.components.components:58 in __get__
<< dct[attr] = LOCK
try:
val = self.computeValue(obj, attr)
val = self.onSet(obj, attr, val)
except:
>> val = self.computeValue(obj, attr)
Module solmundr.components.components:227 in __call__
<<
def __call__(self, ob, attr):
return self.recipe(ob, attr)
class StringAsRecipe(Adapter):
>> return self.recipe(ob, attr)
Module solmundr.components.components:219 in <lambda>
<< self.recipe = lambda ob, attr: recipe()
elif al == 1:
self.recipe = lambda ob, attr: recipe(ob)
elif al == 2:
self.recipe = recipe
>> self.recipe = lambda ob, attr: recipe(ob)
Module solmundr.sql.listings:309 in rows
<< def rows(self):
query, args = self._row_query
return [self.make_item(row) for row in self._dbcon(query, args)]
rows = Make(rows)
>> return [self.make_item(row) for row in self._dbcon(query, args)]
Module solmundr.sql.connection:150 in __call__
<<
def __call__(self, sql, args=None):
return self.execute(sql, args, conv=jObject)
>> return self.execute(sql, args, conv=jObject)
Module solmundr.sql.connection:2 in execute
Module solmundr.transactions.transactions:173 in txn_method
<< def txn_method(func, self, *args, **kwds):
self.txnJoin()
return func(self, *args, **kwds)
>> return func(self, *args, **kwds)
Module solmundr.sql.connection:145 in execute
<< self.logger.debug('QUERY: ' + str(sql)[:2048]
+ ' ' + repr(args)[:1024])
cur.execute(sql, args)
self.cursors[id(cur)] = cur
return cur
>> cur.execute(sql, args)
IndexError: list index out of range
URL:
http://www.jmskoly.cz/l/akce?kind=ostatni&kind=soutez&order=%252Borganization
Module
paste.exceptions.errormiddleware:
144 in
__call__
<< __traceback_supplement__ = Supplement, self, environ
sr_checker = ResponseStartChecker(start_response)
app_iter = self.application(environ, sr_checker)
return self.make_catching_iter(app_iter, environ, sr_checker)
except:
>> app_iter = self.application(environ, sr_checker)
Module
solmundr.web.middleware:
13 in
transaction_middleware
<< begin()
try:
res = app(environ, start_response)
except HTTPException:
comit()
>> res = app(environ, start_response)
Module
pyramid.router:
187 in
__call__
<<
try:
response = self.handle_request(request)
has_listeners and notify(NewResponse(request, response))
>> response = self.handle_request(request)
Module
pyramid.tweens:
20 in
excview_tween
<< attrs = request.__dict__
try:
response = handler(request)
except Exception as exc:
# WARNING: do not assign the result of sys.exc_info() to a
>> response = handler(request)
Module
pyramid.router:
164 in
handle_request
<< raise HTTPNotFound(msg)
else:
response = view_callable(context, request)
return response
>> response = view_callable(context, request)
Module
pyramid.config.views:
352 in
rendered_view
<< view_inst = getattr(view, '__original_view__', view)
response = renderer.render_view(request, result, view_inst,
context)
return response
>> context)
Module
pyramid.renderers:
396 in
render_view
<< 'req':request,
}
return self.render_to_response(response, system, request=request)
def render(self, value, system_values, request=None):
>> return self.render_to_response(response, system, request=request)
Module
pyramid.renderers:
426 in
render_to_response
<<
def render_to_response(self, value, system_values, request=None):
result = self.render(value, system_values, request=request)
return self._make_response(result, request)
>> result = self.render(value, system_values, request=request)
Module
pyramid.renderers:
422 in
render
<< registry.notify(system_values)
result = renderer(value, system_values)
return result
>> result = renderer(value, system_values)
Module
solmundr.web.tmpl:
100 in
__call__
<< req, ld, langs, use_default)
state = State(ldict=tdict)
return u''.join(xhtml_serializer(tmpl.expand(state)))
>> return u''.join(xhtml_serializer(tmpl.expand(state)))
Module
solmundr.tmpl.serialization:
49 in
__call__
<< opened = None
emptyEnabled = self.emptyEnabled
for e,a in stream:
meth = mmap[e]
if e is START_TAG:
>> for e,a in stream:
Module
solmundr.tmpl.elements:
600 in
expand
<< main = self.namespace().get('main()', None)
if main:
for e in main.expand(state):
yield e
else:
>> for e in main.expand(state):
Module
solmundr.tmpl.templates:
673 in
expand_domlet
<< v = BoundPyDefCallable(v, state)
state[k] = v
for e in layout.expand(state):
yield e
>> for e in layout.expand(state):
Module
solmundr.tmpl.elements:
604 in
expand
<< else:
for elem in self:
for e in elem.expand(state):
yield e
>> for e in elem.expand(state):
Module
solmundr.tmpl.elements:
543 in
expand
<< state = state.copy()
for child in self:
for e in child.expand(state):
yield e
yield END_TAG, (tag, attrs)
>> for e in child.expand(state):
Module
solmundr.tmpl.elements:
543 in
expand
<< state = state.copy()
for child in self:
for e in child.expand(state):
yield e
yield END_TAG, (tag, attrs)
>> for e in child.expand(state):
Module
solmundr.tmpl.elements:
221 in
expand
<<
def expand(self, state):
for e in state.expand_expr(eval(self.code, self.gdict, state)):
yield e
>> for e in state.expand_expr(eval(self.code, self.gdict, state)):
Module
solmundr.tmpl.templates:
78 in
expand_expr
<< def expand_expr(self, value):
if isinstance(value, Node):
for e in value.expand(self):
yield e
else:
>> for e in value.expand(self):
Module
solmundr.tmpl.templates:
462 in
expand
<< state['caller'] = EMPTY_CALLER
for child in self.pydef:
for e in child.expand(state):
yield e
>> for e in child.expand(state):
Module
solmundr.tmpl.elements:
543 in
expand
<< state = state.copy()
for child in self:
for e in child.expand(state):
yield e
yield END_TAG, (tag, attrs)
>> for e in child.expand(state):
Module
solmundr.tmpl.elements:
543 in
expand
<< state = state.copy()
for child in self:
for e in child.expand(state):
yield e
yield END_TAG, (tag, attrs)
>> for e in child.expand(state):
Module
solmundr.tmpl.elements:
543 in
expand
<< state = state.copy()
for child in self:
for e in child.expand(state):
yield e
yield END_TAG, (tag, attrs)
>> for e in child.expand(state):
Module
solmundr.tmpl.elements:
543 in
expand
<< state = state.copy()
for child in self:
for e in child.expand(state):
yield e
yield END_TAG, (tag, attrs)
>> for e in child.expand(state):
Module
solmundr.tmpl.elements:
543 in
expand
<< state = state.copy()
for child in self:
for e in child.expand(state):
yield e
yield END_TAG, (tag, attrs)
>> for e in child.expand(state):
Module
solmundr.tmpl.elements:
543 in
expand
<< state = state.copy()
for child in self:
for e in child.expand(state):
yield e
yield END_TAG, (tag, attrs)
>> for e in child.expand(state):
Module
solmundr.tmpl.elements:
543 in
expand
<< state = state.copy()
for child in self:
for e in child.expand(state):
yield e
yield END_TAG, (tag, attrs)
>> for e in child.expand(state):
Module
taglib:2:
147 in
expand
<< def expand(self, state):
for decorator, target in iterDecorator(
self.loop(eval(self.iter, self.gdict, state))):
iscp = state.copy(target)
attrs = {'class': ' '.join(['jlist', decorator.itemClass])
>> self.loop(eval(self.iter, self.gdict, state))):
Module
?:
79 in
py:for
<< </thead>
<tbody>
<jl:tr each="item,row in listing.rows">
<td><bx:print_date d="$item.begin"/><br /><bx:print_date d="$item.end" /></td>
<td>$row.place</td>
>> <jl:tr each="item,row in listing.rows">
Module
solmundr.components.components:
58 in
__get__
<< dct[attr] = LOCK
try:
val = self.computeValue(obj, attr)
val = self.onSet(obj, attr, val)
except:
>> val = self.computeValue(obj, attr)
Module
solmundr.components.components:
227 in
__call__
<<
def __call__(self, ob, attr):
return self.recipe(ob, attr)
class StringAsRecipe(Adapter):
>> return self.recipe(ob, attr)
Module
solmundr.components.components:
219 in
<lambda>
<< self.recipe = lambda ob, attr: recipe()
elif al == 1:
self.recipe = lambda ob, attr: recipe(ob)
elif al == 2:
self.recipe = recipe
>> self.recipe = lambda ob, attr: recipe(ob)
Module
solmundr.sql.listings:
309 in
rows
<< def rows(self):
query, args = self._row_query
return [self.make_item(row) for row in self._dbcon(query, args)]
rows = Make(rows)
>> return [self.make_item(row) for row in self._dbcon(query, args)]
Module
solmundr.sql.connection:
150 in
__call__
<<
def __call__(self, sql, args=None):
return self.execute(sql, args, conv=jObject)
>> return self.execute(sql, args, conv=jObject)
Module
solmundr.sql.connection:
2 in
execute
Module
solmundr.transactions.transactions:
173 in
txn_method
<< def txn_method(func, self, *args, **kwds):
self.txnJoin()
return func(self, *args, **kwds)
>> return func(self, *args, **kwds)
Module
solmundr.sql.connection:
145 in
execute
<< self.logger.debug('QUERY: ' + str(sql)[:2048]
+ ' ' + repr(args)[:1024])
cur.execute(sql, args)
self.cursors[id(cur)] = cur
return cur
>> cur.execute(sql, args)
IndexError: list index out of range