#807320 TypeError: currentType is null

Package:
gnome-documents
Source:
gnome-documents
Description:
Document manager for GNOME
Submitter:
Ritesh Raj Sarraf
Date:
2022-07-16 18:10:03 UTC
Severity:
important
Tags:
#807320#5
Date:
2015-12-07 11:19:57 UTC
From:
To:
I get the following error when running GNOME Books. I am not sure if it
is a warning or an error. Gjs tags it as a warning but JS treats it as
an error with an exception.

I am filing it here, for now. If I get a fix, I'll post on this bug.

Dec 07 16:42:40 learner org.gnome.Books[9989]: (org.gnome.Books:16272): Gjs-WARNING **: JS ERROR: TypeError: currentType is null
Dec 07 16:42:40 learner org.gnome.Books[9989]: QueryBuilder<._buildWhere/<@resource:///org/gnome/Books/js/query.js:106
Dec 07 16:42:40 learner org.gnome.Books[9989]: QueryBuilder<._buildWhere@resource:///org/gnome/Books/js/query.js:105
Dec 07 16:42:40 learner org.gnome.Books[9989]: wrapper@resource:///org/gnome/gjs/modules/lang.js:178
Dec 07 16:42:40 learner org.gnome.Books[9989]: QueryBuilder<.buildCountQuery@resource:///org/gnome/Books/js/query.js:177
Dec 07 16:42:40 learner org.gnome.Books[9989]: wrapper@resource:///org/gnome/gjs/modules/lang.js:178
Dec 07 16:42:40 learner org.gnome.Books[9989]: OffsetDocumentsController<.getQuery@resource:///org/gnome/Books/js/search.js:710
Dec 07 16:42:40 learner org.gnome.Books[9989]: wrapper@resource:///org/gnome/gjs/modules/lang.js:178
Dec 07 16:42:40 learner org.gnome.Books[9989]: OffsetController<.resetItemCount@resource:///org/gnome/Books/js/search.js:626
Dec 07 16:42:40 learner org.gnome.Books[9989]: wrapper@resource:///org/gnome/gjs/modules/lang.js:178
Dec 07 16:42:40 learner org.gnome.Books[9989]: @resource:///org/gnome/Books/js/view.js:230
Dec 07 16:42:40 learner org.gnome.Books[9989]: main@resource:///org/gnome/Books/js/main.js:48
Dec 07 16:42:40 learner org.gnome.Books[9989]: run@resource:///org/gnome/gjs/modules/package.js:192
Dec 07 16:42:40 learner org.gnome.Books[9989]: @/usr/bin/gnome-books:6

#807320#10
Date:
2016-10-15 15:23:32 UTC
From:
To:
Control: tags -1 + moreinfo
...

Are you still having this issue?  It's working for me and the upstream bug
report https://bugzilla.gnome.org/745741 has been closed as unreproducible.

#807320#17
Date:
2016-10-15 18:35:41 UTC
From:
To:
can't really verify it.

In previous version (3.18) where I reported it, it was able to render epub
format. Now (3.22), it doesn't really render anything at all. Just blank pages.


If you have further interest in Books, you may look at my other bug report [1],
for some additional context.

But, for the sole symptom of this bug report, yes, it is no more reproducible
with 3.22.


[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=807319

PS: As mentioned in the referenced bug report, it is odd that GNOME Docs renders
   pdf and other documents well, whereas Books does not.

#807320#22
Date:
2016-10-16 04:04:06 UTC
From:
To:
It's strange that epub doesn't work for you.  I tried an epub file from
http://www.gutenberg.org/ebooks/375 and it worked, though zooming is not
implemented which makes it much less useful.

#807320#27
Date:
2022-07-16 18:07:25 UTC
From:
To:
Dear submitter,

as the package gnome-documents has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/1010319

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Thorsten Alteholz (the ftpmaster behind the curtain)