GNOME Bugzilla – Bug 745741
gnome-books fails to start
Last modified: 2015-09-29 09:43:16 UTC
On my GNOME 3.15.91 test system, it is not possible to launch gnome-books (gnome-documents works) When started from a CLI, I get the trace: (gnome-books:24439): Gjs-WARNING **: JS ERROR: TypeError: currentType is null QueryBuilder<._buildWhere/<@/usr/share/gnome-documents/js/query.js:106 QueryBuilder<._buildWhere@/usr/share/gnome-documents/js/query.js:105 wrapper@resource:///org/gnome/gjs/modules/lang.js:169 QueryBuilder<._buildQueryInternal@/usr/share/gnome-documents/js/query.js:128 wrapper@resource:///org/gnome/gjs/modules/lang.js:169 QueryBuilder<.buildGlobalQuery@/usr/share/gnome-documents/js/query.js:172 wrapper@resource:///org/gnome/gjs/modules/lang.js:169 TrackerDocumentsController<.getQuery@/usr/share/gnome-documents/js/trackerController.js:331 wrapper@resource:///org/gnome/gjs/modules/lang.js:169 TrackerController<._performCurrentQuery@/usr/share/gnome-documents/js/trackerController.js:225 wrapper@resource:///org/gnome/gjs/modules/lang.js:169 TrackerController<._refreshInternal@/usr/share/gnome-documents/js/trackerController.js:247 wrapper@resource:///org/gnome/gjs/modules/lang.js:169 TrackerController<.start@/usr/share/gnome-documents/js/trackerController.js:279 wrapper@resource:///org/gnome/gjs/modules/lang.js:169 ViewContainer<._init@/usr/share/gnome-documents/js/view.js:427 wrapper@resource:///org/gnome/gjs/modules/lang.js:169 _Base.prototype._construct@resource:///org/gnome/gjs/modules/lang.js:110 Class.prototype._construct/newClass@resource:///org/gnome/gjs/modules/lang.js:204 Embed<._init@/usr/share/gnome-documents/js/embed.js:108 wrapper@resource:///org/gnome/gjs/modules/lang.js:169 _Base.prototype._construct@resource:///org/gnome/gjs/modules/lang.js:110 Class.prototype._construct/newClass@resource:///org/gnome/gjs/modules/lang.js:204 MainWindow<._init@/usr/share/gnome-documents/js/mainWindow.js:90 wrapper@resource:///org/gnome/gjs/modules/lang.js:169 _Base.prototype._construct@resource:///org/gnome/gjs/modules/lang.js:110 Class.prototype._construct/newClass@resource:///org/gnome/gjs/modules/lang.js:204 Application<._createWindow@/usr/share/gnome-documents/js/application.js:622 wrapper@resource:///org/gnome/gjs/modules/lang.js:169 Application<.vfunc_activate@/usr/share/gnome-documents/js/application.js:651 wrapper@resource:///org/gnome/gjs/modules/lang.js:169 start@/usr/share/gnome-documents/js/mainBooks.js:30 @<command line>:1 (at which point it 'hangs'; gjs-console task is still running)
in query.js, in the _buildWhere() function, could you add some "print()" statements to show the values of the flags, and after the big if statement, the value of searchTypes? Not sure how it can end up being null...
Reassigning to new default assignee.
I seem no longer able to reproduce this issue... so I close it (as nobody else chimed in, I guess other users didn't have the issue to start with)