opto / Expression-Search-NG

update of Thunderbird addon ExpressionSearch/Gmail UI for TB 78 and later
61 stars 8 forks source link

Stopped working a couple of weeks ago #48

Open quenton89 opened 2 years ago

quenton89 commented 2 years ago

Have been using this for over a year now, but a couple of weeks ago it just stopped working. I have it set so that if no pattern is typed, it reverts to the normal Thunderbird search.

Now you type and nothing happens. You hit return and still nothing happens. The Thunderbird From/To/Subject options don't pop up and no change happens in the list of messages shown.

I disable Expression-Search, restart TB and the TB search works. I Re-Enable it and restart TB, again nothing happens when I type, whether I just type a string or a pattern.

My TB version at this point is 102.2.2, and my Expression Search is 3.4.3

I removed the add-on and reloaded it, same. I uninstalled TB and re-installed (but did not clean up profiles or anything like that) - same result.

opto commented 2 years ago

which OS are you on?

opto commented 2 years ago

and is there anything red in error console? (shift-j)? please open it, delete all using trash icon, then use the search and after verify the error console, thanks.

opto commented 2 years ago

sorry, open by crtl-shift-j

quenton89 commented 2 years ago

Sorry -- I thought about that then did not say it!

Windows 10

Edition    Windows 10 Pro Version    21H1 Installed on    ‎2021-‎01-‎25 OS build    19043.1889 Experience    Windows Feature Experience Pack 120.2212.4180.0

On 2022-09-13 5:33 p.m., Klaus Buecher wrote:

which OS are you on?

— Reply to this email directly, view it on GitHub https://github.com/opto/Expression-Search-NG/issues/48#issuecomment-1245975417, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANBVYZ56OSUQHTOSEV7FKW3V6DXJBANCNFSM6AAAAAAQL2QEQA. You are receiving this because you authored the thread.Message ID: @.***>

-- signature Dennis Smith Email: @.*** Mobile: +1 416-571-6192 <tel:+1%20416%20571%206192> Home: +1 905-686-4374 <tel:+1%20905%20686%204374> Kenabeek: web site http://dsmithnotify.wix.com/kenabeekphotos  f https://www.facebook.com/quenton8

quenton89 commented 2 years ago

I know, CTRL+SHIFT+J

Did that.  Tried typing in the search     s:abc     abc Did not work, and the error console was completely empty.

When I click or type into the search, I DO get the popup tooltip, but nothing happens after that, and the normal TB items that usually show if you just type a word (Subject/From/To/...) never show either.

On 2022-09-13 5:34 p.m., Klaus Buecher wrote:

and is there anything red in error console? (shift-j)? please open it, delete all using trash icon, then use the search and after verify the error console, thanks.

— Reply to this email directly, view it on GitHub https://github.com/opto/Expression-Search-NG/issues/48#issuecomment-1245976629, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANBVYZ7Y5NC3LCE4MYZJ3GDV6DXPHANCNFSM6AAAAAAQL2QEQA. You are receiving this because you authored the thread.Message ID: @.***>

-- signature Dennis Smith Email: @.*** Mobile: +1 416-571-6192 <tel:+1%20416%20571%206192> Home: +1 905-686-4374 <tel:+1%20905%20686%204374> Kenabeek: web site http://dsmithnotify.wix.com/kenabeekphotos  f https://www.facebook.com/quenton8

quenton89 commented 2 years ago

I meant to include this screensnap along with the last reply ....

image

On 2022-09-13 5:34 p.m., Klaus Buecher wrote:

and is there anything red in error console? (shift-j)? please open it, delete all using trash icon, then use the search and after verify the error console, thanks.

— Reply to this email directly, view it on GitHub https://github.com/opto/Expression-Search-NG/issues/48#issuecomment-1245976629, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANBVYZ7Y5NC3LCE4MYZJ3GDV6DXPHANCNFSM6AAAAAAQL2QEQA. You are receiving this because you authored the thread.Message ID: @.***>

-- signature Dennis Smith Email: @.*** Mobile: +1 416-571-6192 <tel:+1%20416%20571%206192> Home: +1 905-686-4374 <tel:+1%20905%20686%204374> Kenabeek: web site http://dsmithnotify.wix.com/kenabeekphotos  f https://www.facebook.com/quenton8

quenton89 commented 2 years ago

As a further note on this, I started TB on a new profile, accounts, no addons, not "unusual" settings.

I added my own personal account, and added "Expression Search", latest version 3.4.3. Changed the options to show the search string on "Mail Toolbar", restarted TB.

Same thing, the search does nothing, and waiting a bit does not flip over to the TB search.

Disabling "Expression Search" and restarting TB again allows the TB search to work.

oleole39 commented 2 years ago

Hello, Just encountered a similar issue noticed when moving an existing profile to a new OS - Linux Mint 21 Cinnamon 64bits with TB 102.2.2 and ESNG 3.6.3.

Symptoms

The symptoms are basically that if I can see ESNG enabled in the plugin list:

Workaround

I can nevertheless make it work properly following that procedure:

  1. disable ESNG
  2. restart TB
  3. enable ESNG

However, if I restart TB again, it goes back to the problematic state, and I've got to repeat the procedure again to make it work. If I simply disable and re-enable ESNG without restarting TB in the middle, it wouldn't work.

Console logs (filtered with the keyword "expression") for the various cases:

1665681880610 addons.xpi WARN Exception running bootstrap method startup on expressionsearch@opto.one: TypeError: wind is null(jar:file:///{my TB profile path}/extensions/expressionsearch@opto.one.xpi!/api/ExpressionSearch/implementation.js:46:29) JS Stack trace: onStartup@jar:file:///{my TB profile path}/extensions/expressionsearch@implementation.js:46:29 onStartup/<@ExtensionCommon.jsm:1464:17 openWindowPrompt@Prompter.jsm:1226:17 openPrompt@Prompter.jsm:1067:12 openPromptSync@Prompter.jsm:1046:10 confirmEx@Prompter.jsm:1465:10 confirmEx@Prompter.jsm:305:14 onProfileStartup@OfflineStartup.jsm:94:36 observe@OfflineStartup.jsm:123:12

- Disabling ESNG

extension is undefined gmailuiParse.jsm:35

resource://expressionsearch/modules/gmailuiParse.jsm:35 resource://expressionsearch/modules/ExpressionSearchChrome.jsm:160 onShutdown jar:file:///{my TB profile path}/extensions/expressionsearch@opto.one.xpi!/api/ExpressionSearch/implementation.js:73 ExtensionAPI resource://gre/modules/ExtensionCommon.jsm:358 wrapper resource://gre/modules/ExtensionCommon.jsm:302 emit resource://gre/modules/ExtensionCommon.jsm:329 emit resource://gre/modules/Extension.jsm:2441 shutdown resource://gre/modules/Extension.jsm:3157 InterpretGeneratorResume self-hosted:1422 AsyncFunctionNext self-hosted:632 ``` - Enabling ESNG without restarting TB ``` WebExtensions: Expression Search / Google Mail UI startup... implementation.js:37 1665681880610 addons.xpi WARN Exception running bootstrap method startup on expressionsearch@opto.one: TypeError: wind is null(jar:file:///{my TB profile path}/extensions/expressionsearch@opto.one.xpi!/api/ExpressionSearch/implementation.js:46:29) JS Stack trace: onStartup@jar:file:///{my TB profile path}/extensions/expressionsearch@implementation.js:46:29 onStartup/<@ExtensionCommon.jsm:1464:17 openWindowPrompt@Prompter.jsm:1226:17 openPrompt@Prompter.jsm:1067:12 openPromptSync@Prompter.jsm:1046:10 confirmEx@Prompter.jsm:1465:10 confirmEx@Prompter.jsm:305:14 onProfileStartup@OfflineStartup.jsm:94:36 observe@OfflineStartup.jsm:123:12 Error: Bad expressionsearch@opto.one {my TB profile name}: moz-extension://16afebad-0c4e-49fd-9907-1034791098fe/_generated_background_page.html ConduitsParent.jsm:163:15 ``` - Enabling ESNG after disabling ESNG AND restarting TB (i.e. when ESNG will work) ``` WebExtensions: Expression Search / Google Mail UI startup... implementation.js:37 ```
quentinDupont commented 2 years ago

Same issue here in couple of computers Windows and Linux. In Ubuntu, I'm in version 102.3.3

In the console, here is some copy paste :

Error: Bad expressionsearch@opto.one principal: moz-extension://d3840eda-2124-4ce9-b5a0-8ff3c3e2e46e/_generated_background_page.html

[Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIStyleSheetService.sheetRegistered]"  nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)"  location: "JS frame :: jar:file:///home/quentin/snap/thunderbird/common/.thunderbird/qmg9aqqw.default/extensions/expressionsearch@opto.one.xpi!/api/ExpressionSearch/implementation.js :: onShutdown :: line 68"  data: no]
oleole39 commented 1 year ago

Hello @quentinDupont, Do you still encounter this issue ? Would you maybe have set Thunberbird in some way that a prompt box or alert box gets displayed at every launch ? You may want to have a look to this fix proposal #66 although your console log isn't the same thing than mine. Are these all the errors you have in the console (it seems to focus on shutdown, you may have something more after the mention of WebExtensions: Expression Search / Google Mail UI startup...)?

quentinDupont commented 1 year ago

Thanks for your answer ! I respond here https://github.com/opto/Expression-Search-NG/issues/66#issuecomment-1498818830