Comment 10 for bug 1069019

Matt Fischer (mfisch) wrote :

So I played with this some tonight and cannot make much sense of the results. After adding my debugging stuff, it seemed to work fine. I restarted software-properties-dbus with --debug and also added some code into software-properties-gtk to compare the source line. As I said, it worked fine, here are my results. I used the accented e that had previously caused issues.

In this example, I'm removing my stormcloud PPA's which have the accented e in the comment.

mfisch@caprica:~$ sudo /usr/lib/software-properties/software-properties-dbus --debug
DEBUG:root:waiting for connections
mfisch: deb-src http://ppa.launchpad.net/cooperjona/stormcloud/ubuntu quantal main #é qqqq
mfisch: deb-src http://ppa.launchpad.net/cooperjona/stormcloud/ubuntu quantal main #é qqqq
DEBUG:root:SourcesListModified signal
mfisch: deb http://ppa.launchpad.net/cooperjona/stormcloud/ubuntu quantal main #é f
mfisch: deb http://ppa.launchpad.net/cooperjona/stormcloud/ubuntu quantal main #é f
DEBUG:root:SourcesListModified signal

You can also see what software-properties-gtk reported, I was comparing the source_entry with the str(source_entry) and they're the same.

remove button clicked
source_entry: deb-src http://ppa.launchpad.net/cooperjona/stormcloud/ubuntu quantal main #é qqqq
str(source_entry): deb-src http://ppa.launchpad.net/cooperjona/stormcloud/ubuntu quantal main #é qqqq
remove button clicked
source_entry: deb http://ppa.launchpad.net/cooperjona/stormcloud/ubuntu quantal main #é f
str(source_entry): deb http://ppa.launchpad.net/cooperjona/stormcloud/ubuntu quantal main #é f

The next step will be to get in between the code I annotated and the dbus service. Perhaps someone else can continue this.