Mako Runtime Error

Error !

IndexError: list index out of range

<%def name="getBooks(type='latest',data='')"> <% from Products.LimeAPI.LimeObject import LimeWrapper books = [] #books2 = site.sql( {"connection":"freebook" ,"sql":"SELECT fb.maintitle,fb.isbnean,fb.description,fb.price,fb.statusname,fb.imagepath FROM freebook_has_subjects as fhs join vw_showbook as fb on fhs.isbnean=fb.isbnean where fb.dealerid = "+ str(dealer_book['dealerid']) +" group by fb.isbnean order by createdon desc limit 10;"}) sql = ''
/var/limecms/fribokhandel2/fribokhandel201/fribokhandel2-inst/Products/LimeAPI/LimeObject.py, line 6033:
self._data = _d[0]
templates/lokalhandel/functions/partials, line 29:
<%
templates/lokalhandel/widgets/widget-topp-local, line 9:
<%
/srv/dd-web02/limecms/fribokhandel2/fribokhandel201/local/lib/python2.7/site-packages/Mako-1.0.7-py2.7.egg/mako/runtime.py, line 899:
callable_(context, *args, **kwargs)
/srv/dd-web02/limecms/fribokhandel2/fribokhandel201/local/lib/python2.7/site-packages/Mako-1.0.7-py2.7.egg/mako/runtime.py, line 873:
_exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
/srv/dd-web02/limecms/fribokhandel2/fribokhandel201/local/lib/python2.7/site-packages/Mako-1.0.7-py2.7.egg/mako/runtime.py, line 838:
**_kwargs_for_callable(callable_, data))
/srv/dd-web02/limecms/fribokhandel2/fribokhandel201/local/lib/python2.7/site-packages/Mako-1.0.7-py2.7.egg/mako/template.py, line 462:
return runtime._render(self, self.callable_, args, data)
/var/limecms/fribokhandel2/fribokhandel201/fribokhandel2-inst/Products/LimeTemplate/LimeTemplate.py, line 704:
html = mytemplate.render(object=object, site=site, request=self.REQUEST, extra=extra.get('kwargs', None), **extra)
Mako Runtime Error

Error !

IndexError: list index out of range

<%def name="getBooks(type='latest',data='')"> <% from Products.LimeAPI.LimeObject import LimeWrapper books = [] #books2 = site.sql( {"connection":"freebook" ,"sql":"SELECT fb.maintitle,fb.isbnean,fb.description,fb.price,fb.statusname,fb.imagepath FROM freebook_has_subjects as fhs join vw_showbook as fb on fhs.isbnean=fb.isbnean where fb.dealerid = "+ str(dealer_book['dealerid']) +" group by fb.isbnean order by createdon desc limit 10;"}) sql = ''
/var/limecms/fribokhandel2/fribokhandel201/fribokhandel2-inst/Products/LimeAPI/LimeObject.py, line 6033:
self._data = _d[0]
templates/lokalhandel/functions/partials, line 29:
<%
templates/lokalhandel/widgets/widget-presentasjon, line 7:
<%
/srv/dd-web02/limecms/fribokhandel2/fribokhandel201/local/lib/python2.7/site-packages/Mako-1.0.7-py2.7.egg/mako/runtime.py, line 899:
callable_(context, *args, **kwargs)
/srv/dd-web02/limecms/fribokhandel2/fribokhandel201/local/lib/python2.7/site-packages/Mako-1.0.7-py2.7.egg/mako/runtime.py, line 873:
_exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
/srv/dd-web02/limecms/fribokhandel2/fribokhandel201/local/lib/python2.7/site-packages/Mako-1.0.7-py2.7.egg/mako/runtime.py, line 838:
**_kwargs_for_callable(callable_, data))
/srv/dd-web02/limecms/fribokhandel2/fribokhandel201/local/lib/python2.7/site-packages/Mako-1.0.7-py2.7.egg/mako/template.py, line 462:
return runtime._render(self, self.callable_, args, data)
/var/limecms/fribokhandel2/fribokhandel201/fribokhandel2-inst/Products/LimeTemplate/LimeTemplate.py, line 704:
html = mytemplate.render(object=object, site=site, request=self.REQUEST, extra=extra.get('kwargs', None), **extra)
Mako Runtime Error

Error !

IndexError: list index out of range

<%def name="getBooks(type='latest',data='')"> <% from Products.LimeAPI.LimeObject import LimeWrapper books = [] #books2 = site.sql( {"connection":"freebook" ,"sql":"SELECT fb.maintitle,fb.isbnean,fb.description,fb.price,fb.statusname,fb.imagepath FROM freebook_has_subjects as fhs join vw_showbook as fb on fhs.isbnean=fb.isbnean where fb.dealerid = "+ str(dealer_book['dealerid']) +" group by fb.isbnean order by createdon desc limit 10;"}) sql = ''
/var/limecms/fribokhandel2/fribokhandel201/fribokhandel2-inst/Products/LimeAPI/LimeObject.py, line 6033:
self._data = _d[0]
templates/lokalhandel/functions/partials, line 29:
<%
templates/lokalhandel/widgets/widget-booklist, line 7:
<%
/srv/dd-web02/limecms/fribokhandel2/fribokhandel201/local/lib/python2.7/site-packages/Mako-1.0.7-py2.7.egg/mako/runtime.py, line 899:
callable_(context, *args, **kwargs)
/srv/dd-web02/limecms/fribokhandel2/fribokhandel201/local/lib/python2.7/site-packages/Mako-1.0.7-py2.7.egg/mako/runtime.py, line 873:
_exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
/srv/dd-web02/limecms/fribokhandel2/fribokhandel201/local/lib/python2.7/site-packages/Mako-1.0.7-py2.7.egg/mako/runtime.py, line 838:
**_kwargs_for_callable(callable_, data))
/srv/dd-web02/limecms/fribokhandel2/fribokhandel201/local/lib/python2.7/site-packages/Mako-1.0.7-py2.7.egg/mako/template.py, line 462:
return runtime._render(self, self.callable_, args, data)
/var/limecms/fribokhandel2/fribokhandel201/fribokhandel2-inst/Products/LimeTemplate/LimeTemplate.py, line 704:
html = mytemplate.render(object=object, site=site, request=self.REQUEST, extra=extra.get('kwargs', None), **extra)
amneus_historisk_001_640px.jpg

Amneus Boghandel

Amneus Boghandel AS er en av landets eldste bokhandeler med sammenhengende drift, etablert i 1839.

Fra starten i 1839 og frem til 1999 lå butikken i Amneusgården i Kjerkgata 25. Sommeren 1999 flyttet vi inn i nye lokaler i Domus Kjøpesenter i Peder Hiorts gt. 10.

Mako Runtime Error

Error !

IndexError: list index out of range

<%def name="getBooks(type='latest',data='')"> <% from Products.LimeAPI.LimeObject import LimeWrapper books = [] #books2 = site.sql( {"connection":"freebook" ,"sql":"SELECT fb.maintitle,fb.isbnean,fb.description,fb.price,fb.statusname,fb.imagepath FROM freebook_has_subjects as fhs join vw_showbook as fb on fhs.isbnean=fb.isbnean where fb.dealerid = "+ str(dealer_book['dealerid']) +" group by fb.isbnean order by createdon desc limit 10;"}) sql = ''
/var/limecms/fribokhandel2/fribokhandel201/fribokhandel2-inst/Products/LimeAPI/LimeObject.py, line 6033:
self._data = _d[0]
templates/lokalhandel/functions/partials, line 29:
<%
templates/lokalhandel/widgets/widget-booklist, line 7:
<%
/srv/dd-web02/limecms/fribokhandel2/fribokhandel201/local/lib/python2.7/site-packages/Mako-1.0.7-py2.7.egg/mako/runtime.py, line 899:
callable_(context, *args, **kwargs)
/srv/dd-web02/limecms/fribokhandel2/fribokhandel201/local/lib/python2.7/site-packages/Mako-1.0.7-py2.7.egg/mako/runtime.py, line 873:
_exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
/srv/dd-web02/limecms/fribokhandel2/fribokhandel201/local/lib/python2.7/site-packages/Mako-1.0.7-py2.7.egg/mako/runtime.py, line 838:
**_kwargs_for_callable(callable_, data))
/srv/dd-web02/limecms/fribokhandel2/fribokhandel201/local/lib/python2.7/site-packages/Mako-1.0.7-py2.7.egg/mako/template.py, line 462:
return runtime._render(self, self.callable_, args, data)
/var/limecms/fribokhandel2/fribokhandel201/fribokhandel2-inst/Products/LimeTemplate/LimeTemplate.py, line 704:
html = mytemplate.render(object=object, site=site, request=self.REQUEST, extra=extra.get('kwargs', None), **extra)