jmccrae / wordnet-angular

Princeton WordNet Interface based on Angular.js and Rust
Apache License 2.0
12 stars 2 forks source link

Searching by ID doesn't work and results in error #26

Open rayza opened 1 week ago

rayza commented 1 week ago

If you select ID from the dropdown and paste a valid synset ID it results in the following error message (on Firefox, similarly on Edge) and won't show any results:

Error: [ngRepeat:dupes] Duplicates in a repeater are not allowed. Use 'track by' expression to specify unique keys. Repeater: result in ctrl.results, Duplicate key: string: , Duplicate value:
http://errors.angularjs.org/1.5.6/ngRepeat/dupes?p0=result%20in%20ctrl.results&p1=string%3A%20&p2=%20 minErr/<@https://en-word.net/static/angular.js:68:12 ngRepeatAction@https://en-word.net/static/angular.js:29107:21 $watchCollectionAction@https://en-word.net/static/angular.js:17079:21 $digest@https://en-word.net/static/angular.js:17220:25 $apply@https://en-word.net/static/angular.js:17486:24 done@https://en-word.net/static/angular.js:11637:47 completeRequest@https://en-word.net/static/angular.js:11843:15 requestLoaded@https://en-word.net/static/angular.js:11776:24 EventHandlerNonNullcreateHttpBackend/<@https://en-word.net/static/angular.js:11759:7 sendReq@https://en-word.net/static/angular.js:11582:21 serverRequest@https://en-word.net/static/angular.js:11292:16 processQueue@https://en-word.net/static/angular.js:16104:28 qFactory/scheduleProcessQueue/<@https://en-word.net/static/angular.js:16120:39 $eval@https://en-word.net/static/angular.js:17378:28 $digest@https://en-word.net/static/angular.js:17191:31 $apply@https://en-word.net/static/angular.js:17486:24 NgModelController</this.$$debounceViewValueCommit@https://en-word.net/static/angular.js:27066:14 NgModelController</this.$setViewValue@https://en-word.net/static/angular.js:27038:12 listener@https://en-word.net/static/angular.js:23280:12 defaultHandlerWrapper@https://en-word.net/static/angular.js:3487:11 eventHandler@https://en-word.net/static/angular.js:3475:23 EventListener.handleEventaddEventListenerFn@https://en-word.net/static/angular.js:2786:15 addHandler@https://en-word.net/static/angular.js:3537:29 jqLiteOn@https://en-word.net/static/angular.js:3550:19 JQLite.prototype[name]@https://en-word.net/static/angular.js:3718:17 baseInputType@https://en-word.net/static/angular.js:23287:13 textInputType@https://en-word.net/static/angular.js:23235:16 pre@https://en-word.net/static/angular.js:23841:62 bind/<@https://en-word.net/static/angular.js:1266:18 invokeLinkFn@https://en-word.net/static/angular.js:9757:15 nodeLinkFn@https://en-word.net/static/angular.js:9135:23 compositeLinkFn@https://en-word.net/static/angular.js:8459:23 compositeLinkFn@https://en-word.net/static/angular.js:8462:24 compositeLinkFn@https://en-word.net/static/angular.js:8462:24 compositeLinkFn@https://en-word.net/static/angular.js:8462:24 compositeLinkFn@https://en-word.net/static/angular.js:8462:24 nodeLinkFn@https://en-word.net/static/angular.js:9151:24 compositeLinkFn@https://en-word.net/static/angular.js:8459:23 compositeLinkFn@https://en-word.net/static/angular.js:8462:24 nodeLinkFn@https://en-word.net/static/angular.js:9151:24 $CompileProvider/this.$get</compileTemplateUrl/<@https://en-word.net/static/angular.js:9496:36 processQueue@https://en-word.net/static/angular.js:16104:28 qFactory/scheduleProcessQueue/<@https://en-word.net/static/angular.js:16120:39 $eval@https://en-word.net/static/angular.js:17378:28 $digest@https://en-word.net/static/angular.js:17191:31 $apply@https://en-word.net/static/angular.js:17486:24 done@https://en-word.net/static/angular.js:11637:47 completeRequest@https://en-word.net/static/angular.js:11843:15 requestLoaded@https://en-word.net/static/angular.js:11776:24 EventHandlerNonNullcreateHttpBackend/<@https://en-word.net/static/angular.js:11759:7 sendReq@https://en-word.net/static/angular.js:11582:21 serverRequest@https://en-word.net/static/angular.js:11292:16 processQueue@https://en-word.net/static/angular.js:16104:28 qFactory/scheduleProcessQueue/<@https://en-word.net/static/angular.js:16120:39 $eval@https://en-word.net/static/angular.js:17378:28 $digest@https://en-word.net/static/angular.js:17191:31 $apply@https://en-word.net/static/angular.js:17486:24 bootstrapApply@https://en-word.net/static/angular.js:1780:15 invoke@https://en-word.net/static/angular.js:4708:19 doBootstrap@https://en-word.net/static/angular.js:1778:14 bootstrap@https://en-word.net/static/angular.js:1798:12 angularInit@https://en-word.net/static/angular.js:1683:14 @https://en-word.net/static/angular.js:31018:16 trigger@https://en-word.net/static/angular.js:3197:7 defaultHandlerWrapper@https://en-word.net/static/angular.js:3487:11 eventHandler@https://en-word.net/static/angular.js:3475:23 EventListener.handleEventaddEventListenerFn@https://en-word.net/static/angular.js:2786:15 addHandler@https://en-word.net/static/angular.js:3537:29 jqLiteOn@https://en-word.net/static/angular.js:3550:19 JQLite.prototype[name]@https://en-word.net/static/angular.js:3718:17 ready@https://en-word.net/static/angular.js:3204:12 @https://en-word.net/static/angular.js:31017:27 @https://en-word.net/static/angular.js:31021:3 angular.js:13642:24

jmccrae commented 1 week ago

Thanks for the bug report.

This project will be archived soon as we are working on a new interface for https://en-word.net and the other two sites (as I can see from your PR) are not active any more.

As such, I am not planning on working on bug fixes for the current version.