termie/lp2gh — Issue #2: getting a new error on trying to import bugs
Author: rejon
Created: 2012-03-07 16:12:53+00:00
State: open

create issue Internet Exlorer and Images
with params: {'body': u'All the images are completely different in IE including the top nav bar (actually top bar looks cool in IE)', 'labels': ['Critical', 'Invalid'], 'title': u'Internet Exlorer and Images'}
exception: {"message":"Validation Failed","errors":[{"value":[],"code":"missing","resource":"Label","field":"name"}]}
Traceback (most recent call last):
File "/home/rejon/Software/lp2gh/bin/lp2gh-import-bugs", line 30, in
o = bugs.import_(repo, data, milestones_map=milestones_map)
File "/home/rejon/Software/lp2gh/lp2gh/bugs.py", line 195, in import_
rv = issues.append(**params)
File "/home/rejon/Software/lp2gh/github3/client.py", line 70, in append
rv = self.client.post(self.url, **kw)
File "/home/rejon/Software/lp2gh/github3/request.py", line 41, in post
return self._opener.open(req)
File "/usr/lib64/python2.7/urllib2.py", line 400, in open
response = meth(req, response)
File "/usr/lib64/python2.7/urllib2.py", line 513, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib64/python2.7/urllib2.py", line 438, in error
return self._call_chain(*args)
File "/usr/lib64/python2.7/urllib2.py", line 372, in _call_chain
result = func(*args)
File "/usr/lib64/python2.7/urllib2.py", line 521, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 422: Unprocessable Entity