{"action":"opened","issue":{"url":"https://api.github.com/repos/twisted/treq/issues/91","labels_url":"https://api.github.com/repos/twisted/treq/issues/91/labels{/name}","comments_url":"https://api.github.com/repos/twisted/treq/issues/91/comments","events_url":"https://api.github.com/repos/twisted/treq/issues/91/events","html_url":"https://github.com/twisted/treq/issues/91","id":78688397,"number":91,"title":"Issue Uploading File","user":{"login":"osarabia","id":3688485,"avatar_url":"https://avatars.githubusercontent.com/u/3688485?v=3","gravatar_id":"","url":"https://api.github.com/users/osarabia","html_url":"https://github.com/osarabia","followers_url":"https://api.github.com/users/osarabia/followers","following_url":"https://api.github.com/users/osarabia/following{/other_user}","gists_url":"https://api.github.com/users/osarabia/gists{/gist_id}","starred_url":"https://api.github.com/users/osarabia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/osarabia/subscriptions","organizations_url":"https://api.github.com/users/osarabia/orgs","repos_url":"https://api.github.com/users/osarabia/repos","events_url":"https://api.github.com/users/osarabia/events{/privacy}","received_events_url":"https://api.github.com/users/osarabia/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-20T20:39:41Z","updated_at":"2015-05-20T20:39:41Z","closed_at":null,"body":"Hello\r\n\r\nI found a issue using i386 arch.\r\n\r\nI am using this box https://atlas.hashicorp.com/ubuntu/boxes/trusty32.\r\n\r\nI am getting length value as 'long' type this is the error log\r\n\r\n\r\n          File \"venv/local/lib/python2.7/site-packages/treq/api.py\", line 31, in post\r\n\t    return _client(**kwargs).post(url, data=data, **kwargs)\r\n\t  File \"venv/local/lib/python2.7/site-packages/treq/client.py\", line 103, in post\r\n\t    return self.request('POST', url, data=data, **kwargs)\r\n\t  File \"venv/local/lib/python2.7/site-packages/treq/client.py\", line 156, in request\r\n\t    data + files, boundary=boundary)\r\n\t  File \"venv/local/lib/python2.7/site-packages/treq/multipart.py\", line 61, in __init__\r\n\t    self.length = self._calculateLength()\r\n\t  File \"venv/local/lib/python2.7/site-packages/treq/multipart.py\", line 124, in _calculateLength\r\n\t    for i in self._writeLoop(consumer):\r\n\t  File \"venv/local/lib/python2.7/site-packages/treq/multipart.py\", line 162, in _writeLoop\r\n\t    yield self._writeField(name, value, consumer)\r\n\t  File \"venv/local/lib/python2.7/site-packages/treq/multipart.py\", line 172, in _writeField\r\n\t    name, filename, content_type, producer, consumer)\r\n\t  File \"venv/local/lib/python2.7/site-packages/treq/multipart.py\", line 197, in _writeFile\r\n\t    consumer.write(producer.length)\r\n\t  File \"venv/local/lib/python2.7/site-packages/treq/multipart.py\", line 297, in write\r\n\t    self.length += len(value)\r\n\t  exceptions.TypeError: object of type 'long' has no len()"}}