IOError during sync-bugtasks, filename too long

Bug #600084 reported by Chris Jones
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Every Day
Invalid
Undecided
Unassigned

Bug Description

During sync-bugtasks on the Terminator project I received the following traceback:

New <BugTask 330295/terminator>
Traceback (most recent call last):
  File "./sync-bugtasks", line 15, in <module>
    convergence.synchronize_bugtasks(sys.argv[1])
  File "/home/cmsj/code/scratch/everyday/bugstats/convergence.py", line 118, in synchronize_bugtasks
    for task in tasks:
  File "/usr/lib/pymodules/python2.6/lazr/restfulclient/resource.py", line 690, in __iter__
    unicode(self._root._browser.get(URI(next_link))))
  File "/usr/lib/pymodules/python2.6/lazr/restfulclient/_browser.py", line 279, in get
    response, content = self._request(url, extra_headers=headers)
  File "/usr/lib/pymodules/python2.6/lazr/restfulclient/_browser.py", line 255, in _request
    str(url), method=method, body=data, headers=headers)
  File "/usr/lib/pymodules/python2.6/httplib2/__init__.py", line 1129, in request
    (response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey)
  File "/usr/lib/pymodules/python2.6/lazr/restfulclient/_browser.py", line 154, in _request
    redirections, cachekey)
  File "/usr/lib/pymodules/python2.6/httplib2/__init__.py", line 954, in _request
    _updateCache(headers, response, content, self.cache, cachekey)
  File "/usr/lib/pymodules/python2.6/httplib2/__init__.py", line 396, in _updateCache
    cache.set(cachekey, text)
  File "/usr/lib/pymodules/python2.6/httplib2/__init__.py", line 664, in set
    f = file(cacheFullPath, "wb")
IOError: [Errno 36] File name too long: '/home/cmsj/.launchpadlib/cache/api.edge.launchpad.net/cache/api.edge.launchpad.net,1.0,terminator,modified_since=null&status=%5B%22New%22%2C+%22Incomplete%22%2C+%22Invalid%22%2C,33e983adfdfad57c4dbea85ac2a8e0a1'

Revision history for this message
Chris Jones (cmsj) wrote :

I'd note that I can touch that filename, so it's not fundementally too long for the filesystem, but presumably some Python limit.

Revision history for this message
Jonathan Lange (jml) wrote :

I've moved the bug stuff out of this project. Will find a new home for it shortly.

Changed in everyday:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.