Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

display_as: AttributeError: 'module' object has no attribute 'get_encoding' #81

Closed
msimacek opened this issue Aug 25, 2015 · 0 comments
Closed
Assignees
Labels
Milestone

Comments

@msimacek
Copy link

When using explicitly set name type, it doesn't segfault, but crashes nevertheless.

Reproducer:

python -c 'import gssapi as g;g.Name("foo@bar.baz",g.NameType.kerberos_principal).display_as(g.NameType.kerberos_principal)'

Stacktrace:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib64/python2.7/site-packages/gssapi/names.py", line 146, in display_as
    _utils.get_encoding())
AttributeError: 'module' object has no attribute 'get_encoding'
@DirectXMan12 DirectXMan12 added this to the 1.1.3 milestone Aug 25, 2015
@DirectXMan12 DirectXMan12 self-assigned this Aug 25, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants