gpt4 book ai didi

meteor - 在 Meteor 中使用 `filter-collection` 对字段进行排序时出现 MongoError

转载 作者:行者123 更新时间:2023-12-02 04:50:18 24 4
gpt4 key购买 nike

我正在使用 filter-collections by workpop @DoctorPangloss ,使用配置的默认排序可以很好地呈现表格。然后我尝试实现 sortable table headers ,但是在单击表格标题时出现以下错误。

I20150329-10:08:13.439(-7)? Got exception while polling query: MongoError: QueryFailure flag set on getmore command
I20150329-10:08:14.004(-7)? Got exception while polling query: MongoError: QueryFailure flag set on getmore command
I20150329-10:08:14.555(-7)? Got exception while polling query: MongoError: QueryFailure flag set on getmore command
I20150329-10:08:15.130(-7)? Got exception while polling query: MongoError: QueryFailure flag set on getmore command
I20150329-10:08:15.706(-7)? Got exception while polling query: MongoError: QueryFailure flag set on getmore command
I20150329-10:08:16.304(-7)? Got exception while polling query: MongoError: QueryFailure flag set on getmore command
I20150329-10:08:16.877(-7)? Got exception while polling query: MongoError: QueryFailure flag set on getmore command
I20150329-10:08:17.430(-7)? Got exception while polling query: MongoError: QueryFailure flag set on getmore command
I20150329-10:08:18.007(-7)? Got exception while polling query: MongoError: QueryFailure flag set on getmore command
^Cfish: Job 1, 'meteor' terminated by signal SIGINT (Quit request from job control (^C))

<th> 的模板被正确呈现为类似 <th class="fc-sort" data-fc-sort="date"> date </th> 的内容.

我正在处理的集合并不大,只有 3000 个条目。并将要排序的字段在mongodb中建立索引。

不确定是不是包冲突导致的。我在 Meteor 中使用的当前包:

accounts-password                    1.1.0  Password support for accounts
doctorpangloss:filter-collections 0.2.6 Filter, paging and sort for Meteor collections with hooks and Iron Router support.
fezvrasta:bootstrap-material-design 0.3.0 FezVrasta's Bootstrap theme implementing Google's Material (Paper) Design
insecure 1.0.3 Allow all database writes by default
iron:router 1.0.7 Routing specifically designed for Meteor
less 1.0.13 The dynamic stylesheet language
meteor-platform 1.2.2 Include a standard set of Meteor packages in your app
meteorhacks:aggregate 1.2.1 Proper MongoDB aggregations support for Meteor
npvn:accounts-ui-bootstrap-3 1.1.13 accounts-ui re-styled to play well with Material Design.
tmeasday:publish-counts 0.3.4 Publish the count of a cursor, in real time
u2622:persistent-session 0.3.1 Persistently store Session data on the client

最佳答案

我能够通过删除位于项目内 .meteor/local/db 文件夹中的文件 mongod.lock 来解决这个问题。

关于meteor - 在 Meteor 中使用 `filter-collection` 对字段进行排序时出现 MongoError,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29332409/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com