astroidmail / astroid

A graphical threads-with-tags style, lightweight and fast, e-mail client for Notmuch
http://astroidmail.github.io
Other
613 stars 65 forks source link

Messages do not display on macOS #650

Open serverhiccups opened 5 years ago

serverhiccups commented 5 years ago

Hi, Whenever opening a message on macOS (by pressing enter) the message doesn't display. Instead, I see this:

Here is an excerpt from the logs at and after the time of opening the message:

[14:35:07] [0x00000001121695c0] [M] [info] db: open db read-only, waiting for lock..
[14:35:07] [0x00000001121695c0] [M] [debug] db: read-only got lock.
[14:35:07] [0x00000001121695c0] [M] [debug] db: open time: 0.346 ms.
[14:35:07] [0x00000001121695c0] [M] [info] db: closing db.
[14:35:07] [0x00000001121695c0] [M] [debug] db: ro: waiting for lock to close..
[14:35:07] [0x00000001121695c0] [M] [debug] db: ro: closing..
[14:35:25] [0x00000001121695c0] [M] [debug] mw: set active: 0, current: 0
[14:35:25] [0x00000001121695c0] [M] [debug] mw: focus-in: 1 active: true, in_quit: false
[14:35:27] [0x00000001121695c0] [M] [debug] ti: open thread: 0000000000002987 (true)
[14:35:27] [0x00000001121695c0] [M] [debug] theme: loading..
[14:35:27] [0x00000001121695c0] [M] [info] re: using local resource: /Users/redacted/src/astroid/build/ui/thread-view.html
[14:35:27] [0x00000001121695c0] [M] [debug] tv: testing version: 5
[14:35:27] [0x00000001121695c0] [M] [info] re: using local resource: /Users/redacted/src/astroid/build/ui/thread-view.scss
[14:35:27] [0x00000001121695c0] [M] [debug] tv: testing version: 5
[14:35:27] [0x00000001121695c0] [M] [info] re: using local resource: /Users/redacted/src/astroid/build/ui/part.scss
[14:35:27] [0x00000001121695c0] [M] [debug] tv: testing version: 5
[14:35:27] [0x00000001121695c0] [M] [info] theme: processing: ui/thread-view.scss
[14:35:27] [0x00000001121695c0] [M] [info] theme: processing: ui/part.scss
[14:35:27] [0x00000001121695c0] [M] [warning] pc: DEBUG build. no local extension found. adding installed path.
[14:35:27] [0x00000001121695c0] [M] [info] pc: adding /usr/local/lib/astroid/web-extensions to web extension search path.
[14:35:27] [0x00000001121695c0] [M] [warning] pc: id: 1
[14:35:27] [0x00000001121695c0] [M] [debug] pc: socket: /tmp/astroid.92390.1.o81kdgd3wlbw5l3brs9oc8nljxses0
[14:35:27] [0x00000001121695c0] [M] [info] render: loading html..
[14:35:27] [0x00000001121695c0] [M] [debug] mw: set active: 1, current: 0
[14:35:27] [0x00000001121695c0] [M] [info] tv: load thread: 0000000000002987
[14:35:27] [0x00000001121695c0] [M] [info] db: open db read-only, waiting for lock..
[14:35:27] [0x00000001121695c0] [M] [debug] db: read-only got lock.
[14:35:27] [0x00000001121695c0] [M] [debug] db: open time: 2.017 ms.
[14:35:27] [0x00000001121695c0] [M] [info] msg: loading mid: CAJrmjAP5S0JpY_RnrjU5b_ceb-KV0CB_Qt2VsBMyB2D9QhBY6w@mail.gmail.com
[14:35:27] [0x00000001121695c0] [M] [info] msg: filename: /Users/redacted/mail-store/uppsala/INBOX/cur/1565593635_1.47238.svart-neko,U=12089,FMD5=7e33429f656f1e6e9d79b29c3f82c57e:2,S
[14:35:27] [0x00000001121695c0] [M] [debug] chunk (0): content-type: multipart/alternative
[14:35:27] [0x00000001121695c0] [M] [debug] chunk: multi part
[14:35:27] [0x00000001121695c0] [M] [debug] chunk: alternative: true
[14:35:27] [0x00000001121695c0] [M] [debug] chunk (1): content-type: text/plain
[14:35:27] [0x00000001121695c0] [M] [debug] chunk: preferred.
[14:35:27] [0x00000001121695c0] [M] [debug] chunk: is part (viewable: true, attachment: false)
[14:35:27] [0x00000001121695c0] [M] [debug] chunk (2): content-type: text/html
[14:35:27] [0x00000001121695c0] [M] [debug] chunk: is part (viewable: true, attachment: false)
[14:35:27] [0x00000001121695c0] [M] [debug] chunk: multipart: added sibling
[14:35:27] [0x00000001121695c0] [M] [debug] chunk: multipart: preferred.
[14:35:27] [0x00000001121695c0] [M] [debug] chunk: multipart: added sibling
[14:35:27] [0x00000001121695c0] [M] [debug] chunk: multi part end
[14:35:27] [0x00000001121695c0] [M] [info] db: closing db.
[14:35:27] [0x00000001121695c0] [M] [debug] db: ro: waiting for lock to close..
[14:35:27] [0x00000001121695c0] [M] [debug] db: ro: closing..
[14:35:27] [0x00000001121695c0] [M] [debug] tv: decide policy
[14:35:27] [0x00000001121695c0] [M] [debug] tv: on_load_changed: 0
[14:35:27] [0x00000001121695c0] [M] [debug] tv: on_load_changed: 2
[14:35:27] [0x00000001121695c0] [M] [debug] tv: decide policy
[14:35:27] [0x00000001121695c0] [M] [debug] tv: on_load_changed: 3
[14:35:27] [0x00000001121695c0] [M] [debug] tv: load finished.

In order to get it to launch it have applied the patch in #649. I am running macOS 10.14.6 with webkitgtk 2.22.7 from brew. Please let me now if you need more information.

gauteh commented 5 years ago

It seems like the web extension is not started. You should see log lines with the [E] tag.

tor. 15. aug. 2019, 05:14 skrev serverhiccups notifications@github.com:

Hi, Whenever opening a message on macOS (by pressing enter) the message doesn't display. Instead, I see this:

https://camo.githubusercontent.com/a8f40efe2995e96fc7cb3c43c31cef4dcf1a01f0/687474703a2f2f752e6375626575706c6f61642e636f6d2f68696363757030312f53637265656e53686f74323031393038313561742e706e67 Here is an excerpt from the logs at and after the time of opening the message:

[14:35:07] [0x00000001121695c0] [M] [info] db: open db read-only, waiting for lock.. [14:35:07] [0x00000001121695c0] [M] [debug] db: read-only got lock. [14:35:07] [0x00000001121695c0] [M] [debug] db: open time: 0.346 ms. [14:35:07] [0x00000001121695c0] [M] [info] db: closing db. [14:35:07] [0x00000001121695c0] [M] [debug] db: ro: waiting for lock to close.. [14:35:07] [0x00000001121695c0] [M] [debug] db: ro: closing.. [14:35:25] [0x00000001121695c0] [M] [debug] mw: set active: 0, current: 0 [14:35:25] [0x00000001121695c0] [M] [debug] mw: focus-in: 1 active: true, in_quit: false [14:35:27] [0x00000001121695c0] [M] [debug] ti: open thread: 0000000000002987 (true) [14:35:27] [0x00000001121695c0] [M] [debug] theme: loading.. [14:35:27] [0x00000001121695c0] [M] [info] re: using local resource: /Users/redacted/src/astroid/build/ui/thread-view.html [14:35:27] [0x00000001121695c0] [M] [debug] tv: testing version: 5 [14:35:27] [0x00000001121695c0] [M] [info] re: using local resource: /Users/redacted/src/astroid/build/ui/thread-view.scss [14:35:27] [0x00000001121695c0] [M] [debug] tv: testing version: 5 [14:35:27] [0x00000001121695c0] [M] [info] re: using local resource: /Users/redacted/src/astroid/build/ui/part.scss [14:35:27] [0x00000001121695c0] [M] [debug] tv: testing version: 5 [14:35:27] [0x00000001121695c0] [M] [info] theme: processing: ui/thread-view.scss [14:35:27] [0x00000001121695c0] [M] [info] theme: processing: ui/part.scss [14:35:27] [0x00000001121695c0] [M] [warning] pc: DEBUG build. no local extension found. adding installed path. [14:35:27] [0x00000001121695c0] [M] [info] pc: adding /usr/local/lib/astroid/web-extensions to web extension search path. [14:35:27] [0x00000001121695c0] [M] [warning] pc: id: 1 [14:35:27] [0x00000001121695c0] [M] [debug] pc: socket: /tmp/astroid.92390.1.o81kdgd3wlbw5l3brs9oc8nljxses0 [14:35:27] [0x00000001121695c0] [M] [info] render: loading html.. [14:35:27] [0x00000001121695c0] [M] [debug] mw: set active: 1, current: 0 [14:35:27] [0x00000001121695c0] [M] [info] tv: load thread: 0000000000002987 [14:35:27] [0x00000001121695c0] [M] [info] db: open db read-only, waiting for lock.. [14:35:27] [0x00000001121695c0] [M] [debug] db: read-only got lock. [14:35:27] [0x00000001121695c0] [M] [debug] db: open time: 2.017 ms. [14:35:27] [0x00000001121695c0] [M] [info] msg: loading mid: CAJrmjAP5S0JpY_RnrjU5b_ceb-KV0CB_Qt2VsBMyB2D9QhBY6w@mail.gmail.com [14:35:27] [0x00000001121695c0] [M] [info] msg: filename: /Users/redacted/mail-store/uppsala/INBOX/cur/1565593635_1.47238.svart-neko,U=12089,FMD5=7e33429f656f1e6e9d79b29c3f82c57e:2,S [14:35:27] [0x00000001121695c0] [M] [debug] chunk (0): content-type: multipart/alternative [14:35:27] [0x00000001121695c0] [M] [debug] chunk: multi part [14:35:27] [0x00000001121695c0] [M] [debug] chunk: alternative: true [14:35:27] [0x00000001121695c0] [M] [debug] chunk (1): content-type: text/plain [14:35:27] [0x00000001121695c0] [M] [debug] chunk: preferred. [14:35:27] [0x00000001121695c0] [M] [debug] chunk: is part (viewable: true, attachment: false) [14:35:27] [0x00000001121695c0] [M] [debug] chunk (2): content-type: text/html [14:35:27] [0x00000001121695c0] [M] [debug] chunk: is part (viewable: true, attachment: false) [14:35:27] [0x00000001121695c0] [M] [debug] chunk: multipart: added sibling [14:35:27] [0x00000001121695c0] [M] [debug] chunk: multipart: preferred. [14:35:27] [0x00000001121695c0] [M] [debug] chunk: multipart: added sibling [14:35:27] [0x00000001121695c0] [M] [debug] chunk: multi part end [14:35:27] [0x00000001121695c0] [M] [info] db: closing db. [14:35:27] [0x00000001121695c0] [M] [debug] db: ro: waiting for lock to close.. [14:35:27] [0x00000001121695c0] [M] [debug] db: ro: closing.. [14:35:27] [0x00000001121695c0] [M] [debug] tv: decide policy [14:35:27] [0x00000001121695c0] [M] [debug] tv: on_load_changed: 0 [14:35:27] [0x00000001121695c0] [M] [debug] tv: on_load_changed: 2 [14:35:27] [0x00000001121695c0] [M] [debug] tv: decide policy [14:35:27] [0x00000001121695c0] [M] [debug] tv: on_load_changed: 3 [14:35:27] [0x00000001121695c0] [M] [debug] tv: load finished.

In order to get it to launch it have applied the patch in #649 https://github.com/astroidmail/astroid/pull/649. I am running macOS 10.14.6 with webkitgtk 2.22.7 from brew. Please let me now if you need more information.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/astroidmail/astroid/issues/650?email_source=notifications&email_token=AAAN362NPZHJQXTEMAHD3JLQETCXTA5CNFSM4IL2WHC2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HFLDHWQ, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAN362B26RG5D44YUCO6ODQETCXTANCNFSM4IL2WHCQ .

serverhiccups commented 5 years ago

I have compiled again with the DEBUG but those log lines never come up. I am seeing the log lines by running astroid on the command line. Do you think that it might be something to do with IPC on mac not working properly?

gauteh commented 5 years ago

You should see some log messages as soon as the extension is loaded (I think), even before it connects with the main process and tries any ipc.

tor. 15. aug. 2019, 22:14 skrev serverhiccups notifications@github.com:

I have compiled again with the DEBUG but those log lines never come up. Do you think that it might be something to do with IPC on mac not working properly?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/astroidmail/astroid/issues/650?email_source=notifications&email_token=AAAN366OC6JO2H6N7KIVTC3QEW2KBA5CNFSM4IL2WHC2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4M36DY#issuecomment-521781007, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAN36ZFHJQJWYK55DQEG7LQEW2KBANCNFSM4IL2WHCQ .

serverhiccups commented 5 years ago

Might the web extension log somewhere else? Also, Isn't tv in the log that I provided part of the web extension?

gauteh commented 5 years ago

It could end up in the syslog depending on your config. The tv part is the main process setup of the webview which loads the page and tells webkit where to find webextensions, then a separate webprocess runs the extension. Thats why tv has an [M] tag.

l1gi commented 5 years ago

I got the same behavior when my LANG environment variable was not set to the same value as the rest of LC_ variables on FreeBSD.