Hi,
I'm attempting to run Django Sentry on Django 1.4 (alpha), and I seem to be hitting an issue with timezone awareness?
Originally, when I ran it, I got the rather nondescript message:
No handlers could be found for logger "sentry.errors.client"
import logging
logger = logging.getLogger('sentry.errors')
logger.setLevel(logging.INFO)
logger.addHandler(logging.StreamHandler())
I then get the following on stderr:
Unable to process log entry: can't subtract offset-naive and offset-aware datetimes
Traceback (most recent call last):
File "/home/victorhooi/.virtualenvs/aegnexus/src/sentry/sentry/manager.py", line 321, in from_kwargs
group, is_new, is_sample = self._create_group(event, **group_kwargs)
File "/home/victorhooi/.virtualenvs/aegnexus/src/sentry/sentry/manager.py", line 365, in _create_group
silence_timedelta = date - group.last_seen
TypeError: can't subtract offset-naive and offset-aware datetimes
Any advice?
Cheers,
Victor