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.

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

Title:
  [software-properties-gtk] can not delete, enable or modify any
  software source with non-ASCII characters in the comment

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1069019/+subscriptions

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

Reply via email to