Comment 2 for bug 1383289

Bruno Nova (brunonova) wrote :

'SelectionData' has indeed no 'data' attribute. But it has a 'get_data()' method.
So, "selection.data.strip()" should be renamed to "selection.get_data().strip()" in softwareproperties/gtk/SoftwarePropertiesGtk.py (there are 2 occurrences).
Don't know if the bug exists in the KDE version.

But that doesn't fix everything. It will then throw these errors:
gpg: no writable keyring found: eof
gpg: error reading `/tmp/tmpcszfsj3q': general error
gpg: import from `/tmp/tmpcszfsj3q' failed: general error