{"action":"closed","issue":{"url":"https://api.github.com/repos/pybuilder/pybuilder/issues/226","labels_url":"https://api.github.com/repos/pybuilder/pybuilder/issues/226/labels{/name}","comments_url":"https://api.github.com/repos/pybuilder/pybuilder/issues/226/comments","events_url":"https://api.github.com/repos/pybuilder/pybuilder/issues/226/events","html_url":"https://github.com/pybuilder/pybuilder/issues/226","id":113774954,"number":226,"title":"list tasks in subdir causes exception","user":{"login":"michikuehne","id":1186101,"avatar_url":"https://avatars.githubusercontent.com/u/1186101?v=3","gravatar_id":"","url":"https://api.github.com/users/michikuehne","html_url":"https://github.com/michikuehne","followers_url":"https://api.github.com/users/michikuehne/followers","following_url":"https://api.github.com/users/michikuehne/following{/other_user}","gists_url":"https://api.github.com/users/michikuehne/gists{/gist_id}","starred_url":"https://api.github.com/users/michikuehne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michikuehne/subscriptions","organizations_url":"https://api.github.com/users/michikuehne/orgs","repos_url":"https://api.github.com/users/michikuehne/repos","events_url":"https://api.github.com/users/michikuehne/events{/privacy}","received_events_url":"https://api.github.com/users/michikuehne/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-28T09:16:36Z","updated_at":"2015-10-28T17:13:09Z","closed_at":"2015-10-28T17:13:09Z","body":"Hi,\r\n\r\nIf executing \"pyb -t\" or \"pyb --list-tasks\" in a subdir from the dir, where the build.py is located, causes the following exception:\r\n\r\n```python\r\nTraceback (most recent call last):\r\n  File \"/Library/Frameworks/Python.framework/Versions/2.7/bin/pyb\", line 25, in <module>\r\n    sys.exit(pybuilder.cli.main(*sys.argv[1:]))\r\n  File \"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pybuilder/cli.py\", line 326, in main\r\n    project_directory=options.project_directory)\r\n  File \"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pybuilder/reactor.py\", line 102, in prepare_build\r\n    project_directory, project_descriptor)\r\n  File \"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pybuilder/reactor.py\", line 294, in verify_project_directory\r\n    project_descriptor_full_path)\r\npybuilder.errors.PyBuilderException: Project directory does not contain descriptor file: /Users/michi/git/immobilienscout24/afp-cli/src/build.py\r\n```\r\n\r\nI excepted the task list or a helpful error message.\r\n\r\nBest,\r\nMichael"}}