-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Code: 40903 (FATAL)
Source: Log from production server (by CatalogWorker)
sneakerhead-ru: AttributeError: 'NoneType' object has no attribute 'xpath'
================================
Traceback (most recent call last):
File "/var/sftp/files/monitor/source/core.py", line 301, in execute
result: list = script_manager.execute_parser(task.script, 'execute', (mode, task))
File "/var/sftp/files/monitor/source/scripts.py", line 592, in execute_parser
raise e
File "/var/sftp/files/monitor/source/scripts.py", line 581, in execute_parser
return getattr(self.get_parser(name), func)(*args)
File "/var/sftp/files/monitor/scripts/sneakerhead_ru/__init__.py", line 54, in execute
catalog = [element for element in etree.HTML(response.text).xpath('//div[@class="product-cards__item"]')]
AttributeError: 'NoneType' object has no attribute 'xpath'
================================
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working