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

Bad file paths in PySAML2 configuration cause tracebacks #1

Closed
dataflake opened this issue Jan 18, 2024 · 0 comments
Closed

Bad file paths in PySAML2 configuration cause tracebacks #1

dataflake opened this issue Jan 18, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@dataflake
Copy link
Owner

Example:

  File "/home/jens/src/samltest/src/Products.SAML2Plugins/src/Products/SAML2Plugins/configuration.py", line 309, in getPySAML2Configuration
    cfg.load(copy.deepcopy(self.getConfiguration()))
  File "/home/jens/src/samltest/eggs/pysaml2-7.4.2-py3.10.egg/saml2/config.py", line 337, in load
    self.load_complex(cnf)
  File "/home/jens/src/samltest/eggs/pysaml2-7.4.2-py3.10.egg/saml2/config.py", line 265, in load_complex
    acs = ac_factory(cnf.get("attribute_map_dir"))
  File "/home/jens/src/samltest/eggs/pysaml2-7.4.2-py3.10.egg/saml2/attribute_converter.py", line 65, in ac_factory
    for fil in sorted(os.listdir(path)):
FileNotFoundError: [Errno 2] No such file or directory: 'etc/attribute_maps'
@dataflake dataflake added the bug Something isn't working label Jan 18, 2024
@dataflake dataflake self-assigned this Jan 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant