SwatchBooker doesn't start when no internet connection is available

Bug #609079 reported by Olivier Berten
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SwatchBooker
Fix Committed
Undecided
Unassigned

Bug Description

Traceback (most recent call last):
  File "/usr/lib/swatchbooker/swatchbooker.pyw", line 26, in <module>
    from sbcommon import *
  File "/usr/lib/swatchbooker/sbcommon.py", line 28, in <module>
    import swatchbook.websvc as websvc
  File "/usr/lib/python2.6/dist-packages/swatchbook/websvc/__init__.py", line 34, in <module>
    test = urllib.urlopen('http://www.selapa.net')
  File "/usr/lib/python2.6/urllib.py", line 86, in urlopen
    return opener.open(url)
  File "/usr/lib/python2.6/urllib.py", line 205, in open
    return getattr(self, name)(url)
  File "/usr/lib/python2.6/urllib.py", line 344, in open_http
    h.endheaders()
  File "/usr/lib/python2.6/httplib.py", line 904, in endheaders
    self._send_output()
  File "/usr/lib/python2.6/httplib.py", line 776, in _send_output
    self.send(msg)
  File "/usr/lib/python2.6/httplib.py", line 735, in send
    self.connect()
  File "/usr/lib/python2.6/httplib.py", line 716, in connect
    self.timeout)
  File "/usr/lib/python2.6/socket.py", line 500, in create_connection
    for res in getaddrinfo(host, port, 0, SOCK_STREAM):
IOError: [Errno socket error] [Errno -2] Name or service not known

Related branches

Changed in swatchbooker:
status: New → Fix Committed
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.