{"action":"created","issue":{"url":"https://api.github.com/repos/robotframework/robotframework/issues/2017","labels_url":"https://api.github.com/repos/robotframework/robotframework/issues/2017/labels{/name}","comments_url":"https://api.github.com/repos/robotframework/robotframework/issues/2017/comments","events_url":"https://api.github.com/repos/robotframework/robotframework/issues/2017/events","html_url":"https://github.com/robotframework/robotframework/issues/2017","id":86077019,"number":2017,"title":"2.9a2: Resource file does not exist","user":{"login":"molsky","id":1943521,"avatar_url":"https://avatars.githubusercontent.com/u/1943521?v=3","gravatar_id":"","url":"https://api.github.com/users/molsky","html_url":"https://github.com/molsky","followers_url":"https://api.github.com/users/molsky/followers","following_url":"https://api.github.com/users/molsky/following{/other_user}","gists_url":"https://api.github.com/users/molsky/gists{/gist_id}","starred_url":"https://api.github.com/users/molsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/molsky/subscriptions","organizations_url":"https://api.github.com/users/molsky/orgs","repos_url":"https://api.github.com/users/molsky/repos","events_url":"https://api.github.com/users/molsky/events{/privacy}","received_events_url":"https://api.github.com/users/molsky/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-06-08T08:15:03Z","updated_at":"2015-06-08T09:27:26Z","closed_at":null,"body":"Upgraded from 2.9a1 to 2.9a2 and after that all our tests are failing because for some reason RF fails with finding resource files that exists in right place (relative path).\r\n`| FAIL | Resource file 'resources/environment.robot' does not exist.`\r\nInstalled version 2.9a1 back and everything works fine with it. \r\n\r\nOSX: 10.9.5\r\nPython: 2.7.9"},"comment":{"url":"https://api.github.com/repos/robotframework/robotframework/issues/comments/109927844","html_url":"https://github.com/robotframework/robotframework/issues/2017#issuecomment-109927844","issue_url":"https://api.github.com/repos/robotframework/robotframework/issues/2017","id":109927844,"user":{"login":"pekkaklarck","id":114985,"avatar_url":"https://avatars.githubusercontent.com/u/114985?v=3","gravatar_id":"","url":"https://api.github.com/users/pekkaklarck","html_url":"https://github.com/pekkaklarck","followers_url":"https://api.github.com/users/pekkaklarck/followers","following_url":"https://api.github.com/users/pekkaklarck/following{/other_user}","gists_url":"https://api.github.com/users/pekkaklarck/gists{/gist_id}","starred_url":"https://api.github.com/users/pekkaklarck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pekkaklarck/subscriptions","organizations_url":"https://api.github.com/users/pekkaklarck/orgs","repos_url":"https://api.github.com/users/pekkaklarck/repos","events_url":"https://api.github.com/users/pekkaklarck/events{/privacy}","received_events_url":"https://api.github.com/users/pekkaklarck/received_events","type":"User","site_admin":false},"created_at":"2015-06-08T09:27:26Z","updated_at":"2015-06-08T09:27:26Z","body":"Above you wrote:\r\n\r\n> Changed file path from `resources/environment.robot'` to `environment.robot'` and now it works with alpha 2.\r\n\r\nbut then added:\r\n\r\n> Edit: And it fails still with alpha 2 even with the `environment.robot'` path.\r\n\r\nI assume the latter statement is true and neither version works with alpha 2?\r\n\r\nIf `resources/environment.robot` is relative to the directory where tests are run, the change that broke importing it is likely that `.` is not added to PYTHONPATH automatically. You could verify that by setting `PYTHONPATH=.` before running tests.\r\n\r\nAre you importing resource files in both places using `Import Resource` keyword? A limitation of that keyword is that paths relative to the directory where the file itself is are not supported. That would explain why `environment.robot` won't work in any version. A workaround is using `${CURDIR}/environment.robot` instead.\r\n\r\n"}}