[Bug 769369] Re: [pull-lp-source] has arbitrary limit on file name length
Rolf Leggewie
769369 at bugs.launchpad.net
Mon Feb 18 04:52:25 UTC 2019
I tried to reproduce this just now (did you, Dan?) and was unable to.
Closing as fixed.
** Changed in: ubuntu-dev-tools (Ubuntu)
Status: Incomplete => Fix Released
** Package changed: ubuntu-dev-tools (Ubuntu) => lazr.restful (Ubuntu)
** Changed in: launchpadlib
Status: Incomplete => Invalid
** Changed in: python-launchpadlib (Ubuntu)
Status: Incomplete => Invalid
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python-launchpadlib in Ubuntu.
https://bugs.launchpad.net/bugs/769369
Title:
[pull-lp-source] has arbitrary limit on file name length
Status in launchpadlib :
Invalid
Status in lazr.restful package in Ubuntu:
Fix Released
Status in python-launchpadlib package in Ubuntu:
Invalid
Bug description:
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'
To manage notifications about this bug go to:
https://bugs.launchpad.net/launchpadlib/+bug/769369/+subscriptions
More information about the foundations-bugs
mailing list