{"action":"closed","issue":{"url":"https://api.github.com/repos/kakaroto/SWProxy/issues/51","repository_url":"https://api.github.com/repos/kakaroto/SWProxy","labels_url":"https://api.github.com/repos/kakaroto/SWProxy/issues/51/labels{/name}","comments_url":"https://api.github.com/repos/kakaroto/SWProxy/issues/51/comments","events_url":"https://api.github.com/repos/kakaroto/SWProxy/issues/51/events","html_url":"https://github.com/kakaroto/SWProxy/issues/51","id":142698684,"number":51,"title":"Linux - Error when changing proxy port","user":{"login":"Shinzah","id":2910496,"avatar_url":"https://avatars.githubusercontent.com/u/2910496?v=3","gravatar_id":"","url":"https://api.github.com/users/Shinzah","html_url":"https://github.com/Shinzah","followers_url":"https://api.github.com/users/Shinzah/followers","following_url":"https://api.github.com/users/Shinzah/following{/other_user}","gists_url":"https://api.github.com/users/Shinzah/gists{/gist_id}","starred_url":"https://api.github.com/users/Shinzah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shinzah/subscriptions","organizations_url":"https://api.github.com/users/Shinzah/orgs","repos_url":"https://api.github.com/users/Shinzah/repos","events_url":"https://api.github.com/users/Shinzah/events{/privacy}","received_events_url":"https://api.github.com/users/Shinzah/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-03-22T16:09:55Z","updated_at":"2016-03-25T17:48:24Z","closed_at":"2016-03-25T17:48:24Z","body":"**OS**: Ubuntu 14.04\r\n**Python**: 2.7.6\r\n\r\nHi,\r\n\r\nWhen launching SWProxy with -p parameter, an error it throwed and the process is stopped.\r\n\r\n```\r\n./SWProxy.py -g -d -p8085\r\n########################################\r\n# SWParser v0.98 - Summoners War Proxy # \r\n########################################\r\n\tWritten by:\r\n\t\tKaKaRoTo\r\n\r\n\tAuthors:\r\n\t\tYouness Alaoui\r\n\t\tLeonardo Stern\r\n\t\tAzrethos\r\n\r\n\tPlugins:\r\n\t\tGenerate Visit Friend\r\n\t\tPrint Unit Collection\r\n\t\tBarion Rune Efficiency Plugin\r\n\t\tGenerate Runes\r\n\t\tDemo Plugin\r\n\r\nLicensed under LGPLv3 and available at: \r\n\thttps://github.com/kakaroto/SWProxy\r\n\r\nRunning Proxy server at 91.121.211.44 on port [8085]\r\nTraceback (most recent call last):\r\n  File \"./SWProxy.py\", line 206, in <module>\r\n    start_proxy_server(options)\r\n  File \"./SWProxy.py\", line 174, in start_proxy_server\r\n    p.run()\r\n  File \"/var/www/vhosts/shinsoft.fr/sw/swparser/SWProxy/proxy.py\", line 554, in run\r\n    self.socket.close()\r\nAttributeError: 'HTTP' object has no attribute 'socket'\r\n```\r\n\r\nAnd the error in proxy.log\r\n```\r\n2016-03-22 17:11:30,946: proxy - ERROR - Exception while running the server TypeError('%d format: a number is required, not list',)\r\nTraceback (most recent call last):\r\n  File \"SWProxy/proxy.py\", line 540, in run\r\n    logger.info('Starting server on %s, port %d' % (self.hostname, self.port))\r\nTypeError: %d format: a number is required, not list\r\n2016-03-22 17:11:30,947: proxy - INFO - Closing server socket\r\n```"}}