{"action":"closed","issue":{"url":"https://api.github.com/repos/NVIDIA/DIGITS/issues/926","repository_url":"https://api.github.com/repos/NVIDIA/DIGITS","labels_url":"https://api.github.com/repos/NVIDIA/DIGITS/issues/926/labels{/name}","comments_url":"https://api.github.com/repos/NVIDIA/DIGITS/issues/926/comments","events_url":"https://api.github.com/repos/NVIDIA/DIGITS/issues/926/events","html_url":"https://github.com/NVIDIA/DIGITS/issues/926","id":167229057,"number":926,"title":"Install error :Can`t run digits-devserver","user":{"login":"mindcont","id":13744152,"avatar_url":"https://avatars.githubusercontent.com/u/13744152?v=3","gravatar_id":"","url":"https://api.github.com/users/mindcont","html_url":"https://github.com/mindcont","followers_url":"https://api.github.com/users/mindcont/followers","following_url":"https://api.github.com/users/mindcont/following{/other_user}","gists_url":"https://api.github.com/users/mindcont/gists{/gist_id}","starred_url":"https://api.github.com/users/mindcont/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mindcont/subscriptions","organizations_url":"https://api.github.com/users/mindcont/orgs","repos_url":"https://api.github.com/users/mindcont/repos","events_url":"https://api.github.com/users/mindcont/events{/privacy}","received_events_url":"https://api.github.com/users/mindcont/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-07-24T11:23:07Z","updated_at":"2016-07-24T13:50:47Z","closed_at":"2016-07-24T13:50:47Z","body":"I use Ubuntu 14.04 and [BVLC-Caffe](https://github.com/BVLC/caffe) with CUDA 7.5 + CuDNN 7.5 which is successfully installed,\r\n```\r\npi@DeepMind:/usr/share/digits$ uname -a\r\nLinux DeepMind 4.2.0-42-generic #49~14.04.1-Ubuntu SMP Wed Jun 29 20:22:11 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux\r\n```\r\nWhen i install digits follow the [Ubuntu Installation](https://github.com/NVIDIA/DIGITS/blob/master/docs/UbuntuInstall.md) step by step,input this **sudo ./digits-server** , i got error like this:\r\n```\r\npi@DeepMind:/usr/share/digits$ sudo ./digits-server\r\n2016-07-24 18:47:45 [6335] [INFO] Starting gunicorn 17.5\r\n2016-07-24 18:47:46 [6335] [ERROR] Connection in use: ('0.0.0.0', 34448)\r\n2016-07-24 18:47:46 [6335] [ERROR] Retrying in 1 second.\r\n2016-07-24 18:47:47 [6335] [ERROR] Connection in use: ('0.0.0.0', 34448)\r\n2016-07-24 18:47:47 [6335] [ERROR] Retrying in 1 second.\r\n2016-07-24 18:47:48 [6335] [ERROR] Connection in use: ('0.0.0.0', 34448)\r\n2016-07-24 18:47:48 [6335] [ERROR] Retrying in 1 second.\r\n2016-07-24 18:47:49 [6335] [ERROR] Connection in use: ('0.0.0.0', 34448)\r\n2016-07-24 18:47:49 [6335] [ERROR] Retrying in 1 second.\r\n2016-07-24 18:47:50 [6335] [ERROR] Connection in use: ('0.0.0.0', 34448)\r\n2016-07-24 18:47:50 [6335] [ERROR] Retrying in 1 second.\r\n2016-07-24 18:47:51 [6335] [ERROR] Can't connect to ('0.0.0.0', 34448)\r\n```\r\n![digits_error](https://cloud.githubusercontent.com/assets/13744152/17083544/39c28aae-51d7-11e6-9c8a-ca267bd3ec60.png)\r\n\r\nthan i use the dev mode ,by **sudo ./digits-devserver**\r\n```\r\npi@DeepMind:/usr/share/digits$ sudo ./digits-devserver\r\n/usr/local/lib/python2.7/dist-packages/flask/exthook.py:71: ExtDeprecationWarning: Importing flask.ext.socketio is deprecated, use flask_socketio instead.\r\n  .format(x=modname), ExtDeprecationWarning\r\n/usr/local/lib/python2.7/dist-packages/flask/exthook.py:71: ExtDeprecationWarning: Importing flask.ext.autodoc is deprecated, use flask_autodoc instead.\r\n  .format(x=modname), ExtDeprecationWarning\r\n/usr/local/lib/python2.7/dist-packages/flask/exthook.py:71: ExtDeprecationWarning: Importing flask.ext.wtf is deprecated, use flask_wtf instead.\r\n  .format(x=modname), ExtDeprecationWarning\r\nTraceback (most recent call last):\r\n  File \"./digits-devserver\", line 44, in <module>\r\n    from digits.webapp import app, socketio, scheduler\r\n  File \"/usr/local/lib/python2.7/dist-packages/gevent/builtins.py\", line 93, in __import__\r\n    result = _import(*args, **kwargs)\r\n  File \"/usr/share/digits/digits/webapp.py\", line 45, in <module>\r\n    import digits.views\r\n  File \"/usr/local/lib/python2.7/dist-packages/gevent/builtins.py\", line 93, in __import__\r\n    result = _import(*args, **kwargs)\r\n  File \"/usr/share/digits/digits/views.py\", line 270, in <module>\r\n    app.register_error_handler(code, handle_error)\r\n  File \"/usr/local/lib/python2.7/dist-packages/flask/app.py\", line 1186, in register_error_handler\r\n    self._register_error_handler(None, code_or_exception, f)\r\n  File \"/usr/local/lib/python2.7/dist-packages/flask/app.py\", line 65, in wrapper_func\r\n    return f(self, *args, **kwargs)\r\n  File \"/usr/local/lib/python2.7/dist-packages/flask/app.py\", line 1201, in _register_error_handler\r\n    exc_class, code = self._get_exc_class_and_code(code_or_exception)\r\n  File \"/usr/local/lib/python2.7/dist-packages/flask/app.py\", line 1121, in _get_exc_class_and_code\r\n    exc_class = default_exceptions[exc_class_or_code]\r\nKeyError: 300\r\n```\r\nand run **digits-test**，the result is  : \r\n```\r\n======================================================================\r\nERROR: Failure: KeyError (300)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/usr/lib/python2.7/dist-packages/nose/loader.py\", line 411, in loadTestsFromName\r\n    addr.filename, addr.module)\r\n  File \"/usr/lib/python2.7/dist-packages/nose/importer.py\", line 47, in importFromPath\r\n    return self.importFromDir(dir_path, fqname)\r\n  File \"/usr/lib/python2.7/dist-packages/nose/importer.py\", line 94, in importFromDir\r\n    mod = load_module(part_fqname, fh, filename, desc)\r\n  File \"/usr/share/digits/digits/test_views.py\", line 10, in <module>\r\n    import webapp\r\n  File \"/usr/local/lib/python2.7/dist-packages/gevent/builtins.py\", line 93, in __import__\r\n    result = _import(*args, **kwargs)\r\n  File \"/usr/share/digits/digits/webapp.py\", line 45, in <module>\r\n    import digits.views\r\n  File \"/usr/local/lib/python2.7/dist-packages/gevent/builtins.py\", line 93, in __import__\r\n    result = _import(*args, **kwargs)\r\n  File \"/usr/share/digits/digits/views.py\", line 270, in <module>\r\n    app.register_error_handler(code, handle_error)\r\n  File \"/usr/local/lib/python2.7/dist-packages/flask/app.py\", line 1186, in register_error_handler\r\n    self._register_error_handler(None, code_or_exception, f)\r\n  File \"/usr/local/lib/python2.7/dist-packages/flask/app.py\", line 65, in wrapper_func\r\n    return f(self, *args, **kwargs)\r\n  File \"/usr/local/lib/python2.7/dist-packages/flask/app.py\", line 1201, in _register_error_handler\r\n    exc_class, code = self._get_exc_class_and_code(code_or_exception)\r\n  File \"/usr/local/lib/python2.7/dist-packages/flask/app.py\", line 1121, in _get_exc_class_and_code\r\n    exc_class = default_exceptions[exc_class_or_code]\r\nKeyError: 300\r\n\r\n----------------------------------------------------------------------\r\nRan 391 tests in 10.326s\r\n\r\nFAILED (SKIP=4, errors=10)\r\n```\r\n**is there anybody with the same error like me ,how do i solve this problem? \r\nThanks a lot !**"}}
{"actor":{"display_login":"mindcont"}}