{"action":"created","issue":{"url":"https://api.github.com/repos/pbelmans/gerby-website/issues/67","repository_url":"https://api.github.com/repos/pbelmans/gerby-website","labels_url":"https://api.github.com/repos/pbelmans/gerby-website/issues/67/labels{/name}","comments_url":"https://api.github.com/repos/pbelmans/gerby-website/issues/67/comments","events_url":"https://api.github.com/repos/pbelmans/gerby-website/issues/67/events","html_url":"https://github.com/pbelmans/gerby-website/issues/67","id":298366426,"number":67,"title":"Build issue","user":{"login":"PatrickMassot","id":14060883,"avatar_url":"https://avatars1.githubusercontent.com/u/14060883?v=4","gravatar_id":"","url":"https://api.github.com/users/PatrickMassot","html_url":"https://github.com/PatrickMassot","followers_url":"https://api.github.com/users/PatrickMassot/followers","following_url":"https://api.github.com/users/PatrickMassot/following{/other_user}","gists_url":"https://api.github.com/users/PatrickMassot/gists{/gist_id}","starred_url":"https://api.github.com/users/PatrickMassot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PatrickMassot/subscriptions","organizations_url":"https://api.github.com/users/PatrickMassot/orgs","repos_url":"https://api.github.com/users/PatrickMassot/repos","events_url":"https://api.github.com/users/PatrickMassot/events{/privacy}","received_events_url":"https://api.github.com/users/PatrickMassot/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2018-02-19T18:25:01Z","updated_at":"2018-02-21T07:02:48Z","closed_at":null,"author_association":"NONE","body":"I tried to follow the blog instructions to test building the stacks web site. I get\r\n```\r\nINFO:__main__:Assigning chapters to parts\r\nTraceback (most recent call last):\r\n  File \"/home/pmassot/.virtualenvs/gerby/lib/python3.6/site-packages/peewee.py\", line 5463, in get\r\n    return clone.execute()[0]\r\n  File \"/home/pmassot/.virtualenvs/gerby/lib/python3.6/site-packages/peewee.py\", line 3355, in __getitem__\r\n    return self.row_cache[item]\r\nIndexError: list index out of range\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n  File \"update.py\", line 170, in <module>\r\n    Part.create(part=Tag.get(Tag.type == \"part\", Tag.ref == part), chapter=Tag.get(Tag.type == \"chapter\", Tag.ref == chapter))\r\n  File \"/home/pmassot/.virtualenvs/gerby/lib/python3.6/site-packages/peewee.py\", line 5082, in get\r\n    return sq.get()\r\n  File \"/home/pmassot/.virtualenvs/gerby/lib/python3.6/site-packages/peewee.py\", line 5468, in get\r\n    (clone.model, sql, params))\r\ngerby.database.TagDoesNotExist: <class 'gerby.database.Tag'> instance matching query does not exist:\r\nSQL: SELECT \"t1\".\"tag\", \"t1\".\"label\", \"t1\".\"active\", \"t1\".\"ref\", \"t1\".\"type\", \"t1\".\"html\", \"t1\".\"name\" FROM \"tag\" AS \"t1\" WHERE ((\"t1\".\"type\" = ?) AND (\"t1\".\"ref\" = ?)) LIMIT 1 OFFSET 0\r\nParams: ['part', '9']\r\n```\r\n\r\nI can try to investigate but first I'd like to know whether you see something obvious here (like you could know that the blog instructions is not up to date).\r\n\r\nBy the way, I don't see any kind of continuous integration on this repository. Don't you think you could configure Travis to try to build the stacks project each time someone pushes to this repo? I could probably help a bit in setting this up."},"comment":{"url":"https://api.github.com/repos/pbelmans/gerby-website/issues/comments/367232184","html_url":"https://github.com/pbelmans/gerby-website/issues/67#issuecomment-367232184","issue_url":"https://api.github.com/repos/pbelmans/gerby-website/issues/67","id":367232184,"user":{"login":"chngr","id":1256981,"avatar_url":"https://avatars0.githubusercontent.com/u/1256981?v=4","gravatar_id":"","url":"https://api.github.com/users/chngr","html_url":"https://github.com/chngr","followers_url":"https://api.github.com/users/chngr/followers","following_url":"https://api.github.com/users/chngr/following{/other_user}","gists_url":"https://api.github.com/users/chngr/gists{/gist_id}","starred_url":"https://api.github.com/users/chngr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chngr/subscriptions","organizations_url":"https://api.github.com/users/chngr/orgs","repos_url":"https://api.github.com/users/chngr/repos","events_url":"https://api.github.com/users/chngr/events{/privacy}","received_events_url":"https://api.github.com/users/chngr/received_events","type":"User","site_admin":false},"created_at":"2018-02-21T07:02:48Z","updated_at":"2018-02-21T07:02:48Z","author_association":"COLLABORATOR","body":"@PatrickMassot and @aisejohan: I have begun to add some flexibility to the update script. In particular, you can now specify a flag `--noParts` to bypass the parts assignment. Of course, it will be prettier and better if you do assign some parts by updating the tags file as above, but it is not strictly necessary.\r\n\r\nAs a side note, you can make the database creation process quicker by not creating a search table and skipping the computation of statistics. This can be done by passing the flags `--noSearch` and `--noTagStats`, respectively."}}
{"actor":{"display_login":"chngr"}}