Giter Club home page Giter Club logo

Comments (6)

dcramer avatar dcramer commented on July 22, 2024

More details would help. There is at least one test that will fail under a default Django build assuming it's not patched with a fix (we however test it under our fork which contains a fix for the failure).

My testing env is strictly a virtualenv with our (disqus) package loaded up inside of it and django-sentry symlinked in. Then I simply do python runtests.py to go through the test suite.

from sentry.

schneckliger avatar schneckliger commented on July 22, 2024

I' also using sqlite in a local environment, and when I click on a log entry, I get:

DatabaseError at /sentry/group/2
near "from": syntax error
[..]
Exception Location: /Library/Python/2.6/site-packages/django/db/backends/sqlite3/base.py in execute, line 200

from sentry.

dcramer avatar dcramer commented on July 22, 2024

Ah alright. The tests only cover the client->remote logging capability. The entire dashboard interface is uncovered which is why this wouldn't be caught. I'm honestly not sure there's much. For now I've dealt with this by disabling the graph if you're using SQLite

from sentry.

schneckliger avatar schneckliger commented on July 22, 2024

Thanks for the patch, unfortunately, it still does not work:

File "/Library/Python/2.6/site-packages/django_sentry-1.0.2-py2.6.egg/sentry/views.py", line 213, in group
rows = dict(chart_qs)

I think the problem is in the database detection:

engine = dj_settings.DATABASE_ENGINE.rsplit('.', 1)[-1]

In Django 1.2.1 (which I'm, using), this does not work, the settings look like this:

DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlit3',

from sentry.

slestak avatar slestak commented on July 22, 2024

Schnecklinger, is that a literal copy? It appears you are missing an 'e' in sqlite3.

from sentry.

oertels avatar oertels commented on July 22, 2024

sorry, was my c&p mistake. the application and database are running

from sentry.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.