Skip to content

Instantly share code, notes, and snippets.

@davewongillies
Created December 18, 2014 04:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save davewongillies/ffc1378411cf1d2bd5cb to your computer and use it in GitHub Desktop.
Save davewongillies/ffc1378411cf1d2bd5cb to your computer and use it in GitHub Desktop.
starting up Sentry with initial_data.json
sentry --config=/var/sentry/sentry.conf.py start
Performing upgrade before service startup...
Syncing...
Creating tables ...
Installing custom SQL ...
Installing indexes ...
AttributeError: Problem installing fixture 'initial_data.json': 'NoneType' object has no attribute 'using'
[
{
"pk": 1,
"model": "auth.user",
"fields": {
"username": "admin",
"first_name": "",
"last_name": "",
"is_active": true,
"is_superuser": true,
"is_staff": true,
"last_login": "2008-09-04 14:25:29",
"groups": [],
"user_permissions": [],
"password": "sha1$saltychocolateballs$fd94606689816a112d2e88814c15e1f4eb7ed582",
"email": "admin@example.com",
"date_joined": "2008-09-04 14:25:29"
}
}
]
@davewongillies
Copy link
Author

So this fails if you don't have the database populated beforehand.

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