{"action":"closed","issue":{"url":"https://api.github.com/repos/gaojiuli/toapi/issues/68","repository_url":"https://api.github.com/repos/gaojiuli/toapi","labels_url":"https://api.github.com/repos/gaojiuli/toapi/issues/68/labels{/name}","comments_url":"https://api.github.com/repos/gaojiuli/toapi/issues/68/comments","events_url":"https://api.github.com/repos/gaojiuli/toapi/issues/68/events","html_url":"https://github.com/gaojiuli/toapi/issues/68","id":282711938,"number":68,"title":"Minor bug when passing url port data to flask","user":{"login":"Daniel-at-github","id":4407929,"avatar_url":"https://avatars3.githubusercontent.com/u/4407929?v=4","gravatar_id":"","url":"https://api.github.com/users/Daniel-at-github","html_url":"https://github.com/Daniel-at-github","followers_url":"https://api.github.com/users/Daniel-at-github/followers","following_url":"https://api.github.com/users/Daniel-at-github/following{/other_user}","gists_url":"https://api.github.com/users/Daniel-at-github/gists{/gist_id}","starred_url":"https://api.github.com/users/Daniel-at-github/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Daniel-at-github/subscriptions","organizations_url":"https://api.github.com/users/Daniel-at-github/orgs","repos_url":"https://api.github.com/users/Daniel-at-github/repos","events_url":"https://api.github.com/users/Daniel-at-github/events{/privacy}","received_events_url":"https://api.github.com/users/Daniel-at-github/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-12-17T18:11:50Z","updated_at":"2017-12-18T01:15:03Z","closed_at":"2017-12-18T01:15:03Z","author_association":"NONE","body":"Bug output\r\n\r\n~~~ bash\r\n$ toapi run\r\n2017/12/17 19:07:28 [Serving ] OK http://127.0.0.1:5000 \r\nTraceback (most recent call last):\r\n  File \"/home/user/.local/share/virtualenvs/toapi_test-UdiKVlKi/bin/toapi\", line 11, in <module>\r\n    sys.exit(cli())\r\n  File \"/home/user/.local/share/virtualenvs/toapi_test-UdiKVlKi/lib/python3.5/site-packages/click/core.py\", line 722, in __call__\r\n    return self.main(*args, **kwargs)\r\n  File \"/home/user/.local/share/virtualenvs/toapi_test-UdiKVlKi/lib/python3.5/site-packages/click/core.py\", line 697, in main\r\n    rv = self.invoke(ctx)\r\n  File \"/home/user/.local/share/virtualenvs/toapi_test-UdiKVlKi/lib/python3.5/site-packages/click/core.py\", line 1066, in invoke\r\n    return _process_result(sub_ctx.command.invoke(sub_ctx))\r\n  File \"/home/user/.local/share/virtualenvs/toapi_test-UdiKVlKi/lib/python3.5/site-packages/click/core.py\", line 895, in invoke\r\n    return ctx.invoke(self.callback, **ctx.params)\r\n  File \"/home/user/.local/share/virtualenvs/toapi_test-UdiKVlKi/lib/python3.5/site-packages/click/core.py\", line 535, in invoke\r\n    return callback(*args, **kwargs)\r\n  File \"/home/user/.local/share/virtualenvs/toapi_test-UdiKVlKi/lib/python3.5/site-packages/toapi/cli.py\", line 61, in run\r\n    app.api.serve(ip=ip, port=port)\r\n  File \"/home/user/.local/share/virtualenvs/toapi_test-UdiKVlKi/lib/python3.5/site-packages/toapi/api.py\", line 42, in serve\r\n    self.app.run(ip, port, debug=False, **options)\r\n  File \"/home/user/.local/share/virtualenvs/toapi_test-UdiKVlKi/lib/python3.5/site-packages/flask/app.py\", line 841, in run\r\n    run_simple(host, port, self, **options)\r\n  File \"/home/user/.local/share/virtualenvs/toapi_test-UdiKVlKi/lib/python3.5/site-packages/werkzeug/serving.py\", line 733, in run_simple\r\n    raise TypeError('port must be an integer')\r\nTypeError: port must be an integer\r\n\r\n~~~"}}
{"actor":{"display_login":"gaojiuli"}}