Starting Twisted.internet.reactor in python -


I'm trying to run a spider (written in scrap framework) to run with Python script instead of command line tool . Scrap is written on twisted internet framework, which has a reactor, which can not be restarted during the process. Me the spider_cloud signal & amp; reactor has been stopped . This gives me the following error message:

  twisted.internet.error.ReactorNotRestartable   

My question is "how do i start twisted.internet .reactor ? "

I'm still not able to run my spider with the command line tool.

Instead of knowing how to reactivate the reactor, stops to the first place.

Comments

Popular posts from this blog

python - how we can use ajax() in views.py in django? -

matlab - Using loops to get multiple values into a cell -

python - Sequence Pattern recognition with Pybrain -