Richard Jones wrote: > [EMAIL PROTECTED] wrote: > > The Key ID that the kgpg shows. I tried to paste the key returned by > > the quiery on the keyserver. but it also doesn't work. I tried > > everything that has any connection with the key, but everything fails. > > > > By the way the key is: 6A61E3AD > > Here is the code that could generate that error message: > > if len(gpgid) != 8: > raise FormError, 'GPG key ID is invalid' > try: > int(gpgid)
| >>> int("6A61E3AD") Traceback (most recent call last): File "<stdin>", line 1, in ? ValueError: invalid literal for int(): 6A61E3AD | >>> int("6A61E3AD", 16) 1784800173 What am I missing? > except ValueError: > raise FormError, 'GPG key ID is invalid' > > So I suspect there might have been some cut-n-paste error. Check that you've > not pasted in any whitespace that could confuse the first test. > Cheers, John -- http://mail.python.org/mailman/listinfo/python-list