I think I remember this problem as that "exclude_names" should be an
actual list instead of a MergableList.  That is, the code uses set
membership tests which would find the keys of a dict, not the values of
a dict.  So, the trick is to update the record to contain a list of
items, not a dict-like structure.  I'd use futon, if it's a one-off
deal.

Jason, did you create it this way,

        excl = 
desktopcouch.replication_services.ubuntuone.ReplicationExclusion()
        excl.exclude("dmedia")

?

This functionality isn't advertised and wasn't used anywhere outside the
tests for quite a while.  I wouldn't be surprised if there's something I
missed.

---

Incidentally, there's an exception in there that looks like the data file of 
your dmedia DB is corrupted on our server.  Would you like us to remove that 
file?
ServerError: (500, ('json_encode', '{bad_term,<0.26667.4>}'))

** Changed in: desktopcouch (Ubuntu)
     Assignee: (unassigned) => Chad Miller (cmiller)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/690406

Title:
  "dmedia" in exclude_names but old records synced back from UbuntuOne

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to