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

AttributeError while lazy loading tweets #17

Closed
hvelarde opened this issue Aug 5, 2016 · 0 comments · Fixed by #19
Closed

AttributeError while lazy loading tweets #17

hvelarde opened this issue Aug 5, 2016 · 0 comments · Fixed by #19
Labels

Comments

@hvelarde
Copy link
Member

hvelarde commented Aug 5, 2016

the following error is being shown is a customer's log:

2016-08-05T19:23:09 ERROR plone.transformchain Unexpected error whilst trying to apply transform chain
Traceback (most recent call last):
  File "/home/conversaafiada/conversaafiada.portal/eggs/plone.transformchain-1.0.4-py2.7.egg/plone/transformchain/transformer.py", line 48, in __call__
    newResult = handler.transformIterable(result, encoding)
  File "/home/conversaafiada/conversaafiada.portal/eggs/collective.lazysizes-1.5.0b1-py2.7.egg/collective/lazysizes/transform.py", line 164, in transformIterable
    for el in result.tree.xpath(path):
  File "/home/conversaafiada/conversaafiada.portal/eggs/collective.lazysizes-1.5.0b1-py2.7.egg/collective/lazysizes/transform.py", line 118, in _lazyload
    elif element.tag == 'blockquote':
  File "/home/conversaafiada/conversaafiada.portal/eggs/collective.lazysizes-1.5.0b1-py2.7.egg/collective/lazysizes/transform.py", line 99, in _lazyload_tweet
    try:
AttributeError: 'NoneType' object has no attribute 'attrib'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant