Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Should cssselect be a dependency of this project? #79

Closed
idgserpro opened this issue Jun 28, 2018 · 0 comments
Closed

Should cssselect be a dependency of this project? #79

idgserpro opened this issue Jun 28, 2018 · 0 comments

Comments

@idgserpro
Copy link

I'm having the following traceback:

Traceback (most recent call last):
  File "/home/user/.buildout/eggs/plone.transformchain-1.2.2-py2.7.egg/plone/transformchain/transformer.py", line 50, in __call__
    newResult = handler.transformIterable(result, encoding)
  File "/home/user/.buildout/eggs/plone.protect-3.0.19-py2.7.egg/plone/protect/auto.py", line 162, in transformIterable
    return self.transform(result, encoding)
  File "/home/user/.buildout/eggs/plone.protect-3.0.19-py2.7.egg/plone/protect/auto.py", line 275, in transform
    for form in root.cssselect('form'):
  File "/home/user/.buildout/eggs/lxml-3.6.0-py2.7-linux-x86_64.egg/lxml/html/__init__.py", line 423, in cssselect
    from lxml.cssselect import CSSSelector
  File "/home/user/.buildout/eggs/lxml-3.6.0-py2.7-linux-x86_64.egg/lxml/cssselect.py", line 16, in <module>
    'cssselect does not seem to be installed. '
ImportError: cssselect does not seem to be installed. See http://packages.python.org/cssselect/

Putting cssselect in my eggs section solves the problem. Shouldn't it be a dependency for plone.protect?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant