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

Error message has unreplaced placeholders #195

Closed
michael-o opened this issue Apr 2, 2020 · 0 comments · Fixed by #196
Closed

Error message has unreplaced placeholders #195

michael-o opened this issue Apr 2, 2020 · 0 comments · Fixed by #196

Comments

@michael-o
Copy link
Contributor

What went wrong?

Error message contains {0}

How do we reproduce?

$ python3
Python 3.7.7 (default, Mar 19 2020, 21:26:00)
[Clang 9.0.1 (git@github.com:llvm/llvm-project.git c1a0a213378a458fbea1a5c77b31 on freebsd12
>>> context = gssapi.SecurityContext(name=name, usage="initiate", creds=cred)
>>> context.initiator_name
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.7/site-packages/gssapi/_utils.py", line 64, in inquire_property
    raise AttributeError(msg)
AttributeError: Cannot read {0} from a security context whose establishment has not yet been started.

The error comes from

msg = ("Cannot read {0} from a security context whose "
"establishment has not yet been started.")
.

What has to be passed here?

Component versions (python-gssapi, Kerberos, OS / distro, etc.)

Installed via https://www.freshports.org/security/py-gssapi.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant