Race in cacheable_download

Bug #414574 reported by Stefano Rivera
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ibid
Fix Released
Low
Stefano Rivera

Bug Description

2009-08-15 21:01:32+0000 <Qix> rfc 2082
2009-08-15 21:02:18+0000 <Dazzle> RIP-2 MD5 Authentication. F. Baker, R. Atkinson. January 1997. (Format: TXT=25436 bytes) (Obsoleted by RFC4822) (Status: PROPOSED STANDARD) http:/
/www.rfc-editor.org/rfc/rfc2082.txt
2009-08-15 21:01:41+0000 <Qix> rfc 17
2009-08-15 21:02:40+0000 <Dazzle> That didn't go down very well. Burp.

2009-08-15 21:02:40,657 ERROR core.dispatcher: Exception occured in RFCLookup processor of rfc plugin
Traceback (most recent call last):
  File "/home/dazzle/ibid/dazzle/ibid/core.py", line 25, in _process
    processor.process(event)
  File "/home/dazzle/ibid/dazzle/ibid/plugins/__init__.py", line 65, in process
    method(event, *match.groups())
  File "/home/dazzle/ibid/dazzle/ibid/plugins/rfc.py", line 155, in lookup
    rfcs = self._parse_rfcs()
  File "/home/dazzle/ibid/dazzle/ibid/plugins/rfc.py", line 121, in _parse_rfcs
    self._update_list()
  File "/home/dazzle/ibid/dazzle/ibid/plugins/rfc.py", line 27, in _update_list
    self.indexfile = cacheable_download(self.indexurl, "rfc/rfc-index.txt")
  File "/home/dazzle/ibid/dazzle/ibid/utils.py", line 119, in cacheable_download
    os.rename(downloadfile, cachefile)
OSError: [Errno 2] No such file or directory

1st one renamed the temporary file, that they were both writing to

Related branches

Changed in ibid:
assignee: nobody → Stefano Rivera (stefanor)
status: New → In Progress
importance: Undecided → Low
Changed in ibid:
status: In Progress → Fix Released
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.