Comment 6 for bug 1025381

Revision history for this message
Jeff Lane  (bladernr) wrote :

I should add that I also tried a very simple modification to the submit script by adding .decode() to the return line in get_request(), and that generated an entirely different set of errors:

2012-07-17 11:57:16,893 INFO Setting log level to DEBUG for verbosity
2012-07-17 11:57:16,894 INFO The debug log can be found at /home/bladernr/Downloads/x3550/checbox/jeff1.log
2012-07-17 11:57:16,894 INFO NOTE: The debug log is very large. You can skip large sections of text by searching the log for the keyword: ADDING
2012-07-17 11:57:16,895 INFO Preparing to submit results using Hardware ID: a00D000000LU9Jd
2012-07-17 11:57:16,895 INFO Getting messages
Traceback (most recent call last):
  File "./checkbox-certification-submit", line 266, in <module>
    sys.exit(main())
  File "./checkbox-certification-submit", line 236, in main
    response = transport.exchange(request, headers)
  File "/usr/lib/python2.7/dist-packages/checkbox/lib/transport.py", line 306, in exchange
    (content_type, body) = self._encode_body(body)
  File "/usr/lib/python2.7/dist-packages/checkbox/lib/transport.py", line 278, in _encode_body
    raise TypeError
TypeError: Invalid non-string sequence or mapping