'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
'SelectionData' has indeed no 'data' attribute. But it has a 'get_data()' method. data.strip( )" should be renamed to "selection. get_data( ).strip( )" in softwarepropert ies/gtk/ SoftwarePropert iesGtk. py (there are 2 occurrences).
So, "selection.
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