django sentry不与oracle后端合作

时间:2012-10-11 15:26:56

标签: django oracle django-south sentry

我刚刚安装了django sentry并将其配置为使用oracle后端。不幸的是,哨兵网络界面无法正常工作,在控制台上我可以看到这种类型的错误:

Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/raven-2.0.6-py2.7.egg/raven/utils/serializer/manager.py", line 69, in transform
    return self.transform(repr(value))
File "/usr/local/lib/python2.7/dist-packages/Django-1.4.1-py2.7.egg/django/template/context.py", line 29, in __repr__
    return repr(self.dicts)
File "/usr/local/lib/python2.7/dist-packages/Django-1.4.1-py2.7.egg/django/template/context.py", line 29, in __repr__
  return repr(self.dicts)
File "/usr/local/lib/python2.7/dist-packages/Django-1.4.1-py2.7.egg/django/db/models/query.py", line 72, in __repr__
  data = list(self[:REPR_OUTPUT_SIZE + 1])
File "/usr/local/lib/python2.7/dist-packages/Django-1.4.1-py2.7.egg/django/db/models/query.py", line 87, in __len__
  self._result_cache.extend(self._iter)
File "/usr/local/lib/python2.7/dist-packages/Django-1.4.1-py2.7.egg/django/db/models/query.py", line 291, in iterator
  for row in compiler.results_iter():
File "/usr/local/lib/python2.7/dist-packages/Django-1.4.1-py2.7.egg/django/db/models/sql/compiler.py", line 763, in results_iter
  for rows in self.execute_sql(MULTI):
File "/usr/local/lib/python2.7/dist-packages/Django-1.4.1-py2.7.egg/django/db/models/sql/compiler.py", line 818, in execute_sql
  cursor.execute(sql, params)
File "/usr/local/lib/python2.7/dist-packages/Django-1.4.1-py2.7.egg/django/db/backends/oracle/base.py", line 675, in execute
  return self.cursor.execute(query, self._param_generator(params))
DatabaseError: ORA-00907: missing right parenthesis

我认为问题是由南方引起的,这是哨兵依赖,并且只对甲骨文后端提供alpha支持。有没有人有这方面的经验?

另外,如何查看ORM生成的实际SQL语句?如何配置哨兵才能看到?这将非常有帮助。

0 个答案:

没有答案