Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unhandled exception when running the AppImage #1163

Closed
probonopd opened this issue Dec 9, 2019 · 5 comments
Closed

Unhandled exception when running the AppImage #1163

probonopd opened this issue Dec 9, 2019 · 5 comments

Comments

@probonopd
Copy link

Getting an unhandled exception:

[22:22:52.905] [error] Error: ENOENT: no such file or directory, open '/home/travis/.config/Whalebird/db/unread_notification.db'

[Error: ENOENT: no such file or directory, open '/home/travis/.config/Whalebird/cache/hashtag.db'] {

  errno: -2,

  code: 'ENOENT',

  syscall: 'open',

  path: '/home/travis/.config/Whalebird/cache/hashtag.db'

}

[22:22:52.969] [error] Error: empty

    at new n (/run/firejail/appimage/.appimage-9127/resources/app.asar/dist/electron/main.js:1:25757)

    at /run/firejail/appimage/.appimage-9127/resources/app.asar/dist/electron/main.js:1:21401

    at newArguments.<computed> (/run/firejail/appimage/.appimage-9127/resources/app.asar/node_modules/nedb/lib/executor.js:29:17)

    at Cursor.execFn (/run/firejail/appimage/.appimage-9127/resources/app.asar/node_modules/nedb/lib/datastore.js:484:12)

    at callback (/run/firejail/appimage/.appimage-9127/resources/app.asar/node_modules/nedb/lib/cursor.js:126:19)

    at /run/firejail/appimage/.appimage-9127/resources/app.asar/node_modules/nedb/lib/cursor.js:193:12

    at /run/firejail/appimage/.appimage-9127/resources/app.asar/node_modules/nedb/lib/datastore.js:329:14

    at Object.async.eachSeries (/run/firejail/appimage/.appimage-9127/resources/app.asar/node_modules/nedb/node_modules/async/lib/async.js:130:20)

    at /run/firejail/appimage/.appimage-9127/resources/app.asar/node_modules/nedb/lib/datastore.js:323:11

    at fn (/run/firejail/appimage/.appimage-9127/resources/app.asar/node_modules/nedb/node_modules/async/lib/async.js:582:34)

[22:22:53.197] [info] System proxy configuration: DIRECT

(whalebird:5): libappindicator-WARNING **: Unable to get the session bus: Unknown or unsupported transport 'disabled' for address 'disabled:'

(whalebird:5): LIBDBUSMENU-GLIB-WARNING **: Unable to get session bus: Unknown or unsupported transport 'disabled' for address 'disabled:'

(node:5) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'source' of undefined

    at e.<anonymous> (/run/firejail/appimage/.appimage-9127/resources/app.asar/dist/electron/main.js:1:40721)

    at r (/run/firejail/appimage/.appimage-9127/resources/app.asar/dist/electron/main.js:1:39648)

    at Object.next (/run/firejail/appimage/.appimage-9127/resources/app.asar/dist/electron/main.js:1:38952)

    at s (/run/firejail/appimage/.appimage-9127/resources/app.asar/dist/electron/main.js:1:38717)

(node:5) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'source' of undefined

    at e.<anonymous> (/run/firejail/appimage/.appimage-9127/resources/app.asar/dist/electron/main.js:1:40721)

    at r (/run/firejail/appimage/.appimage-9127/resources/app.asar/dist/electron/main.js:1:39648)

    at Object.next (/run/firejail/appimage/.appimage-9127/resources/app.asar/dist/electron/main.js:1:38952)

    at s (/run/firejail/appimage/.appimage-9127/resources/app.asar/dist/electron/main.js:1:38717)

(node:5) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)

(node:5) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)

(node:5) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

(node:5) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

[22:22:54.306] [error] Error: empty

    at new n (/run/firejail/appimage/.appimage-9127/resources/app.asar/dist/electron/main.js:1:25757)

    at /run/firejail/appimage/.appimage-9127/resources/app.asar/dist/electron/main.js:1:21401

    at newArguments.<computed> (/run/firejail/appimage/.appimage-9127/resources/app.asar/node_modules/nedb/lib/executor.js:29:17)

    at Cursor.execFn (/run/firejail/appimage/.appimage-9127/resources/app.asar/node_modules/nedb/lib/datastore.js:484:12)

    at callback (/run/firejail/appimage/.appimage-9127/resources/app.asar/node_modules/nedb/lib/cursor.js:126:19)

    at /run/firejail/appimage/.appimage-9127/resources/app.asar/node_modules/nedb/lib/cursor.js:193:12

    at /run/firejail/appimage/.appimage-9127/resources/app.asar/node_modules/nedb/lib/datastore.js:329:14

    at Object.async.eachSeries (/run/firejail/appimage/.appimage-9127/resources/app.asar/node_modules/nedb/node_modules/async/lib/async.js:130:20)

    at /run/firejail/appimage/.appimage-9127/resources/app.asar/node_modules/nedb/lib/datastore.js:323:11

    at fn (/run/firejail/appimage/.appimage-9127/resources/app.asar/node_modules/nedb/node_modules/async/lib/async.js:582:34)

What does this mean?

Reference:
AppImage/appimage.github.io#1844

Full test log:
https://api.travis-ci.org/v3/job/622913644/log.txt

Test script:
https://github.com/AppImage/appimage.github.io/blob/master/code/worker.sh

@h3poteto
Copy link
Owner

cache/hashtag.db is for cache, so it is not required for operation.
db/unread_notification.db is setting file, but if does not exist, the default values are used. So don't mind these files.

I will investigate only for UnhandledPromiseRejection.

@h3poteto h3poteto added the ToDo label Dec 10, 2019
h3poteto added a commit that referenced this issue Dec 10, 2019
h3poteto added a commit that referenced this issue Dec 11, 2019
refs #1163 Use default preference if the file does not exist when get proxy configuration
@h3poteto
Copy link
Owner

I fixed it.

@probonopd Could you try again?

@probonopd
Copy link
Author

Happy to re-run the automated test once a new AppImage is available for download, but I still only see 3.0.0 available for download as an AppImage?

@h3poteto
Copy link
Owner

h3poteto commented Dec 21, 2019

That's good.
I'm sorry I haven't released next version yet, and the fix will be included in the next release. So please wait a little more.

@h3poteto
Copy link
Owner

I released v3.0.1, please use it.
https://github.com/h3poteto/whalebird-desktop/releases/tag/3.0.1

probonopd added a commit to AppImage/appimage.github.io that referenced this issue Jan 18, 2020
probonopd added a commit to AppImage/appimage.github.io that referenced this issue Jan 18, 2020
* Create Whalebird

https://github.com/h3poteto/whalebird-desktop

* Update Whalebird

h3poteto/whalebird-desktop#1163 (comment)

* Add automatically parsed data (8996)
[ci skip]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants