apycot #1382708 ProgrammingError: syntax error at end of input LINE 1: INSERT INTO _TA0 SELECT [deprecated]

2010-12-22 09:08:35 - (cubicweb.appobject) ERROR: cant handle rql generated by <cubes.apycot.views.facets.TestConfigEnvFacet object at 0x3f6c3d0>
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/cubicweb/web/facet.py", line 716, in _include_no_relation
    return bool(self.rqlexec(rql, self.cw_rset and self.cw_rset.args))
  File "/usr/lib/python2.6/dist-packages/cubicweb/web/facet.py", line 389, in rqlexec
    return self._cw.execute(rql, args)
  File "/usr/lib/python2.6/dist-packages/cubicweb/dbapi.py", line 444, in execute
    build_descr=build_descr, **self._txid())
  File "/usr/lib/python2.6/dist-packages/cubicweb/server/repository.py", line 725, in execute
    build_descr)
  File "/usr/lib/python2.6/dist-packages/cubicweb/server/querier.py", line 710, in execute
    results = plan.execute()
  File "/usr/lib/python2.6/dist-packages/cubicweb/server/querier.py", line 201, in execute
    result = step.execute()
  File "/usr/lib/python2.6/dist-packages/cubicweb/server/mssteps.py", line 101, in execute
    self.inputmap)
  File "/usr/lib/python2.6/dist-packages/cubicweb/server/sources/native.py", line 508, in flying_insert
    self.doexec(session, query, self.merge_args(args, qargs))
  File "/usr/lib/python2.6/dist-packages/cubicweb/server/sources/native.py", line 659, in doexec
    cursor.execute(str(query), args)
ProgrammingError: syntax error at end of input
LINE 1: INSERT INTO _TA0 SELECT
prioritynormal
typebug
done in<not specified>
load0.000
load left0.000
closed by<not specified>