| <type 'exceptions.IOError'> | Python 2.6.6: /usr/bin/python Mon May 21 07:12:24 2012 |
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
| /var/www/dmaust/cgi-bin/bc.py in |
| 36 |
| 37 #tickerjson = readUrl('https://mtgox.com/code/data/ticker.php', 2) |
| 38 tickerjson = readFile('mtgox_ticker') |
| 39 mgtickerdata = json.loads(tickerjson) |
| 40 |
| tickerjson undefined, readFile = <function readFile> |
| /var/www/dmaust/cgi-bin/bc.py in readFile(filename='mtgox_ticker') |
| 23 |
| 24 def readFile(filename): |
| 25 f = open('/tmp/urls/%s' % filename, 'r'); |
| 26 return f.read(); |
| 27 |
| f undefined, builtin open = <built-in function open>, filename = 'mtgox_ticker' |
<type 'exceptions.IOError'>: [Errno 2] No such file or directory: '/tmp/urls/mtgox_ticker'
args =
(2, 'No such file or directory')
errno =
2
filename =
'/tmp/urls/mtgox_ticker'
message =
''
strerror =
'No such file or directory'