scrapinghub / portia2code

BSD 3-Clause "New" or "Revised" License
49 stars 25 forks source link

Can't deploy portia on scrapyd #3

Closed JJINDAHOUSE closed 7 years ago

JJINDAHOUSE commented 7 years ago

I tried to deploy a portia project to a local scrapyd. I received the following error.

C:\Users\eric\Desktop\project>scrapyd-deploy
Packing version 1480440269
Traceback (most recent call last):
 File "C:\Program Files\Anaconda2\Scripts\scrapyd-deploy", line 273, in <module>
   main()
 File "C:\Program Files\Anaconda2\Scripts\scrapyd-deploy", line 95, in main
   egg, tmpdir = _build_egg()
 File "C:\Program Files\Anaconda2\Scripts\scrapyd-deploy", line 240, in _build_egg
   retry_on_eintr(check_call, [sys.executable, 'setup.py', 'clean', '-a', 'bdist_egg', '-d', d], stdout=o, stderr=e)
 File "C:\Program Files\Anaconda2\lib\site-packages\scrapy\utils\python.py", line 331, in retry_on_eintr
   return function(*args, **kw)
 File "C:\Program Files\Anaconda2\lib\subprocess.py", line 541, in check_call
   raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['C:\\Program Files\\Anaconda2\\python.exe', 'setup.py', 'clean', '-a', 'bdist_egg', '-d', 'c:\\users\\eric\\appdata\\local\\temp\\scrapydeploy-3ybepr']' returned non-zero exit status 1