If, when you try to import a key, you get the following error:
Importing the keys failed
gpg: can't open (very long string of characters running off screen)
File name too long
gpg: Total number processed: 0
then try to import the key through GnuPG. Open a command line and issue the
following command: gpg --import key_file_to_import.asc.