{"action":"opened","issue":{"url":"https://api.github.com/repos/yassen-itlabs/py-linux-traffic-control/issues/3","repository_url":"https://api.github.com/repos/yassen-itlabs/py-linux-traffic-control","labels_url":"https://api.github.com/repos/yassen-itlabs/py-linux-traffic-control/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/yassen-itlabs/py-linux-traffic-control/issues/3/comments","events_url":"https://api.github.com/repos/yassen-itlabs/py-linux-traffic-control/issues/3/events","html_url":"https://github.com/yassen-itlabs/py-linux-traffic-control/issues/3","id":195706794,"number":3,"title":"Clarify/better UX when trying to run multiple shaping commands","user":{"login":"thehunmonkgroup","id":43772,"avatar_url":"https://avatars.githubusercontent.com/u/43772?v=3","gravatar_id":"","url":"https://api.github.com/users/thehunmonkgroup","html_url":"https://github.com/thehunmonkgroup","followers_url":"https://api.github.com/users/thehunmonkgroup/followers","following_url":"https://api.github.com/users/thehunmonkgroup/following{/other_user}","gists_url":"https://api.github.com/users/thehunmonkgroup/gists{/gist_id}","starred_url":"https://api.github.com/users/thehunmonkgroup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thehunmonkgroup/subscriptions","organizations_url":"https://api.github.com/users/thehunmonkgroup/orgs","repos_url":"https://api.github.com/users/thehunmonkgroup/repos","events_url":"https://api.github.com/users/thehunmonkgroup/events{/privacy}","received_events_url":"https://api.github.com/users/thehunmonkgroup/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-15T03:14:36Z","updated_at":"2016-12-15T03:14:36Z","closed_at":null,"body":"Trying to run a shaping command when one has already been run results in a cryptic error:\r\n```\r\nroot@webrtc-test-0.stirlab.net$/var/local/git/py-linux-traffic-control: pyltc tc --iface eth0 -v --dclass tcp:8080-8080:512kbit\r\nNamespace(clear=False, dclass=['tcp:8080-8080:512kbit'], iface='eth0', ingress=None, sclass=None, subparser='tc', verbose=True, version=False)\r\n--> 'tc qdisc add dev eth0 root handle 1:0 htb'\r\nRTNETLINK answers: File exists (rc=2)\r\n```\r\nGuessing this means all class args need to be passed in one command? If so, then it would be helpful to clarify this in the usage doc.\r\n\r\nAlso, a more user-friendly error message than ```RTNETLINK answers: File exists (rc=2)``` if the user does try to run a second shaping command."}}
{"actor":{"display_login":"thehunmonkgroup"}}