[exchange] Caching error

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

Bug Description

This looks wrong:
23:28 <tumbleweed> exchange 20 ZAR to NAD
23:28 <tibid> I'm not feeling too well

2009-07-07 21:28:50,784 ERROR core.dispatcher: Exception occured in Currency processor of lookup plugin
Traceback (most recent call last):
  File "/home/stefanor/projects/ibid/tibid/ibid/core.py", line 25, in _process
    processor.process(event)
  File "/home/stefanor/projects/ibid/tibid/ibid/plugins/__init__.py", line 55, in process
    method(event, *match.groups())
  File "/home/stefanor/projects/ibid/tibid/ibid/plugins/lookup.py", line 493, in exchange
    self.country_codes = get_country_codes()
  File "/home/stefanor/projects/ibid/tibid/ibid/plugins/lookup.py", line 29, in get_country_codes
    etree = get_html_parse_tree('file://' + filename, treetype='etree')
  File "/home/stefanor/projects/ibid/tibid/ibid/utils.py", line 132, in get_html_parse_tree
    f = urllib2.urlopen(req)
  File "/usr/lib/python2.5/urllib2.py", line 124, in urlopen
    return _opener.open(url, data)
  File "/usr/lib/python2.5/urllib2.py", line 381, in open
    response = self._open(req, data)
  File "/usr/lib/python2.5/urllib2.py", line 399, in _open
    '_open', req)
  File "/usr/lib/python2.5/urllib2.py", line 360, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.5/urllib2.py", line 1203, in file_open
    return self.open_local_file(req)
  File "/usr/lib/python2.5/urllib2.py", line 1223, in open_local_file
    stats = os.stat(localfile)
OSError: [Errno 2] No such file or directory: '/lookup/iso-3166-1_decoding_table.htm'

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.