[Bug 311473] [NEW] Should give better error messages if don't have bandwidth

Shirish Agarwal shirishag75 at gmail.com
Fri Dec 26 06:24:10 UTC 2008


Public bug reported:

Binary package hint: pastebinit

Hi all, 
 This is the output pastebinit gives 

$ pastebinit syslog
Traceback (most recent call last):
  File "/usr/bin/pastebinit", line 261, in <module>
    page = url_opener.open(website, params) #Send the informations and be redirected to the final page
  File "/usr/lib/python2.5/urllib.py", line 192, in open
    return getattr(self, name)(url, data)
  File "/usr/lib/python2.5/urllib.py", line 325, in open_http
    h.endheaders()
  File "/usr/lib/python2.5/httplib.py", line 860, in endheaders
    self._send_output()
  File "/usr/lib/python2.5/httplib.py", line 732, in _send_output
    self.send(msg)
  File "/usr/lib/python2.5/httplib.py", line 699, in send
    self.connect()
  File "/usr/lib/python2.5/httplib.py", line 667, in connect
    socket.SOCK_STREAM):
IOError: [Errno socket error] (-2, 'Name or service not known')

The actual error is there is not enough bandwidth to upload the files.

What it should give is an error that a user can understand.

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 8.10
Package: pastebinit 0.10-1
PackageArchitecture: all
ProcEnviron:
 SHELL=/bin/bash
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=en_IN
SourcePackage: pastebinit
Uname: Linux 2.6.27-9-generic i686

** Affects: pastebinit (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug

-- 
Should give better error messages if don't have bandwidth
https://bugs.launchpad.net/bugs/311473
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list