{"action":"created","issue":{"url":"https://api.github.com/repos/saltstack/salt/issues/22851","labels_url":"https://api.github.com/repos/saltstack/salt/issues/22851/labels{/name}","comments_url":"https://api.github.com/repos/saltstack/salt/issues/22851/comments","events_url":"https://api.github.com/repos/saltstack/salt/issues/22851/events","html_url":"https://github.com/saltstack/salt/issues/22851","id":69585870,"number":22851,"title":"AttributeError: 'module' object has no attribute 'PKCS5_SALT_LEN'","user":{"login":"masterkorp","id":223763,"avatar_url":"https://avatars.githubusercontent.com/u/223763?v=3","gravatar_id":"","url":"https://api.github.com/users/masterkorp","html_url":"https://github.com/masterkorp","followers_url":"https://api.github.com/users/masterkorp/followers","following_url":"https://api.github.com/users/masterkorp/following{/other_user}","gists_url":"https://api.github.com/users/masterkorp/gists{/gist_id}","starred_url":"https://api.github.com/users/masterkorp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/masterkorp/subscriptions","organizations_url":"https://api.github.com/users/masterkorp/orgs","repos_url":"https://api.github.com/users/masterkorp/repos","events_url":"https://api.github.com/users/masterkorp/events{/privacy}","received_events_url":"https://api.github.com/users/masterkorp/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/saltstack/salt/labels/Upstream%20Bug","name":"Upstream Bug","color":"bfe5bf"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/saltstack/salt/milestones/37","html_url":"https://github.com/saltstack/salt/milestones/Blocked","labels_url":"https://api.github.com/repos/saltstack/salt/milestones/37/labels","id":343741,"number":37,"title":"Blocked","description":"Issues which are blocked in some way, whether they need further discussion, clarification, justification, or are blocked for some other reason.","creator":{"login":"basepi","id":702318,"avatar_url":"https://avatars.githubusercontent.com/u/702318?v=3","gravatar_id":"","url":"https://api.github.com/users/basepi","html_url":"https://github.com/basepi","followers_url":"https://api.github.com/users/basepi/followers","following_url":"https://api.github.com/users/basepi/following{/other_user}","gists_url":"https://api.github.com/users/basepi/gists{/gist_id}","starred_url":"https://api.github.com/users/basepi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/basepi/subscriptions","organizations_url":"https://api.github.com/users/basepi/orgs","repos_url":"https://api.github.com/users/basepi/repos","events_url":"https://api.github.com/users/basepi/events{/privacy}","received_events_url":"https://api.github.com/users/basepi/received_events","type":"User","site_admin":false},"open_issues":273,"closed_issues":598,"state":"open","created_at":"2013-05-28T22:24:12Z","updated_at":"2015-07-29T22:37:59Z","due_on":null,"closed_at":null},"comments":11,"created_at":"2015-04-20T13:22:53Z","updated_at":"2015-07-29T22:44:20Z","closed_at":null,"body":"I was trying to setup a [development environment](http://docs.saltstack.com/en/latest/topics/development/hacking.html) and got stuck when trying to run the tests.\r\n\r\nAfter setting the environment, I've tried to [run the tests](http://docs.saltstack.com/en/latest/topics/development/tests/index.html) with:\r\n```\r\npip install -r requirements/dev_python27.txt\r\n./setup.py test\r\n```\r\n\r\nBut  ``./setup test`` gives me the following error:\r\n```\r\n$ ./setup.py test\r\n2015.2.0-1064-g3b17858\r\nrunning test\r\nrunning build\r\nrunning build_py\r\nrunning build_scripts\r\nrunning test\r\nTraceback (most recent call last):\r\n  File \"/path/to/my/repo/salt/tests/runtests.py\", line 16, in <module>\r\n    from integration import TestDaemon, TMP  # pylint: disable=W0403\r\n  File \"/path/to/my/repo/salt/tests/integration/__init__.py\", line 54, in <module>\r\n    import salt.config\r\n  File \"/path/to/my/repo/salt/salt/config.py\", line 39, in <module>\r\n    import salt.utils.sdb\r\n  File \"/path/to/my/repo/salt/salt/utils/sdb.py\", line 9, in <module>\r\n    import salt.loader\r\n  File \"/path/to/my/repo/salt/salt/loader.py\", line 23, in <module>\r\n    import salt.utils.event\r\n  File \"/path/to/my/repo/salt/salt/utils/event.py\", line 79, in <module>\r\n    import salt.payload\r\n  File \"/path/to/my/repo/salt/salt/payload.py\", line 17, in <module>\r\n    import salt.crypt\r\n  File \"/path/to/my/repo/salt/salt/crypt.py\", line 22, in <module>\r\n    from M2Crypto import RSA, EVP\r\n  File \"/path/to/my/repo/salt/playground/lib/python2.7/site-packages/M2Crypto/__init__.py\", line 24, in <module>\r\n    import ASN1\r\n  File \"/path/to/my/repo/salt/playground/lib/python2.7/site-packages/M2Crypto/ASN1.py\", line 12, in <module>\r\n    import BIO\r\n  File \"/path/to/my/repo/salt/playground/lib/python2.7/site-packages/M2Crypto/BIO.py\", line 221, in <module>\r\n    class CipherStream(BIO):\r\n  File \"/path/to/my/repo/salt/playground/lib/python2.7/site-packages/M2Crypto/BIO.py\", line 227, in CipherStream\r\n    SALT_LEN = m2.PKCS5_SALT_LEN\r\nAttributeError: 'module' object has no attribute 'PKCS5_SALT_LEN'\r\n```\r\n\r\nI am on Arch Linux, using salt 3b178580525c680d467322caae43f87766c43bf3 from the develop branch."},"comment":{"url":"https://api.github.com/repos/saltstack/salt/issues/comments/126118480","html_url":"https://github.com/saltstack/salt/issues/22851#issuecomment-126118480","issue_url":"https://api.github.com/repos/saltstack/salt/issues/22851","id":126118480,"user":{"login":"jfindlay","id":702905,"avatar_url":"https://avatars.githubusercontent.com/u/702905?v=3","gravatar_id":"","url":"https://api.github.com/users/jfindlay","html_url":"https://github.com/jfindlay","followers_url":"https://api.github.com/users/jfindlay/followers","following_url":"https://api.github.com/users/jfindlay/following{/other_user}","gists_url":"https://api.github.com/users/jfindlay/gists{/gist_id}","starred_url":"https://api.github.com/users/jfindlay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jfindlay/subscriptions","organizations_url":"https://api.github.com/users/jfindlay/orgs","repos_url":"https://api.github.com/users/jfindlay/repos","events_url":"https://api.github.com/users/jfindlay/events{/privacy}","received_events_url":"https://api.github.com/users/jfindlay/received_events","type":"User","site_admin":false},"created_at":"2015-07-29T22:44:20Z","updated_at":"2015-07-29T22:44:20Z","body":"@masterkorp, are you still encountering this issue on Arch?  @dalepotter, I am interested to know if 2015.8.0rc2 works for you, `pip install salt==2015.8.0rc2`."}}