Re: [mirrorbrain] Problem with mirrorbrain

From: Peter Pml <>
Date: Sat, 12 May 2012 00:55:54 +0200
Hi George,

Am 11.05.2012 um 16:46 schrieb George Koutras:

> Hello,
> I installed mirrorbrain on Ubuntu lucid and used your documentation in order to install and configure everything.
> When I execute "mb edit XXX.XXX.XXX"
> I get:
> Traceback (most recent call last):
>   File "/usr/bin/mb", line 1655, in <module>
>     r = mirrordoctor.main()
>   File "/usr/lib/pymodules/python2.6/", line 257, in main
>     return self.cmd(args)
>   File "/usr/lib/pymodules/python2.6/", line 280, in cmd
>     retval = self.onecmd(argv)
>   File "/usr/lib/pymodules/python2.6/", line 412, in onecmd
>     return self._dispatch_cmd(handler, argv)
>   File "/usr/lib/pymodules/python2.6/", line 1100, in _dispatch_cmd
>     return handler(argv[0], opts, *args)
>   File "/usr/bin/mb", line 584, in do_edit
>     old_dict = mb.conn.server2dict(mirror)
>   File "/usr/lib/pymodules/python2.6/mb/", line 77, in server2dict
>     ipv6Only      = s.ipv6Only,
> AttributeError: 'Server' object has no attribute 'ipv6Only'
> What is the problem?
> -gk

I forgot to add a new database column to the SQL scheme that is loaded upon fresh installations. (For existing installs, there is code that does the upgrade, but that doesn't kick in in your case.) I have fixed this in SVN and will push out a release with the fix soon.

To add the missing column in your install, you can do the following. Run the command 

    mb db shell

which gives you a commandline session in the database client. There, you paste the following command:

    ALTER TABLE server ADD COLUMN ipv6_only boolean NOT NULL default 'f';

That's what was missing. You can quit with ctrl-D or \q.

Thanks a lot for writing!

If there are any other things you run into, please do let us know!


mirrorbrain mailing list

Note: To remove yourself from this mailing list, send a mail with the content
to the address
Received on Fri May 11 2012 - 22:55:59 GMT

This archive was generated by hypermail 2.3.0 : Mon May 14 2012 - 12:32:03 GMT