{"action":"created","issue":{"url":"https://api.github.com/repos/ialbert/biostar-central/issues/367","labels_url":"https://api.github.com/repos/ialbert/biostar-central/issues/367/labels{/name}","comments_url":"https://api.github.com/repos/ialbert/biostar-central/issues/367/comments","events_url":"https://api.github.com/repos/ialbert/biostar-central/issues/367/events","html_url":"https://github.com/ialbert/biostar-central/issues/367","id":93553807,"number":367,"title":"Post has no attribute usergroup","user":{"login":"brainstorm","id":175587,"avatar_url":"https://avatars.githubusercontent.com/u/175587?v=3","gravatar_id":"","url":"https://api.github.com/users/brainstorm","html_url":"https://github.com/brainstorm","followers_url":"https://api.github.com/users/brainstorm/followers","following_url":"https://api.github.com/users/brainstorm/following{/other_user}","gists_url":"https://api.github.com/users/brainstorm/gists{/gist_id}","starred_url":"https://api.github.com/users/brainstorm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brainstorm/subscriptions","organizations_url":"https://api.github.com/users/brainstorm/orgs","repos_url":"https://api.github.com/users/brainstorm/repos","events_url":"https://api.github.com/users/brainstorm/events{/privacy}","received_events_url":"https://api.github.com/users/brainstorm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-07T15:10:11Z","updated_at":"2015-07-07T15:28:19Z","closed_at":null,"body":"While setting up/running Biostars3 (3.0 branch) with a `./biostar.sh delete migrate index run` according to the docs I'm getting:\r\n\r\n```\r\nERROR:root:Error updating forum using default\r\nTraceback (most recent call last):\r\n  File \"/Users/romanvg/anaconda/lib/python2.7/site-packages/haystack/management/commands/update_index.py\", line 188, in handle_label\r\n    self.update_backend(label, using)\r\n  File \"/Users/romanvg/anaconda/lib/python2.7/site-packages/haystack/management/commands/update_index.py\", line 233, in update_backend\r\n    do_update(backend, index, qs, start, end, total, verbosity=self.verbosity, commit=self.commit)\r\n  File \"/Users/romanvg/anaconda/lib/python2.7/site-packages/haystack/management/commands/update_index.py\", line 96, in do_update\r\n    backend.update(index, current_qs, commit=commit)\r\n  File \"/Users/romanvg/anaconda/lib/python2.7/site-packages/haystack/backends/whoosh_backend.py\", line 196, in update\r\n    doc = index.full_prepare(obj)\r\n  File \"/Users/romanvg/anaconda/lib/python2.7/site-packages/haystack/indexes.py\", line 212, in full_prepare\r\n    self.prepared_data = self.prepare(obj)\r\n  File \"/Users/romanvg/dev/biostar-central/biostar3/forum/search_indexes.py\", line 31, in prepare\r\n    data['domain'] = obj.root.usergroup.domain\r\nAttributeError: 'Post' object has no attribute 'usergroup'\r\n```"},"comment":{"url":"https://api.github.com/repos/ialbert/biostar-central/issues/comments/119239163","html_url":"https://github.com/ialbert/biostar-central/issues/367#issuecomment-119239163","issue_url":"https://api.github.com/repos/ialbert/biostar-central/issues/367","id":119239163,"user":{"login":"ialbert","id":46249,"avatar_url":"https://avatars.githubusercontent.com/u/46249?v=3","gravatar_id":"","url":"https://api.github.com/users/ialbert","html_url":"https://github.com/ialbert","followers_url":"https://api.github.com/users/ialbert/followers","following_url":"https://api.github.com/users/ialbert/following{/other_user}","gists_url":"https://api.github.com/users/ialbert/gists{/gist_id}","starred_url":"https://api.github.com/users/ialbert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ialbert/subscriptions","organizations_url":"https://api.github.com/users/ialbert/orgs","repos_url":"https://api.github.com/users/ialbert/repos","events_url":"https://api.github.com/users/ialbert/events{/privacy}","received_events_url":"https://api.github.com/users/ialbert/received_events","type":"User","site_admin":false},"created_at":"2015-07-07T15:28:19Z","updated_at":"2015-07-07T15:28:19Z","body":"the issue is with the indices, since those exist on our system a later bug\nwill not be visible immediately via regular use - errors that reoccur such\nas in 341 would be good to be added to the tests.\n\n\n\n\n\nOn 7 July 2015 at 11:19, Roman Valls Guimerà <notifications@github.com>\nwrote:\n\n> Looking at closed issues, this seems to be #341\n> <https://github.com/ialbert/biostar-central/issues/341> resurfacing. I\n> followed the thread but cannot get Biostars3 to run from a fresh install by\n> following the readme :-/\n>\n> @Lohit13 <https://github.com/Lohit13>, did you run into this during your\n> test(s)?\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/ialbert/biostar-central/issues/367#issuecomment-119236945>\n> .\n>\n"}}