You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm receiving a PermissionError using version 3.6.3.0 inside a virtual environment created by PyCharm. It appears to be some sort of issues in the queues.py file. Any idea on how this can be resolved? I can't upgrade or download python versions.
System details
Windows 10 64-bit
Python version: Python 3.7.8 (tags/v3.7.8:4b47a5b6ba, Jun 28 2020, 08:53:46) [MSC v.1916 64 bit (AMD64)] on win32
Traceback
Process Process-1:
Traceback (most recent call last):
File "C:\Users\mhill\PycharmProjects\d_price_comparisons\venv\lib\site-packages\billiard\process.py", line 327, in _bootstrap
self.run()
File "C:\Users\mhill\PycharmProjects\d_price_comparisons\venv\lib\site-packages\billiard\process.py", line 114, in run
self._target(*self._args, **self._kwargs)
File "C:\Users\mhill\PycharmProjects\d_price_comparisons\venv\lib\site-packages\scrapyscript\__init__.py", line 73, in _crawl
self.results.put(self.items)
File "C:\Users\mhill\PycharmProjects\d_price_comparisons\venv\lib\site-packages\billiard\queues.py", line 87, in put
if not self._sem.acquire(block, timeout):
PermissionError: [WinError 5] Access is denied
Test Script
fromscrapyscriptimportJob, Processorfromprice_comparisonsimportKPricingSpider, WPricingSpider, DPricingSpiderimportjsontest_upc="016000124790"test_zipcode="46224"test_radius="10"spider_list= [KPricingSpider, WPricingSpider, DPricingSpider]
job_list= [
Job(
spidercls,
upc=test_upc,
zipcode=test_zipcode,
radius=test_radius
) forspiderclsinspider_list
]
# Create a Processor, optionally passing in a Scrapy Settings object.processor=Processor(settings=None)
# Start the reactor, and block until all spiders complete.data=processor.run(job_list)
# Print the consolidated resultsprint(json.dumps(data, indent=4))
The text was updated successfully, but these errors were encountered:
I'm receiving a
PermissionError
using version 3.6.3.0 inside a virtual environment created by PyCharm. It appears to be some sort of issues in thequeues.py
file. Any idea on how this can be resolved? I can't upgrade or download python versions.System details
Windows 10 64-bit
Python version:
Python 3.7.8 (tags/v3.7.8:4b47a5b6ba, Jun 28 2020, 08:53:46) [MSC v.1916 64 bit (AMD64)] on win32
Traceback
Test Script
The text was updated successfully, but these errors were encountered: