scrapeops-scrapy-sdk icon indicating copy to clipboard operation
scrapeops-scrapy-sdk copied to clipboard

Статистика не отправляется

Open Xewus opened this issue 2 years ago • 1 comments

When it is written in the settings BASE_DIR = Path(__file__).resolve().parent.parent the extension does not send statistics to the API. Even if it is written in another module and then imported into the settings.

But this works OK if write BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))

Xewus avatar Sep 18 '22 12:09 Xewus

Yes, I stumbled upon the same thing. If you use the pathlib module anywhere in the settings it's not sending statistics to the API.

ronaldokun avatar Oct 24 '23 01:10 ronaldokun