{"action":"opened","issue":{"url":"https://api.github.com/repos/z4r/python-rtkit/issues/48","repository_url":"https://api.github.com/repos/z4r/python-rtkit","labels_url":"https://api.github.com/repos/z4r/python-rtkit/issues/48/labels{/name}","comments_url":"https://api.github.com/repos/z4r/python-rtkit/issues/48/comments","events_url":"https://api.github.com/repos/z4r/python-rtkit/issues/48/events","html_url":"https://github.com/z4r/python-rtkit/issues/48","id":159514355,"number":48,"title":"ValueError: not enough values to unpack (expected 2, got 1)","user":{"login":"darkpixel","id":158380,"avatar_url":"https://avatars.githubusercontent.com/u/158380?v=3","gravatar_id":"","url":"https://api.github.com/users/darkpixel","html_url":"https://github.com/darkpixel","followers_url":"https://api.github.com/users/darkpixel/followers","following_url":"https://api.github.com/users/darkpixel/following{/other_user}","gists_url":"https://api.github.com/users/darkpixel/gists{/gist_id}","starred_url":"https://api.github.com/users/darkpixel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darkpixel/subscriptions","organizations_url":"https://api.github.com/users/darkpixel/orgs","repos_url":"https://api.github.com/users/darkpixel/repos","events_url":"https://api.github.com/users/darkpixel/events{/privacy}","received_events_url":"https://api.github.com/users/darkpixel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-06-09T21:38:29Z","updated_at":"2016-06-09T21:38:29Z","closed_at":null,"body":"After migrating an app to python 3 and installing the latest version of python-rtkit, I'm suddenly getting errors when trying to create a new ticket:\r\n\r\n```\r\nTraceback (most recent call last):\r\n  File \"/home/aaron/code/uitintranet/cw/tasks.py\", line 732, in sync_cw_ticket_to_rt\r\n    response = resource.post(path='ticket/new', payload=str(content))\r\n  File \"/home/aaron/.virtualenvs/uitintranet/lib/python3.5/site-packages/rtkit/resource.py\", line 33, in post\r\n    return self.request('POST', path, payload, headers)\r\n  File \"/home/aaron/.virtualenvs/uitintranet/lib/python3.5/site-packages/rtkit/resource.py\", line 40, in request\r\n    payload = forms.encode(payload, headers)\r\n  File \"/home/aaron/.virtualenvs/uitintranet/lib/python3.5/site-packages/rtkit/forms.py\", line 138, in encode\r\n    mf = MultipartForm(value, BOUNDARY)\r\n  File \"/home/aaron/.virtualenvs/uitintranet/lib/python3.5/site-packages/rtkit/forms.py\", line 22, in __init__\r\n    name, value = param\r\nValueError: not enough values to unpack (expected 2, got 1)\r\n```"}}
{"actor":{"display_login":"darkpixel"}}