After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 745741 - gnome-books fails to start
gnome-books fails to start
Status: RESOLVED OBSOLETE
Product: gnome-documents
Classification: Core
Component: books
3.15.x
Other Linux
: Normal normal
: ---
Assigned To: GNOME Books Maintainers
GNOME documents maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2015-03-06 13:06 UTC by Dominique Leuenberger
Modified: 2015-09-29 09:43 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Dominique Leuenberger 2015-03-06 13:06:04 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)
Comment 1 Bastien Nocera 2015-03-25 13:27:48 UTC
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...
Comment 2 Bastien Nocera 2015-03-25 13:50:49 UTC
Reassigning to new default assignee.
Comment 3 Dominique Leuenberger 2015-09-29 09:43:16 UTC
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)