desktop icon indicating copy to clipboard operation
desktop copied to clipboard

Extension error popup loop is inescapable

Open xsleonard opened this issue 5 years ago • 10 comments

OS: macOS Catalina 10.15.2

When activating the "Action Bar" extension, I received a popup error:

This extension is attempting to communicate with Standard Notes, but an error is preventing it from doing so. Please restart this extension and try again.

Every time this error is dismissed, the popup returns. The app does not respond to Quit in this state, and I must use force quit to recover.

After force-quit and reopening the application, the normal prompt to grant "Action Bar" permissions appears, and the application continues normally.

The original error may have been due to a race condition when installing and activating multiple extensions too quickly, but the bug is that the error popup can't be dismissed and it prevents quitting the application.

xsleonard avatar Jan 22 '20 03:01 xsleonard

Thanks for bringing this up 🙂 We're currently working on making the extensions manager more robust in that regard, though if I got what you're saying it means an extension that systematically crashes brings the whole app "down" in a sense. Although a case like that should be rare, it'd be better if it could never happen anyway.

arielsvg avatar Feb 25 '20 15:02 arielsvg

Hi @xsleonard, are you still experiencing the issue on v3.4.1?

arielsvg avatar May 14 '20 11:05 arielsvg

I'm also having this. it comes about randomly and I need to restart the app to break the loop.

3.6.8

chaserene avatar Apr 30 '21 06:04 chaserene

Hey @chaserene, have you seen this happen when you're using notes with the plain editor? If not then that could mean it's something editor-related. But if it also happens with the plain editor then there's a good change it's related to the Quick Tags, Action Bar, or Folders extensions - do you have any of these installed?

arielsvg avatar Apr 30 '21 11:04 arielsvg

@baptiste-grob I barely ever use the Plain editor, so hard to tell. I mostly use Markdown editors and when SN goes mad, it produces the error with all that I use.

chaserene avatar May 01 '21 00:05 chaserene

in case it's helpful, a duplicate of the issue here: https://github.com/standardnotes/forum/issues/1215

chaserene avatar May 01 '21 00:05 chaserene

@baptiste-grob this is still an issue. can you at least change the error message to give something useful to the user? I see no way to "restart" extensions. I can deactivate and then reactivate components, but not editors (which this issue may be related to).

chaserene avatar Jun 10 '21 21:06 chaserene

Hi @chaserene, thanks for the suggestion. I'll create a report for this for the dev team to review.

JaspalSuri avatar Jun 11 '21 09:06 JaspalSuri

I'm having the same issue with every extension I've installed. I run the StandardNotes Standalone stack and Web app self-hosted on my home server and installed all of the extensions through the web app. I'm only seeing this issue when I switch to desktop. Both the web and iOS apps work fine.

xthursdayx avatar Jul 27 '21 04:07 xthursdayx

Hi @xthursdayx, sorry to hear that. We have one other report of this but haven't been able to reproduce it yet (thus making it difficult to fix at the moment). I'll be sure to reach out to you if there's anything else that we can offer to potentially resolve this issue.

JaspalSuri avatar Jul 29 '21 06:07 JaspalSuri