touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #27864
[Bug 1383289] Re: Dropping a key into the list of keys fails
'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
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to software-properties in
Ubuntu.
https://bugs.launchpad.net/bugs/1383289
Title:
Dropping a key into the list of keys fails
Status in “software-properties” package in Ubuntu:
New
Bug description:
When I drag a key text/file and drop it into the list of keys in the
"Authentication" list, it fails silently (sometimes an apport bug
report appears), throwing an exception:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py", line 759, in on_auth_drag_data_received
keydata = selection.data.strip()
AttributeError: 'SelectionData' object has no attribute 'data'
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: software-properties-gtk 0.92.37.1
ProcVersionSignature: Ubuntu 3.13.0-37.64-generic 3.13.11.7
Uname: Linux 3.13.0-37-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.5
Architecture: amd64
CurrentDesktop: Unity
Date: Mon Oct 20 14:01:10 2014
EcryptfsInUse: Yes
InstallationDate: Installed on 2014-10-13 (6 days ago)
InstallationMedia: Ubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.2)
PackageArchitecture: all
SourcePackage: software-properties
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1383289/+subscriptions
References