Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ValueError: not enough values to unpack (expected 2, got 1) #48

Open
darkpixel opened this issue Jun 9, 2016 · 0 comments
Open

ValueError: not enough values to unpack (expected 2, got 1) #48

darkpixel opened this issue Jun 9, 2016 · 0 comments

Comments

@darkpixel
Copy link

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:

Traceback (most recent call last):
  File "/home/aaron/code/uitintranet/cw/tasks.py", line 732, in sync_cw_ticket_to_rt
    response = resource.post(path='ticket/new', payload=str(content))
  File "/home/aaron/.virtualenvs/uitintranet/lib/python3.5/site-packages/rtkit/resource.py", line 33, in post
    return self.request('POST', path, payload, headers)
  File "/home/aaron/.virtualenvs/uitintranet/lib/python3.5/site-packages/rtkit/resource.py", line 40, in request
    payload = forms.encode(payload, headers)
  File "/home/aaron/.virtualenvs/uitintranet/lib/python3.5/site-packages/rtkit/forms.py", line 138, in encode
    mf = MultipartForm(value, BOUNDARY)
  File "/home/aaron/.virtualenvs/uitintranet/lib/python3.5/site-packages/rtkit/forms.py", line 22, in __init__
    name, value = param
ValueError: not enough values to unpack (expected 2, got 1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant