[Bug 769369] [NEW] pull-lp-source has arbitrary limit on file name length
Rolf Leggewie
769369 at bugs.launchpad.net
Sat Apr 23 06:56:11 UTC 2011
Public bug reported:
Binary package hint: ubuntu-dev-tools
ubuntu-dev-tools 0.99 on lucid: pull-lp-source has an arbitrary limit on
length of the file name
pull-lp-source openoffice.org-style-human
Traceback (most recent call last):
File "/usr/bin/pull-lp-source", line 70, in <module>
spph = Distribution('ubuntu').getArchive().getSourcePackage(package, release, pocket)
File "/usr/lib/pymodules/python2.6/ubuntutools/lp/lpapicache.py", line 287, in getSourcePackage
status = state, exact_match = True)[0]
File "/usr/lib/pymodules/python2.6/lazr/restfulclient/resource.py", line 750, in __getitem__
found_slice = self._get_slice(slice(key, key+1))
File "/usr/lib/pymodules/python2.6/lazr/restfulclient/resource.py", line 808, in _get_slice
unicode(self._root._browser.get(page_url)))
File "/usr/lib/pymodules/python2.6/lazr/restfulclient/_browser.py", line 316, in get
response, content = self._request(url, extra_headers=headers)
File "/usr/lib/pymodules/python2.6/lazr/restfulclient/_browser.py", line 260, 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/rolf/.launchpadlib/api.edge.launchpad.net/cache/api.edge.launchpad.net,1.0,ubuntu,+archive,primary,status=Published&ws.start=0&source_name=%22openoffice.org-style-hu,5d9574e79b38bb1dea8194a795f9043e'
** Affects: ubuntu-dev-tools (Ubuntu)
Importance: Undecided
Status: New
** Tags: lucid
** Description changed:
Binary package hint: ubuntu-dev-tools
- ubuntu-dev-tools 0.99 on lucid
+ ubuntu-dev-tools 0.99 on lucid: pull-lp-source has an arbitrary limit on
+ length of the file name
pull-lp-source openoffice.org-style-human
Traceback (most recent call last):
- File "/usr/bin/pull-lp-source", line 70, in <module>
- spph = Distribution('ubuntu').getArchive().getSourcePackage(package, release, pocket)
- File "/usr/lib/pymodules/python2.6/ubuntutools/lp/lpapicache.py", line 287, in getSourcePackage
- status = state, exact_match = True)[0]
- File "/usr/lib/pymodules/python2.6/lazr/restfulclient/resource.py", line 750, in __getitem__
- found_slice = self._get_slice(slice(key, key+1))
- File "/usr/lib/pymodules/python2.6/lazr/restfulclient/resource.py", line 808, in _get_slice
- unicode(self._root._browser.get(page_url)))
- File "/usr/lib/pymodules/python2.6/lazr/restfulclient/_browser.py", line 316, in get
- response, content = self._request(url, extra_headers=headers)
- File "/usr/lib/pymodules/python2.6/lazr/restfulclient/_browser.py", line 260, 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")
+ File "/usr/bin/pull-lp-source", line 70, in <module>
+ spph = Distribution('ubuntu').getArchive().getSourcePackage(package, release, pocket)
+ File "/usr/lib/pymodules/python2.6/ubuntutools/lp/lpapicache.py", line 287, in getSourcePackage
+ status = state, exact_match = True)[0]
+ File "/usr/lib/pymodules/python2.6/lazr/restfulclient/resource.py", line 750, in __getitem__
+ found_slice = self._get_slice(slice(key, key+1))
+ File "/usr/lib/pymodules/python2.6/lazr/restfulclient/resource.py", line 808, in _get_slice
+ unicode(self._root._browser.get(page_url)))
+ File "/usr/lib/pymodules/python2.6/lazr/restfulclient/_browser.py", line 316, in get
+ response, content = self._request(url, extra_headers=headers)
+ File "/usr/lib/pymodules/python2.6/lazr/restfulclient/_browser.py", line 260, 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/rolf/.launchpadlib/api.edge.launchpad.net/cache/api.edge.launchpad.net,1.0,ubuntu,+archive,primary,status=Published&ws.start=0&source_name=%22openoffice.org-style-hu,5d9574e79b38bb1dea8194a795f9043e'
--
You received this bug notification because you are a member of MOTU,
which is subscribed to ubuntu-dev-tools in Ubuntu.
https://bugs.launchpad.net/bugs/769369
Title:
pull-lp-source has arbitrary limit on file name length
More information about the universe-bugs
mailing list