Skip to content
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

whisper: upgrade to the same version as the other graphite components #21032

Closed

Conversation

basvandijk
Copy link
Member

Without this patch (based on release-16.09) we get the following Python exception when trying to fetch a graph in the graphite web app:

...
File "/nix/store/nj62jqk2xmp5c3h93pfnlqn66qj1kkvs-python-2.7.12-env/lib/python2.7/site-packages/opt/graphite/webapp/graphite/storage.py", line 335, in fetch
    return whisper.fetch(self.fs_path, startTime, endTime, now)
TypeError: fetch() takes at most 3 arguments (4 given)

@fpletz I also abstracted the graphite version behind a variable so this mistake won't happen again.

This probably also has to be cherry picked on master.

Without this we get the following Python exception when trying to fetch
a graph in the graphite web app:

    File "/nix/store/nj62jqk2xmp5c3h93pfnlqn66qj1kkvs-python-2.7.12-env/lib/python2.7/site-packages/opt/graphite/webapp/graphite/storage.py", line 335, in fetch
      return whisper.fetch(self.fs_path, startTime, endTime, now)
  TypeError: fetch() takes at most 3 arguments (4 given)
@mention-bot
Copy link

@basvandijk, thanks for your PR! By analyzing the history of the files in this pull request, we identified @FRidh to be a potential reviewer.

@basvandijk
Copy link
Member Author

@domenkozar @fpletz it would be great if this could be merged in release-16.09.

@fpletz
Copy link
Member

fpletz commented Dec 15, 2016

The target of this fix should be master instead of the release branch.

@fpletz fpletz changed the base branch from release-16.09 to master December 15, 2016 16:08
@fpletz fpletz changed the base branch from master to release-16.09 December 15, 2016 16:09
@fpletz fpletz closed this in b4005bb Dec 15, 2016
fpletz pushed a commit that referenced this pull request Dec 15, 2016
Without this we get the following Python exception when trying to fetch
a graph in the graphite web app:

    File "/nix/store/nj62jqk2xmp5c3h93pfnlqn66qj1kkvs-python-2.7.12-env/lib/python2.7/site-packages/opt/graphite/webapp/graphite/storage.py", line 335, in fetch
      return whisper.fetch(self.fs_path, startTime, endTime, now)
  TypeError: fetch() takes at most 3 arguments (4 given)

Fixes #21032.

(cherry picked from commit b4005bb)
@fpletz
Copy link
Member

fpletz commented Dec 15, 2016

Cherry-picked your commit to master and then to release-16.09. Thanks!

@basvandijk
Copy link
Member Author

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants