{"action":"created","issue":{"url":"https://api.github.com/repos/rtomac/robotframework-selenium2library/issues/429","labels_url":"https://api.github.com/repos/rtomac/robotframework-selenium2library/issues/429/labels{/name}","comments_url":"https://api.github.com/repos/rtomac/robotframework-selenium2library/issues/429/comments","events_url":"https://api.github.com/repos/rtomac/robotframework-selenium2library/issues/429/events","html_url":"https://github.com/rtomac/robotframework-selenium2library/issues/429","id":88955119,"number":429,"title":"Incompatibility with forthcoming RF 2.9 alpha 3","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},"labels":[{"url":"https://api.github.com/repos/rtomac/robotframework-selenium2library/labels/Bug","name":"Bug","color":"e11d21"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":24,"created_at":"2015-06-17T08:36:02Z","updated_at":"2015-08-14T14:57:48Z","closed_at":"2015-06-17T21:48:05Z","body":"That I get this exception when using Selenium2Library with the latest Robot Framework code:\r\n\r\n```\r\nImporting test library 'Selenium2Library' failed: ImportError: cannot import name GLOBAL_VARIABLES\r\nTraceback (most recent call last):\r\n  File \"/usr/local/lib/python2.7/dist-packages/Selenium2Library/__init__.py\", line 2, in <module>\r\n    from keywords import *\r\n  File \"/usr/local/lib/python2.7/dist-packages/Selenium2Library/keywords/__init__.py\", line 1, in <module>\r\n    from _logging import _LoggingKeywords\r\n  File \"/usr/local/lib/python2.7/dist-packages/Selenium2Library/keywords/_logging.py\", line 3, in <module>\r\n    from robot.variables import GLOBAL_VARIABLES\r\n```\r\n\r\nApparently the library uses Robot's internal `GLOBAL_VARIABLES` that we just we able to remove as part of robotframework/robotframework#532. I don't have time to investigate where and why `GLOBAL_VARIABLES` are used right now, but I hope the usage could be replaced with something else. I would assume variable related methods in `BuiltIn` could be used instead. A big benefit of them is that they are part of the public API and thus considered stable.\r\n\r\nIf it turns out to be hard to fix this on Se2Lib, we can consider adding `GLOBAL_VARIABLES` back for some time. Our general goal is to get rid of all/most global state like that to make the framework thread safe and easier to parallelize, though."},"comment":{"url":"https://api.github.com/repos/rtomac/robotframework-selenium2library/issues/comments/131136996","html_url":"https://github.com/rtomac/robotframework-selenium2library/issues/429#issuecomment-131136996","issue_url":"https://api.github.com/repos/rtomac/robotframework-selenium2library/issues/429","id":131136996,"user":{"login":"zephraph","id":3087225,"avatar_url":"https://avatars.githubusercontent.com/u/3087225?v=3","gravatar_id":"","url":"https://api.github.com/users/zephraph","html_url":"https://github.com/zephraph","followers_url":"https://api.github.com/users/zephraph/followers","following_url":"https://api.github.com/users/zephraph/following{/other_user}","gists_url":"https://api.github.com/users/zephraph/gists{/gist_id}","starred_url":"https://api.github.com/users/zephraph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zephraph/subscriptions","organizations_url":"https://api.github.com/users/zephraph/orgs","repos_url":"https://api.github.com/users/zephraph/repos","events_url":"https://api.github.com/users/zephraph/events{/privacy}","received_events_url":"https://api.github.com/users/zephraph/received_events","type":"User","site_admin":false},"created_at":"2015-08-14T14:57:47Z","updated_at":"2015-08-14T14:57:47Z","body":"@alexeylubyanoy, recent versions of S2L?"}}