[mirrorbrain] error with multiple ip addresses

From: David Farning <dfarning_at_sugarlabs.org>
Date: Mon, 12 Oct 2009 15:56:24 -0500
Peter,
Here is an interesting error.  The following site resolves to multiple
ip addresses and causes mb new to throw and error.

david

mb new nluug.nl -H http://ftp.nluug.nl/pub/os/Linux/distr/Sugar -F
ftp://ftp.nluug.nl/pub/os/Linux/distr/Sugar
warning: 'ftp.nluug.nl' resolves to a multiple IP addresses:
192.87.102.42, 192.87.102.43
Traceback (most recent call last):
  File "/usr/bin/mb", line 1177, in <module>
    sys.exit( mirrordoctor.main() )
  File "/var/lib/python-support/python2.5/cmdln.py", line 257, in main
    return self.cmd(args)
  File "/var/lib/python-support/python2.5/cmdln.py", line 280, in cmd
    retval = self.onecmd(argv)
  File "/var/lib/python-support/python2.5/cmdln.py", line 412, in onecmd
    return self._dispatch_cmd(handler, argv)
  File "/var/lib/python-support/python2.5/cmdln.py", line 1100, in _dispatch_cmd
    return handler(argv[0], opts, *args)
  File "/usr/bin/mb", line 197, in do_new
    prefixOnly   = opts.prefix_only or 0)
  File "/usr/lib/python2.5/site-packages/sqlobject/main.py", line
1203, in __init__
    self._create(id, **kw)
  File "/usr/lib/python2.5/site-packages/sqlobject/main.py", line
1251, in _create
    self._SO_finishCreate(id)
  File "/usr/lib/python2.5/site-packages/sqlobject/main.py", line
1275, in _SO_finishCreate
    id, names, values)
  File "/usr/lib/python2.5/site-packages/sqlobject/dbconnection.py",
line 391, in queryInsertID
    return self._runWithConnection(self._queryInsertID, soInstance,
id, names, values)
  File "/usr/lib/python2.5/site-packages/sqlobject/dbconnection.py",
line 250, in _runWithConnection
    val = meth(conn, *args)
  File "/usr/lib/python2.5/site-packages/sqlobject/postgres/pgconnection.py",
line 136, in _queryInsertID
    c.execute(q)
psycopg2.IntegrityError: duplicate key value violates unique
constraint "server_identifier_key"

_______________________________________________
mirrorbrain mailing list
Archive: http://mirrorbrain.org/archive/mirrorbrain/

Note: To remove yourself from this mailing list, send a mail with the content
 	unsubscribe
to the address mirrorbrain-request_at_mirrorbrain.org
Received on Mon Oct 12 2009 - 20:56:54 GMT

This archive was generated by hypermail 2.3.0 : Thu Mar 25 2010 - 19:30:55 GMT