{"action":"created","issue":{"url":"https://api.github.com/repos/dask/distributed/issues/318","repository_url":"https://api.github.com/repos/dask/distributed","labels_url":"https://api.github.com/repos/dask/distributed/issues/318/labels{/name}","comments_url":"https://api.github.com/repos/dask/distributed/issues/318/comments","events_url":"https://api.github.com/repos/dask/distributed/issues/318/events","html_url":"https://github.com/dask/distributed/issues/318","id":158889871,"number":318,"title":"UnBoundLocalError when using the --no-bokeh flag","user":{"login":"mackaiver","id":4076745,"avatar_url":"https://avatars.githubusercontent.com/u/4076745?v=3","gravatar_id":"","url":"https://api.github.com/users/mackaiver","html_url":"https://github.com/mackaiver","followers_url":"https://api.github.com/users/mackaiver/followers","following_url":"https://api.github.com/users/mackaiver/following{/other_user}","gists_url":"https://api.github.com/users/mackaiver/gists{/gist_id}","starred_url":"https://api.github.com/users/mackaiver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mackaiver/subscriptions","organizations_url":"https://api.github.com/users/mackaiver/orgs","repos_url":"https://api.github.com/users/mackaiver/repos","events_url":"https://api.github.com/users/mackaiver/events{/privacy}","received_events_url":"https://api.github.com/users/mackaiver/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-06-07T10:28:46Z","updated_at":"2016-06-09T14:24:20Z","closed_at":null,"body":"Not sure if this is the same issue as #269 but I'll post it here anyways. \r\nAs the title states I get an error when executing without bokeh\r\n\r\n```\r\n[awesomeuser@bestcluster ~]$dscheduler --port 12801 --no-bokeh\r\ndistributed.scheduler - INFO - Scheduler at:       10.194.169.142:12801\r\ndistributed.scheduler - INFO -      http at:       10.194.169.142:9786\r\n^CTraceback (most recent call last):\r\n  File \"/home/guest/kbruegge/anaconda3/bin/dscheduler\", line 6, in <module>\r\n    sys.exit(distributed.cli.dscheduler.go())\r\n  File \"/home/guest/kbruegge/anaconda3/lib/python3.5/site-packages/distributed/cli/dscheduler.py\", line 109, in go\r\n    main()\r\n  File \"/home/guest/kbruegge/anaconda3/lib/python3.5/site-packages/click/core.py\", line 716, in __call__\r\n    return self.main(*args, **kwargs)\r\n  File \"/home/guest/kbruegge/anaconda3/lib/python3.5/site-packages/click/core.py\", line 696, in main\r\n    rv = self.invoke(ctx)\r\n  File \"/home/guest/kbruegge/anaconda3/lib/python3.5/site-packages/click/core.py\", line 889, in invoke\r\n    return ctx.invoke(self.callback, **ctx.params)\r\n  File \"/home/guest/kbruegge/anaconda3/lib/python3.5/site-packages/click/core.py\", line 534, in invoke\r\n    return callback(*args, **kwargs)\r\n  File \"/home/guest/kbruegge/anaconda3/lib/python3.5/site-packages/distributed/cli/dscheduler.py\", line 102, in main\r\n    bokeh_proc.terminate()\r\nUnboundLocalError: local variable 'bokeh_proc' referenced before assignment\r\ndistributed.scheduler - INFO - Remove client None\r\n```\r\n\r\nThis happens whenever I exit the process. Pressing ctrl+c or similar."},"comment":{"url":"https://api.github.com/repos/dask/distributed/issues/comments/224910472","html_url":"https://github.com/dask/distributed/issues/318#issuecomment-224910472","issue_url":"https://api.github.com/repos/dask/distributed/issues/318","id":224910472,"user":{"login":"mrocklin","id":306380,"avatar_url":"https://avatars.githubusercontent.com/u/306380?v=3","gravatar_id":"","url":"https://api.github.com/users/mrocklin","html_url":"https://github.com/mrocklin","followers_url":"https://api.github.com/users/mrocklin/followers","following_url":"https://api.github.com/users/mrocklin/following{/other_user}","gists_url":"https://api.github.com/users/mrocklin/gists{/gist_id}","starred_url":"https://api.github.com/users/mrocklin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrocklin/subscriptions","organizations_url":"https://api.github.com/users/mrocklin/orgs","repos_url":"https://api.github.com/users/mrocklin/repos","events_url":"https://api.github.com/users/mrocklin/events{/privacy}","received_events_url":"https://api.github.com/users/mrocklin/received_events","type":"User","site_admin":false},"created_at":"2016-06-09T14:24:20Z","updated_at":"2016-06-09T14:24:20Z","body":"I believe that this is fixed on master, which should be released in week or two.  Try the following until then\r\n\r\n    pip install git+https://github.com/dask/distributed.git --upgrade"}}
{"actor":{"display_login":"mrocklin"}}