The ubuntu package may have ended up in an inconsistent state, maybe due to an interrupted installation. Try running: apt-get install -f
On Mon, Mar 17, 2014 at 3:19 PM, Ali Bozorgkhan <[email protected]>wrote: > Hi, > > I tried to stop my running scrapyd service by `service scrapyd stop` but > it didn't work. So I killed the process manually. Now that I'm trying to > start scrapyd again, I get this error in `scrapyd.err` file: > > > Unhandled Error > Traceback (most recent call last): > File > "/usr/local/lib/python2.7/dist-packages/twisted/application/app.py", line > 642, in run > runApp(config) > File "/usr/local/lib/python2.7/dist-packages/twisted/scripts/twistd.py", > line 23, in runApp > _SomeApplicationRunner(config).run() > File > "/usr/local/lib/python2.7/dist-packages/twisted/application/app.py", line > 376, in run > self.application = self.createOrGetApplication() > File > "/usr/local/lib/python2.7/dist-packages/twisted/application/app.py", line > 441, in createOrGetApplication > application = getApplication(self.config, passphrase) > --- <exception caught here> --- > File > "/usr/local/lib/python2.7/dist-packages/twisted/application/app.py", line > 452, in getApplication > application = service.loadApplication(filename, style, passphrase) > File > "/usr/local/lib/python2.7/dist-packages/twisted/application/service.py", > line 405, in loadApplication > application = sob.loadValueFromFile(filename, 'application', > passphrase) > File "/usr/local/lib/python2.7/dist-packages/twisted/persisted/sob.py", > line 203, in loadValueFromFile > fileObj = open(filename, mode) > exceptions.IOError: [Errno 2] No such file or directory: > '/usr/local/lib/python2.7/dist-packages/scrapyd/txapp.py' > > Failed to load application: [Errno 2] No such file or directory: > '/usr/local/lib/python2.7/dist-packages/scrapyd/txapp.py' > > > I can run the scrapyd by simply calling `scrapyd` but I wanna run it using > service. I appreciate a help with this. Thanks. > > -- > You received this message because you are subscribed to the Google Groups > "scrapy-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/scrapy-users. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "scrapy-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/scrapy-users. For more options, visit https://groups.google.com/d/optout.
