| error | Python 2.3.5: /usr/bin/python Tue Sep 7 03:04:00 2010 |
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
| /home/hosts/avilink.net/www/www/index.py |
| 90 conn = HTTP('notes.avilink.net') |
| 91 conn.putrequest('GET', pages[page]) |
| 92 conn.endheaders() |
| 93 (code, reason, msg) = conn.getreply() |
| 94 html = conn.getfile().read() |
| conn = <httplib.HTTP instance>, conn.endheaders = <bound method HTTPConnection.endheaders of <httplib.HTTPConnection instance>> |
| /usr/lib/python2.3/httplib.py in endheaders(self=<httplib.HTTPConnection instance>) |
| 713 raise CannotSendHeader() |
| 714 |
| 715 self._send_output() |
| 716 |
| 717 def request(self, method, url, body=None, headers={}): |
| self = <httplib.HTTPConnection instance>, self._send_output = <bound method HTTPConnection._send_output of <httplib.HTTPConnection instance>> |
| /usr/lib/python2.3/httplib.py in _send_output(self=<httplib.HTTPConnection instance>) |
| 598 msg = "\r\n".join(self._buffer) |
| 599 del self._buffer[:] |
| 600 self.send(msg) |
| 601 |
| 602 def putrequest(self, method, url, skip_host=0): |
| self = <httplib.HTTPConnection instance>, self.send = <bound method HTTPConnection.send of <httplib.HTTPConnection instance>>, msg = 'GET /inter/avilinksite.nsf/286ffe0f032ac33ac1256...5f88b2dc12568ac0036abe3?OpenDocument HTTP/1.0\r\n\r\n' |
| /usr/lib/python2.3/httplib.py in send(self=<httplib.HTTPConnection instance>, str='GET /inter/avilinksite.nsf/286ffe0f032ac33ac1256...5f88b2dc12568ac0036abe3?OpenDocument HTTP/1.0\r\n\r\n') |
| 565 if self.sock is None: |
| 566 if self.auto_open: |
| 567 self.connect() |
| 568 else: |
| 569 raise NotConnected() |
| self = <httplib.HTTPConnection instance>, self.connect = <bound method HTTPConnection.connect of <httplib.HTTPConnection instance>> |
| /usr/lib/python2.3/httplib.py in connect(self=<httplib.HTTPConnection instance>) |
| 549 break |
| 550 if not self.sock: |
| 551 raise socket.error, msg |
| 552 |
| 553 def close(self): |
| global socket = <module 'socket' from '/usr/lib/python2.3/socket.pyc'>, socket.error = <class socket.error>, msg = <socket.error instance> |
error: (111, 'Connection refused')
args =
(111, 'Connection refused')