No such file writing to launchpadlib cache
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pkgme-devportal |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
On production:
Traceback (most recent call last):
File "/srv/myapps-
sys.
File "/srv/myapps-
fetch_
File "/srv/myapps-
for symbols in package.
File "/srv/myapps-
contents = self.get_
File "/srv/myapps-
url = self.get_url()
File "/srv/myapps-
self.
File "/usr/lib/
return super(Entry, self)._
File "/usr/lib/
return self.lp_
File "/usr/lib/
self.
File "/usr/lib/
representation = self._root.
File "/usr/lib/
response, content = self._request(url, extra_headers=
File "/usr/lib/
str(url), method=method, body=data, headers=headers)
File "/usr/lib/
(response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey)
File "/usr/lib/
redirections, cachekey)
File "/usr/lib/
_updateCach
File "/usr/lib/
cache.
File "/usr/lib/
f = file(cacheFullPath, "wb")
IOError: [Errno 2] No such file or directory: '/tmp/tmp73A0tW
Related branches
- Jonathan Lange: Approve
-
Diff: 18 lines (+5/-5)1 file modifieddevportalbinary/database.py (+5/-5)
Changed in pkgme-binary: | |
status: | New → Fix Committed |
Changed in pkgme-devportal: | |
status: | Fix Committed → Fix Released |
Ah, ok, so this is fallout from the cachedir bug. The cache is removed but a reference
to a webservice object outlives it, and not all of the info has been fetched.
Thanks,
James