Comment 1 for bug 722035

Revision history for this message
Jason Gerard DeRose (jderose) wrote :

Ah, something important I forgot to note: in case anyone is wondering why I'm making this seemingly aggressive change so near the 0.4 release, it's because this should fix lp:710405 "Fix 400 error in test_Client.test_import()":

https://bugs.launchpad.net/dmedia/+bug/710405

With this change, I'll only call desktopcouch.find_port() in the main process, and then just pass a dict with the CouchDB info to subprocesses creating with `multiprocessing`. Longterm, this is the way dmedia needs to work anyway, and making this change will probably take less time than resolving the mysterious D-Bus + Python multiprocessing issue that sprung up under Natty.