Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 536372 - app-crypt/gkeys-0.1: fails to generate key with UnicodeDecodeError
Summary: app-crypt/gkeys-0.1: fails to generate key with UnicodeDecodeError
Status: RESOLVED DUPLICATE of bug 536338
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: gentoo-keys (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo-keys project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-11 22:51 UTC by Cédric Krier
Modified: 2015-01-11 23:23 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Cédric Krier gentoo-dev 2015-01-11 22:51:09 UTC
It fails probably because I have an accent in my name.

Traceback (most recent call last):
  File "/usr/lib/python-exec/python2.7/gkeys-gen", line 50, in <module>
    success = main()
  File "/usr/lib64/python2.7/site-packages/gkeygen/cli.py", line 58, in __call__
    return self.run(args)
  File "/usr/lib64/python2.7/site-packages/gkeys/base.py", line 303, in run
    success, results = func(args)
  File "/usr/lib64/python2.7/site-packages/gkeygen/actions.py", line 145, in genkey
    key_params = self.get_input(args)
  File "/usr/lib64/python2.7/site-packages/gkeygen/actions.py", line 209, in get_input
    return _unicode(key_properties.decode('utf-8')).format(name, email)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 1: ordinal not in range(128)
Comment 1 Pavlos Ratis (RETIRED) Gentoo Infrastructure gentoo-dev 2015-01-11 22:56:57 UTC

*** This bug has been marked as a duplicate of bug 536338 ***
Comment 2 Pavlos Ratis (RETIRED) Gentoo Infrastructure gentoo-dev 2015-01-11 23:00:55 UTC
Thanks for reporting! However there's already an open bug for it.
Comment 3 Cédric Krier gentoo-dev 2015-01-11 23:23:12 UTC
For me, it is different as the exception is raised from a different lines and for a different command line.