pymongo.errors.OperationFailure: command SON([('count', u'feedarticles'),
('fields', {'_id': 0, 'summary': 1, 'link': 1, 'title': 1}), ('query',
{'$and': [{'published_parsed': {'$gte': '2014-08-15'}},
{'skip': False}, {'title': {'$ne': ''}}]})])
failed: 10320 BSONElement: bad type 67
一年多以来,我一直在用同样的代码来抓取RSS提要并将其拉入mongodb(唯一的例外是添加新的提要),现在突然间我得到了一个“BSONElement:badtype67”,必须对数据库进行修复来修复它。我仍然可以继续将数据保存到mongodb中,但是我不能查询它,至少使用python/pymongo。在
我怎么能弄清楚是什么突然造成的呢。在
很明显我的硬盘空间不够了,这次修复释放了空间,让我可以继续。我仍然有一些损坏的数据,即使修复也无法修复。在
相关问题 更多 >
编程相关推荐