johnfactotum / foliate

Read e-books in style
https://johnfactotum.github.io/foliate/
GNU General Public License v3.0
6.37k stars 292 forks source link

Stack trace error thrown. Gjs-WARNING **: 03:12:44.385: Unhandled promise rejection. #1026

Closed shirishag75 closed 1 year ago

shirishag75 commented 1 year ago

Gjs-WARNING : 03:12:44.385: Unhandled promise rejection.**

Got the following -

$ foliate 100\ Books\ that\ Changed\ the\ Worlds.epub 

(com.github.johnfactotum.Foliate:1282537): Gjs-WARNING **: 03:12:44.385: Unhandled promise rejection. To suppress this warning, add an error handler to your promise chain with .catch() or a try-catch block around your await expression. Stack trace of the failed promise:
  main@resource:///com/github/johnfactotum/Foliate/js/main.js:478:24
  run@resource:///org/gnome/gjs/modules/script/package.js:206:19
  @/usr/bin/foliate:9:17

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior Basically the above should not be seen.

Screenshots If applicable, add screenshots to help explain your problem.

Version:

Additional context Add any other context about the problem here.

zjuyk commented 1 year ago

Same error, here is my system info.

johnfactotum commented 1 year ago

Duplicate of #691, I think.