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

find_composes prints traceback if compose directory cannot be read #74

Open
pbabinca opened this issue Jan 11, 2017 · 1 comment
Open

Comments

@pbabinca
Copy link

    ci_list = find_composes()", 
  File \"/usr/lib/python2.6/site-packages/distill3_utils/find_latest.py\", line 58, in find_composes", 
    compose = productmd.compose.Compose(compose_path)", 
  File \"/usr/lib/python2.6/site-packages/productmd/compose.py\", line 70, in __init__", 
    for i in os.listdir(compose_path):", 
        "OSError: [Errno 13] Permission denied: '.../released/F-20/20-Beta-RC1'"

where .../released/F-20/20-Beta-RC1 is unreadable by the user.

@dmach
Copy link
Contributor

dmach commented Jan 11, 2017

This is caused by the latest code looking for metadata in legacy locations, bumping into unreadable dirs.
I'll change the code to silently ignore exceptions with errno.EACCES code.

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

No branches or pull requests

2 participants