Error

The following error occurred:

cursor already closed

Please contact the system administrator at r@petr.com.

Traceback (most recent call last):
  File "/Users/xierpa/www/WorldWideCitiesAndResorts/wwcr/server/base/baseclient.py", line 155, in render_GET
    return self.getResult(httprequest)
  File "/Users/xierpa/www/WorldWideCitiesAndResorts/wwcr/server/base/baseclient.py", line 213, in getResult
    template.build(builder)
  File "/Users/xierpa/www/WorldWideCitiesAndResorts/wwcr/components/component.py", line 227, in build
    buildBlock(builder)
  File "/Users/xierpa/www/WorldWideCitiesAndResorts/wwcr/components/page.py", line 44, in buildBlock
    component.build(b) # Dispatch the type of building to be done here.
  File "/Users/xierpa/www/WorldWideCitiesAndResorts/wwcr/components/component.py", line 227, in build
    buildBlock(builder)
  File "/Users/xierpa/www/WorldWideCitiesAndResorts/wwcr/sites/amex/amexcomponents.py", line 40, in buildBlock
    av = self.getWebTranslation(b, 'Added Value', 'summary', lang=self.getLanguage(b))
  File "/Users/xierpa/www/WorldWideCitiesAndResorts/wwcr/sites/amex/amexgroup.py", line 121, in getWebTranslation
    item = item or self.getWebItem(name, guide=guideid).item
  File "/Users/xierpa/www/WorldWideCitiesAndResorts/wwcr/sites/amex/amexgroup.py", line 114, in getWebItem
    return self.adapter.getWebItem(name, guide=guide)
  File "/Users/xierpa/www/WorldWideCitiesAndResorts/wwcr/sites/amex/amexadapter.py", line 367, in getWebItem
    for s in selection.items:
  File "/Users/xierpa/www/WorldWideCitiesAndResorts/wwcr/toolbox/database/base/selection.py", line 164, in __iter__
    self._initialize()
  File "/Users/xierpa/www/WorldWideCitiesAndResorts/wwcr/toolbox/database/base/selection.py", line 214, in _initialize
    slice=self._slice, start=self._start, readonly=self._readonly, where=self._where, distinct=self._distinct)
  File "/Users/xierpa/www/WorldWideCitiesAndResorts/wwcr/toolbox/database/sql/sqldatastore.py", line 346, in select
    return self.getQuery(''.join(query))
  File "/Users/xierpa/www/WorldWideCitiesAndResorts/wwcr/toolbox/database/base/basedatastore.py", line 238, in getQuery
    self.rawQuery(query)
  File "/Users/xierpa/www/WorldWideCitiesAndResorts/wwcr/toolbox/database/base/basedatastore.py", line 228, in rawQuery
    self.cursor.query(query.encode('utf-8'))
  File "/Users/xierpa/www/WorldWideCitiesAndResorts/wwcr/toolbox/database/drivers/postgres.py", line 59, in query
    self.cursor.execute(query)
InterfaceError: cursor already closed