{"action":"created","issue":{"url":"https://api.github.com/repos/hammerlab/cycledash/issues/672","labels_url":"https://api.github.com/repos/hammerlab/cycledash/issues/672/labels{/name}","comments_url":"https://api.github.com/repos/hammerlab/cycledash/issues/672/comments","events_url":"https://api.github.com/repos/hammerlab/cycledash/issues/672/events","html_url":"https://github.com/hammerlab/cycledash/issues/672","id":83708178,"number":672,"title":"Gene annotator doesn't seem to be working—PyEnsembl","user":{"login":"ihodes","id":167803,"avatar_url":"https://avatars.githubusercontent.com/u/167803?v=3","gravatar_id":"","url":"https://api.github.com/users/ihodes","html_url":"https://github.com/ihodes","followers_url":"https://api.github.com/users/ihodes/followers","following_url":"https://api.github.com/users/ihodes/following{/other_user}","gists_url":"https://api.github.com/users/ihodes/gists{/gist_id}","starred_url":"https://api.github.com/users/ihodes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ihodes/subscriptions","organizations_url":"https://api.github.com/users/ihodes/orgs","repos_url":"https://api.github.com/users/ihodes/repos","events_url":"https://api.github.com/users/ihodes/events{/privacy}","received_events_url":"https://api.github.com/users/ihodes/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/hammerlab/cycledash/labels/annotations","name":"annotations","color":"fbca04"},{"url":"https://api.github.com/repos/hammerlab/cycledash/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-06-01T21:45:08Z","updated_at":"2015-06-02T22:05:46Z","closed_at":null,"body":"```\r\nTraceback (most recent call last):\r\n  File \"/home/cycledash/cycledash/venv/lib/python2.7/site-packages/celery/app/trace.py\", line 240, in trace_task\r\n    R = retval = fun(*args, **kwargs)\r\n  File \"/home/cycledash/cycledash/venv/lib/python2.7/site-packages/celery/app/trace.py\", line 437, in __protected_call__\r\n    return self.run(*args, **kwargs)\r\n  File \"/home/cycledash/cycledash/workers/gene_annotator.py\", line 43, in annotate\r\n    EnsemblRelease(config.ENSEMBL_RELEASE).install()  # Only runs the first time for this release.\r\n  File \"/home/cycledash/cycledash/venv/lib/python2.7/site-packages/pyensembl/ensembl_release.py\", line 152, in install\r\n    self._index(force=False)\r\n  File \"/home/cycledash/cycledash/venv/lib/python2.7/site-packages/pyensembl/ensembl_release.py\", line 163, in _index\r\n    if self.db.create(force=force):\r\n  File \"/home/cycledash/cycledash/venv/lib/python2.7/site-packages/pyensembl/database.py\", line 514, in create\r\n    self._create_database(force=force)\r\n  File \"/home/cycledash/cycledash/venv/lib/python2.7/site-packages/pyensembl/database.py\", line 185, in _create_database\r\n    version=DATABASE_SCHEMA_VERSION)\r\n  File \"/home/cycledash/cycledash/venv/lib/python2.7/site-packages/datacache/database_helpers.py\", line 200, in db_from_dataframes\r\n    version=version)\r\n  File \"/home/cycledash/cycledash/venv/lib/python2.7/site-packages/datacache/database_helpers.py\", line 100, in _create_cached_db\r\n    db.drop_tables()\r\nAttributeError: 'Database' object has no attribute 'drop_tables'\r\n```\r\n\r\nWe're running `pyensembl==0.5.13`—newest version is `0.6.8`."},"comment":{"url":"https://api.github.com/repos/hammerlab/cycledash/issues/comments/108112217","html_url":"https://github.com/hammerlab/cycledash/issues/672#issuecomment-108112217","issue_url":"https://api.github.com/repos/hammerlab/cycledash/issues/672","id":108112217,"user":{"login":"tavinathanson","id":322932,"avatar_url":"https://avatars.githubusercontent.com/u/322932?v=3","gravatar_id":"","url":"https://api.github.com/users/tavinathanson","html_url":"https://github.com/tavinathanson","followers_url":"https://api.github.com/users/tavinathanson/followers","following_url":"https://api.github.com/users/tavinathanson/following{/other_user}","gists_url":"https://api.github.com/users/tavinathanson/gists{/gist_id}","starred_url":"https://api.github.com/users/tavinathanson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tavinathanson/subscriptions","organizations_url":"https://api.github.com/users/tavinathanson/orgs","repos_url":"https://api.github.com/users/tavinathanson/repos","events_url":"https://api.github.com/users/tavinathanson/events{/privacy}","received_events_url":"https://api.github.com/users/tavinathanson/received_events","type":"User","site_admin":false},"created_at":"2015-06-02T22:05:46Z","updated_at":"2015-06-02T22:05:46Z","body":"I'm getting a bit confused about the versioning, but in short: datacache 0.4.13 is where the original issue gets fixed, and PyEnsembl still does not pull that in: so updating PyEnsembl in CycleDash won't fix that bug until PyEnsembl itself is updated. (Not sure about the latter issue.) Will make a PR now."}}