File "/usr/bin/pastebinit", line 314, in <module>

Bug #337666 reported by Fernando Miguel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pastebinit
Invalid
Undecided
Unassigned

Bug Description

Not sre this is python migration related:

$ pastebinit -i compiz_x-safe.log
Traceback (most recent call last):
  File "/usr/bin/pastebinit", line 314, in <module>
    page = url_opener.open(website, params) #Send the informations and be redirected to the final page
  File "/usr/lib/python2.6/urllib.py", line 205, in open
    return getattr(self, name)(url, data)
  File "/usr/lib/python2.6/urllib.py", line 338, in open_http
    h.endheaders()
  File "/usr/lib/python2.6/httplib.py", line 868, in endheaders
    self._send_output()
  File "/usr/lib/python2.6/httplib.py", line 740, in _send_output
    self.send(msg)
  File "/usr/lib/python2.6/httplib.py", line 699, in send
    self.connect()
  File "/usr/lib/python2.6/httplib.py", line 683, in connect
    self.timeout)
  File "/usr/lib/python2.6/socket.py", line 498, in create_connection
    for res in getaddrinfo(host, port, 0, SOCK_STREAM):
IOError: [Errno socket error] [Errno -2] Name or service not known

$ apt-cache policy pastebinit
pastebinit:
  Installed: 0.11+bzr60-1~fta1
  Candidate: 0.11+bzr60-1~fta1
  Version table:
 *** 0.11+bzr60-1~fta1 0
        500 http://ppa.launchpad.net jaunty/main Packages
        100 /var/lib/dpkg/status
     0.11-1 0
        500 ftp://darkstar.ist.utl.pt jaunty/universe Packages
        500 ftp://archive.ubuntu.com jaunty/universe Packages

description: updated
Revision history for this message
Stéphane Graber (stgraber) wrote :

This error message shows a DNS resolution failure likely caused by a buggy DNS either your side or the server's.
It's in no way related to Pastebinit although it could use better error reporting :)
Closing the bug as Invalid.

Changed in pastebinit:
status: New → Invalid
Revision history for this message
Fernando Miguel (fernandomiguel) wrote :

now that i look at it again, i remember seeing many apps complaining about "getaddrinfo".

for now it seems fixed... let see if it happens again.

thanks

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.