{"action":"created","issue":{"url":"https://api.github.com/repos/robotframework/RIDE/issues/1296","labels_url":"https://api.github.com/repos/robotframework/RIDE/issues/1296/labels{/name}","comments_url":"https://api.github.com/repos/robotframework/RIDE/issues/1296/comments","events_url":"https://api.github.com/repos/robotframework/RIDE/issues/1296/events","html_url":"https://github.com/robotframework/RIDE/issues/1296","id":84413663,"number":1296,"title":"RIDE says \"Invalid Data File\" when opening Resource Files using the UI. ","user":{"login":"robotframework-ride","id":12701298,"avatar_url":"https://avatars.githubusercontent.com/u/12701298?v=3","gravatar_id":"","url":"https://api.github.com/users/robotframework-ride","html_url":"https://github.com/robotframework-ride","followers_url":"https://api.github.com/users/robotframework-ride/followers","following_url":"https://api.github.com/users/robotframework-ride/following{/other_user}","gists_url":"https://api.github.com/users/robotframework-ride/gists{/gist_id}","starred_url":"https://api.github.com/users/robotframework-ride/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robotframework-ride/subscriptions","organizations_url":"https://api.github.com/users/robotframework-ride/orgs","repos_url":"https://api.github.com/users/robotframework-ride/repos","events_url":"https://api.github.com/users/robotframework-ride/events{/privacy}","received_events_url":"https://api.github.com/users/robotframework-ride/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/robotframework/RIDE/labels/bug","name":"bug","color":"ededed"},{"url":"https://api.github.com/repos/robotframework/RIDE/labels/prio-low","name":"prio-low","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-06-03T07:37:18Z","updated_at":"2015-06-03T07:37:22Z","closed_at":null,"body":"> *Originally submitted to [Google Code](http://code.google.com/p/robotframework-ride/issues/detail?id=1258) by acampbell on 12 Jun 2013*\n\n\nIt is possible to open resource files from the command line using \r\n\r\nride.py &lt;filename&gt;\r\n\r\nin the same manner as one would open test cases.\r\n\r\nHowever, when attempting to use Open (ie, Open Test Suite) a popup is shown saying \"invalid data file.\"\r\n\r\nSome problems with this - \r\n1. \"invalid data file\" doesn't indicate the actual problem, that you are trying to load a resource using a test suite method. \r\n\r\n2. The 'Open' dialogue doesn't specify that you are loading a test suite (ie, exclusively a test suite). So if you always use ctrl+o, you have absolutely no indication as to why the file won't open.\r\n\r\n3. ride.py starts equally well when opening testsuites or resource files on the command line, and the problems only seem to occur through the UI. \n\n"},"comment":{"url":"https://api.github.com/repos/robotframework/RIDE/issues/comments/108232265","html_url":"https://github.com/robotframework/RIDE/issues/1296#issuecomment-108232265","issue_url":"https://api.github.com/repos/robotframework/RIDE/issues/1296","id":108232265,"user":{"login":"robotframework-ride","id":12701298,"avatar_url":"https://avatars.githubusercontent.com/u/12701298?v=3","gravatar_id":"","url":"https://api.github.com/users/robotframework-ride","html_url":"https://github.com/robotframework-ride","followers_url":"https://api.github.com/users/robotframework-ride/followers","following_url":"https://api.github.com/users/robotframework-ride/following{/other_user}","gists_url":"https://api.github.com/users/robotframework-ride/gists{/gist_id}","starred_url":"https://api.github.com/users/robotframework-ride/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robotframework-ride/subscriptions","organizations_url":"https://api.github.com/users/robotframework-ride/orgs","repos_url":"https://api.github.com/users/robotframework-ride/repos","events_url":"https://api.github.com/users/robotframework-ride/events{/privacy}","received_events_url":"https://api.github.com/users/robotframework-ride/received_events","type":"User","site_admin":false},"created_at":"2015-06-03T07:37:22Z","updated_at":"2015-06-03T07:37:22Z","body":"> *Originally submitted to [Google Code](http://code.google.com/p/robotframework-ride/issues/detail?id=1258#c4) by @jussimalinen on 18 Jul 2013*\n\n\nWhich approach would then be better? Open the resource file alone and close all existing files or open it as an additional external resource and keep existing suite open?\r\n\r\nOr are these somehow different use cases and should both be supported? Humm...\r\n\r\n(Of course already now when you import a resource in your test suite, it will then always be available.)\n\n"}}