-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix DST issues in 0.9.x #810
Comments
Also refs #639 |
In case anyone is wondering, the two graphite-api commits need to be backported to fix the three issues. |
Hi @esc, |
@deniszh The two I linked in the original description. |
Related, courtesy of @mleinart (with approval to post): |
Nah, my fix is not working, @mleinart was right :) Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py", line 111, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/opt/graphite/webapp/graphite/render/views.py", line 53, in renderView
(graphOptions, requestOptions) = parseOptions(request)
File "/opt/graphite/webapp/graphite/render/views.py", line 305, in parseOptions
startTime = min(fromTime, untilTime)
TypeError: can't compare offset-naive and offset-aware datetimes It seems time handling in Flask is much better, or @brutasse also fix this in different way... |
@deniszh there were 2 commits in graphite-api. The first one was incomplete, make sure you take both into account. |
Hm. It's working now, but not sure if I patched fetchData() right. @brutasse, could you please check ? |
More fixes after @brutasse advices. Will port to master w/proper testing today or on weekend. |
There are a number of DST issues that need to be addressed in
0.9.x
before the next release. As mentioned by @brutassed here, he's already fixed a bunch of these in brutasse/graphite-api. These should be easily ported tomaster
and0.9.x
.Let's use this issue as a catch-all for any discussions around DST fixes.
brutasse/graphite-api@c8854f5
brutasse/graphite-api@a0ae470
Refs #753 #806 #807
The text was updated successfully, but these errors were encountered: