MongoDB 2.4.10:bSoneElement:错误类型67

2024-09-27 09:33:26 发布

您现在位置:Python中文网/ 问答频道 /正文

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。在

我怎么能弄清楚是什么突然造成的呢。在


Tags: idfieldstitlemongodbcountlinksummaryquery

热门问题