{"action":"created","issue":{"url":"https://api.github.com/repos/scrapy/scrapy/issues/2402","repository_url":"https://api.github.com/repos/scrapy/scrapy","labels_url":"https://api.github.com/repos/scrapy/scrapy/issues/2402/labels{/name}","comments_url":"https://api.github.com/repos/scrapy/scrapy/issues/2402/comments","events_url":"https://api.github.com/repos/scrapy/scrapy/issues/2402/events","html_url":"https://github.com/scrapy/scrapy/issues/2402","id":190943153,"number":2402,"title":"[twisted] CRITICAL: Unhandled error in Deferred","user":{"login":"Lampere1021","id":19544133,"avatar_url":"https://avatars.githubusercontent.com/u/19544133?v=3","gravatar_id":"","url":"https://api.github.com/users/Lampere1021","html_url":"https://github.com/Lampere1021","followers_url":"https://api.github.com/users/Lampere1021/followers","following_url":"https://api.github.com/users/Lampere1021/following{/other_user}","gists_url":"https://api.github.com/users/Lampere1021/gists{/gist_id}","starred_url":"https://api.github.com/users/Lampere1021/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lampere1021/subscriptions","organizations_url":"https://api.github.com/users/Lampere1021/orgs","repos_url":"https://api.github.com/users/Lampere1021/repos","events_url":"https://api.github.com/users/Lampere1021/events{/privacy}","received_events_url":"https://api.github.com/users/Lampere1021/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-11-22T09:09:19Z","updated_at":"2016-11-22T09:45:24Z","closed_at":null,"body":"```\r\n[root@VM_50_138_centos tutorial]#  scrapy crawl dmoz\r\n2016-11-22 17:08:19 [scrapy] INFO: Scrapy 1.2.1 started (bot: tutorial)\r\n2016-11-22 17:08:19 [scrapy] INFO: Overridden settings: {'NEWSPIDER_MODULE': 'tutorial.spiders', 'SPIDER_MODULES': ['tutorial.spiders'], 'ROBOTSTXT_OBEY': True, 'BOT_NAME': 'tutorial'}\r\n2016-11-22 17:08:19 [scrapy] INFO: Enabled extensions:\r\n['scrapy.extensions.logstats.LogStats',\r\n 'scrapy.extensions.telnet.TelnetConsole',\r\n 'scrapy.extensions.corestats.CoreStats']\r\n2016-11-22 17:08:19 [scrapy] INFO: Enabled downloader middlewares:\r\n['scrapy.downloadermiddlewares.robotstxt.RobotsTxtMiddleware',\r\n 'scrapy.downloadermiddlewares.httpauth.HttpAuthMiddleware',\r\n 'scrapy.downloadermiddlewares.downloadtimeout.DownloadTimeoutMiddleware',\r\n 'scrapy.downloadermiddlewares.defaultheaders.DefaultHeadersMiddleware',\r\n 'scrapy.downloadermiddlewares.useragent.UserAgentMiddleware',\r\n 'scrapy.downloadermiddlewares.retry.RetryMiddleware',\r\n 'scrapy.downloadermiddlewares.redirect.MetaRefreshMiddleware',\r\n 'scrapy.downloadermiddlewares.httpcompression.HttpCompressionMiddleware',\r\n 'scrapy.downloadermiddlewares.redirect.RedirectMiddleware',\r\n 'scrapy.downloadermiddlewares.cookies.CookiesMiddleware',\r\n 'scrapy.downloadermiddlewares.chunked.ChunkedTransferMiddleware',\r\n 'scrapy.downloadermiddlewares.stats.DownloaderStats']\r\n2016-11-22 17:08:19 [scrapy] INFO: Enabled spider middlewares:\r\n['scrapy.spidermiddlewares.httperror.HttpErrorMiddleware',\r\n 'scrapy.spidermiddlewares.offsite.OffsiteMiddleware',\r\n 'scrapy.spidermiddlewares.referer.RefererMiddleware',\r\n 'scrapy.spidermiddlewares.urllength.UrlLengthMiddleware',\r\n 'scrapy.spidermiddlewares.depth.DepthMiddleware']\r\n2016-11-22 17:08:19 [scrapy] INFO: Enabled item pipelines:\r\n[]\r\n2016-11-22 17:08:19 [scrapy] INFO: Spider opened\r\nUnhandled error in Deferred:\r\n2016-11-22 17:08:19 [twisted] CRITICAL: Unhandled error in Deferred:\r\n\r\n2016-11-22 17:08:19 [twisted] CRITICAL:\r\nTraceback (most recent call last):\r\n  File \"/usr/local/lib/python2.7/site-packages/Twisted-16.6.0rc1-py2.7-linux-x86_64.egg/twisted/internet/defer.py\", line 1299, in _inlineCallbacks\r\n    result = g.send(result)\r\n  File \"/usr/local/lib/python2.7/site-packages/Scrapy-1.2.1-py2.7.egg/scrapy/crawler.py\", line 90, in crawl\r\n    six.reraise(*exc_info)\r\n  File \"/usr/local/lib/python2.7/site-packages/Scrapy-1.2.1-py2.7.egg/scrapy/crawler.py\", line 74, in crawl\r\n    yield self.engine.open_spider(self.spider, start_requests)\r\nImportError: No module named _sqlite3\r\n```"},"comment":{"url":"https://api.github.com/repos/scrapy/scrapy/issues/comments/262193742","html_url":"https://github.com/scrapy/scrapy/issues/2402#issuecomment-262193742","issue_url":"https://api.github.com/repos/scrapy/scrapy/issues/2402","id":262193742,"user":{"login":"redapple","id":886296,"avatar_url":"https://avatars.githubusercontent.com/u/886296?v=3","gravatar_id":"","url":"https://api.github.com/users/redapple","html_url":"https://github.com/redapple","followers_url":"https://api.github.com/users/redapple/followers","following_url":"https://api.github.com/users/redapple/following{/other_user}","gists_url":"https://api.github.com/users/redapple/gists{/gist_id}","starred_url":"https://api.github.com/users/redapple/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redapple/subscriptions","organizations_url":"https://api.github.com/users/redapple/orgs","repos_url":"https://api.github.com/users/redapple/repos","events_url":"https://api.github.com/users/redapple/events{/privacy}","received_events_url":"https://api.github.com/users/redapple/received_events","type":"User","site_admin":false},"created_at":"2016-11-22T09:45:24Z","updated_at":"2016-11-22T09:45:24Z","body":"Also, can you try:\r\n\r\n```\r\n$ python\r\n>>> import sqlite\r\n```\r\nThis may be similar to https://stackoverflow.com/questions/11394013/problems-with-python-2-7-3-on-centos-with-sqlite3-module"}}
{"actor":{"display_login":"redapple"}}