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

Vagrant docs: add purging the cache step #1021

Merged
merged 1 commit into from
May 4, 2016
Merged

Vagrant docs: add purging the cache step #1021

merged 1 commit into from
May 4, 2016

Conversation

ariarijp
Copy link
Member

@ariarijp ariarijp commented May 1, 2016

I got an error with Vagrant setup procedure in Setting up development environment (using Vagrant).

This error to solve with purging the cache.

12:32:33 worker.1 | [2016-05-01 12:32:33,191: ERROR/MainProcess] Task redash.tasks.record_event[0c4fbabf-77b0-42ed-9bf6-52f071f15d82] raised unexpected: KeyError('org_id',)
12:32:33 worker.1 | Traceback (most recent call last):
12:32:33 worker.1 |   File "/usr/local/lib/python2.7/dist-packages/celery/app/trace.py", line 240, in trace_task
12:32:33 worker.1 |     R = retval = fun(*args, **kwargs)
12:32:33 worker.1 |   File "/opt/redash/current/redash/tasks/base.py", line 13, in __call__
12:32:33 worker.1 |     return super(BaseTask, self).__call__(*args, **kwargs)
12:32:33 worker.1 |   File "/usr/local/lib/python2.7/dist-packages/celery/app/trace.py", line 437, in __protected_call__
12:32:33 worker.1 |     return self.run(*args, **kwargs)
12:32:33 worker.1 |   File "/opt/redash/current/redash/tasks/general.py", line 13, in record_event
12:32:33 worker.1 |     models.Event.record(event)
12:32:33 worker.1 |   File "/opt/redash/current/redash/models.py", line 1046, in record
12:32:33 worker.1 |     org = event.pop('org_id')
12:32:33 worker.1 | KeyError: 'org_id'

Please review my changes.

Thanks,

@arikfr arikfr changed the title Add purging the cache step Vagrant docs: add purging the cache step May 4, 2016
@arikfr arikfr merged commit f7322a4 into getredash:master May 4, 2016
@arikfr
Copy link
Member

arikfr commented May 4, 2016

Thanks.

@arikfr arikfr mentioned this pull request May 4, 2016
@ariarijp ariarijp deleted the documentation-improvement branch June 19, 2016 11:43
simo7 pushed a commit to pubnative/redash that referenced this pull request Sep 22, 2016
…ve locations, include command from getredash#1021.

Also reset circle.yml to be as in the main redash repo so our changes are not included in the changeset
Check earlier PR getredash#1027 to follow conversation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants