KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Question is straightfoward, but some context may help. I'm trying to deploy scrapy while using selenium and phantomjs as downloader. But the problem is that it keeps on saying permission denied when trying to deploy. So I want to change the path of ghostdriver.log or just disable it. Looking at phantomjs -h and ghostdriver github page I couldn't find the answer, my friend google let me down also. $ scrapy deploy Building egg of crawler-1370960743 'build/scripts-2.7' does not exist -- can't clean it zip_safe flag not set; analyzing archive contents... tests.fake_responses.__init__: module references __file__ Deploying crawler-1370960743 to http://localhost:6800/addversion.json Server response (200): Traceback (most recent call last): File "/usr/lib/pymodules/python2.7/scrapyd/webservice.py", line 18, in render return JsonResource.render(self, txrequest) File "/usr/lib/pymodules/python2.7/scrapy/utils/txweb.py", line 10, in render r = resource.Resource.render(self, txrequest) File "/usr/lib/python2.7/dist-packages/twisted/web/resource.py", line 216, in render return m(request) File "/usr/lib/pymodules/python2.7/scrapyd/webservice.py", line 66, in render_POST spiders = get_spider_list(project) File "/usr/lib/pymodules/python2.7/scrapyd/utils.py", line 65, in get_spider_list raise RuntimeError(msg.splitlines()[-1]) RuntimeError: IOError: [Errno 13] Permission denied: 'ghostdriver.log
Tags (comma-separated)
Save Edits
Cancel