Skip to content

Execution crashes if directory is not readable #3268

Closed

Description

@pekkaklarck
$ robot foo
[ ERROR ] Unexpected error: PermissionError: [Errno 13] Permission denied: '/home/peke/Devel/robotframework/foo'
Traceback (most recent call last):
   ...
   File "/usr/local/lib/python3.6/dist-packages/robot/parsing/populators.py", line 181, in _list_dir
    names = os.listdir(dir_path)

We cannot really do anything to the actual problem but we can report it better and avoid showing the traceback.

Activity

  1. added this to the v3.2 milestone on Aug 13, 2019
  2. added 2 commits that reference this issue on Aug 13, 2019
    7ef3280
    9a59af7
  3. added a commit that references this issue on Sep 3, 2019
    db735a6
  4. added theissue type on Dec 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions