{"action":"created","issue":{"url":"https://api.github.com/repos/plone/Products.PlonePAS/issues/21","repository_url":"https://api.github.com/repos/plone/Products.PlonePAS","labels_url":"https://api.github.com/repos/plone/Products.PlonePAS/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/plone/Products.PlonePAS/issues/21/comments","events_url":"https://api.github.com/repos/plone/Products.PlonePAS/issues/21/events","html_url":"https://github.com/plone/Products.PlonePAS/issues/21","id":175065583,"number":21,"title":"ImportError: cannot import name IDisableCSRFProtection","user":{"login":"idgserpro","id":8203476,"avatar_url":"https://avatars.githubusercontent.com/u/8203476?v=3","gravatar_id":"","url":"https://api.github.com/users/idgserpro","html_url":"https://github.com/idgserpro","followers_url":"https://api.github.com/users/idgserpro/followers","following_url":"https://api.github.com/users/idgserpro/following{/other_user}","gists_url":"https://api.github.com/users/idgserpro/gists{/gist_id}","starred_url":"https://api.github.com/users/idgserpro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/idgserpro/subscriptions","organizations_url":"https://api.github.com/users/idgserpro/orgs","repos_url":"https://api.github.com/users/idgserpro/repos","events_url":"https://api.github.com/users/idgserpro/events{/privacy}","received_events_url":"https://api.github.com/users/idgserpro/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-05T12:53:39Z","updated_at":"2016-09-05T15:50:34Z","closed_at":null,"body":"```bash\r\nTraceback (most recent call last):\r\n  File \"/opt/programas/zope/2.13.22/i_99424_pis/zeoclient/parts/inst02/bin/interpreter\", line 350, in <module>\r\n    execfile(__file__)\r\n  File \"/opt/programas/zope/2.13.22/i_99424_pis/zeoclient/eggs/Zope2-2.13.22-py2.7.egg/Zope2/Startup/run.py\", line 76, in <module>\r\n    run()\r\n  File \"/opt/programas/zope/2.13.22/i_99424_pis/zeoclient/eggs/Zope2-2.13.22-py2.7.egg/Zope2/Startup/run.py\", line 22, in run\r\n    starter.prepare()\r\n  File \"/opt/programas/zope/2.13.22/i_99424_pis/zeoclient/eggs/Zope2-2.13.22-py2.7.egg/Zope2/Startup/__init__.py\", line 86, in prepare\r\n    self.startZope()\r\n  File \"/opt/programas/zope/2.13.22/i_99424_pis/zeoclient/eggs/Zope2-2.13.22-py2.7.egg/Zope2/Startup/__init__.py\", line 262, in startZope\r\n    Zope2.startup()\r\n  File \"/opt/programas/zope/2.13.22/i_99424_pis/zeoclient/eggs/Zope2-2.13.22-py2.7.egg/Zope2/__init__.py\", line 47, in startup\r\n    _startup()\r\n  File \"/opt/programas/zope/2.13.22/i_99424_pis/zeoclient/eggs/Zope2-2.13.22-py2.7.egg/Zope2/App/startup.py\", line 67, in startup\r\n    OFS.Application.import_products()\r\n  File \"/opt/programas/zope/2.13.22/i_99424_pis/zeoclient/eggs/Zope2-2.13.22-py2.7.egg/OFS/Application.py\", line 583, in import_products\r\n    import_product(product_dir, product_name, raise_exc=debug_mode)\r\n  File \"/opt/programas/zope/2.13.22/i_99424_pis/zeoclient/eggs/Zope2-2.13.22-py2.7.egg/OFS/Application.py\", line 606, in import_product\r\n    product=__import__(pname, global_dict, global_dict, silly)\r\n  File \"/opt/programas/zope/2.13.22/i_99424_pis/zeoclient/eggs/Products.Doormat-0.7-py2.7.egg/Products/Doormat/__init__.py\", line 53, in <module>\r\n    from Products.CMFPlone.utils import ToolInit\r\n  File \"/opt/programas/zope/2.13.22/i_99424_pis/zeoclient/eggs/Products.CMFPlone-4.3.3-py2.7.egg/Products/CMFPlone/utils.py\", line 31, in <module>\r\n    from Products.PlonePAS.interfaces.plugins import IUserManagement\r\n  File \"/opt/programas/zope/2.13.22/i_99424_pis/zeoclient/eggs/Products.PlonePAS-5.0.9-py2.7.egg/Products/PlonePAS/__init__.py\", line 18, in <module>\r\n    from Products.PlonePAS.tools.membership import MembershipTool\r\n  File \"/opt/programas/zope/2.13.22/i_99424_pis/zeoclient/eggs/Products.PlonePAS-5.0.9-py2.7.egg/Products/PlonePAS/tools/membership.py\", line 33, in <module>\r\n    from plone.protect.interfaces import IDisableCSRFProtection\r\nImportError: cannot import name IDisableCSRFProtection\r\n```\r\n\r\nIt should depend on [plone.protect >= 2.0.3](https://github.com/plone/plone.protect/commit/c792890c162a58b59e60aeab088d03c7475a3695)"},"comment":{"url":"https://api.github.com/repos/plone/Products.PlonePAS/issues/comments/244775924","html_url":"https://github.com/plone/Products.PlonePAS/issues/21#issuecomment-244775924","issue_url":"https://api.github.com/repos/plone/Products.PlonePAS/issues/21","id":244775924,"user":{"login":"mauritsvanrees","id":210587,"avatar_url":"https://avatars.githubusercontent.com/u/210587?v=3","gravatar_id":"","url":"https://api.github.com/users/mauritsvanrees","html_url":"https://github.com/mauritsvanrees","followers_url":"https://api.github.com/users/mauritsvanrees/followers","following_url":"https://api.github.com/users/mauritsvanrees/following{/other_user}","gists_url":"https://api.github.com/users/mauritsvanrees/gists{/gist_id}","starred_url":"https://api.github.com/users/mauritsvanrees/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mauritsvanrees/subscriptions","organizations_url":"https://api.github.com/users/mauritsvanrees/orgs","repos_url":"https://api.github.com/users/mauritsvanrees/repos","events_url":"https://api.github.com/users/mauritsvanrees/events{/privacy}","received_events_url":"https://api.github.com/users/mauritsvanrees/received_events","type":"User","site_admin":false},"created_at":"2016-09-05T15:50:34Z","updated_at":"2016-09-05T15:50:34Z","body":"True.\r\n\r\nBut why are you using PlonePAS 5 on Plone 4.3? That should only be done when you are using plone4.csrffixes, and that package itself requires plone.protect 3.x.\r\nThen again, recent Plone 4.3.x versions also use PlonePAS 5, but those are Plone versions that already have plone.protect 2.0.3 or higher.\r\n\r\nBut yes, easy enough to fix. I'll do that."}}
{"actor":{"display_login":"mauritsvanrees"}}