SwatchBooker doesn't start when no internet connection is available

Bug #609079 reported by Olivier Berten on 2010-07-23
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

Traceback (most recent call last):
  File "/usr/lib/swatchbooker/swatchbooker.pyw", line 26, in <module>
    from sbcommon import *
  File "/usr/lib/swatchbooker/", line 28, in <module>
    import swatchbook.websvc as websvc
  File "/usr/lib/python2.6/dist-packages/swatchbook/websvc/", line 34, in <module>
    test = urllib.urlopen('')
  File "/usr/lib/python2.6/", line 86, in urlopen
  File "/usr/lib/python2.6/", line 205, in open
    return getattr(self, name)(url)
  File "/usr/lib/python2.6/", line 344, in open_http
  File "/usr/lib/python2.6/", line 904, in endheaders
  File "/usr/lib/python2.6/", line 776, in _send_output
  File "/usr/lib/python2.6/", line 735, in send
  File "/usr/lib/python2.6/", line 716, in connect
  File "/usr/lib/python2.6/", 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  Edit
Everyone can see this information.

Other bug subscribers