question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Fatal error on first use of plugin: `Spell Checker`

See original GitHub issue

Hi, Thank you for your work on this launcher…with plugins and sort priority tweaks, it’s getting closer to Spotlight all the time!

Fatal error using plugin: Spell Checker!

I just installed plugin: Spell Checker, opened FlowLauncher,

  • typed in a word i would commonly misspell
    • don’t remember now what it was
      • went back to try again,
      • to test a another word, so I could include it here
  • opened FL, typed spell …and FL immediately closed
  • changed Action Word to sp,
    • same results
    • typed sp and FL died

Following instructions in error message, I have…:

Flow Launcher version: 1.9.3
OS Version: Microsoft Windows NT 10.0.19044.0
IntPtr Length: 8
x64: True

Python Path: 
Date: 07/20/2022 09:36:51
Exception:
System.IO.InvalidDataException: Spell Checker|Traceback (most recent call last):
  File "C:\Users\jimr\AppData\Roaming\FlowLauncher\Plugins\Spell Checker-0.0.5\run.py", line 9, in <module>
    from plugin.main import SpellChecker
  File "C:\Users\jimr\AppData\Roaming\FlowLauncher\Plugins\Spell Checker-0.0.5\plugin\main.py", line 6, in <module>
    from textblob import Word, TextBlob
  File "C:\Users\jimr\AppData\Roaming\FlowLauncher\Plugins\Spell Checker-0.0.5\lib\textblob\__init__.py", line 2, in <module>
    from .blob import TextBlob, Word, Sentence, Blobber, WordList
  File "C:\Users\jimr\AppData\Roaming\FlowLauncher\Plugins\Spell Checker-0.0.5\lib\textblob\blob.py", line 29, in <module>
    import nltk
  File "C:\Users\jimr\AppData\Roaming\FlowLauncher\Plugins\Spell Checker-0.0.5\lib\nltk\__init__.py", line 137, in <module>
    from nltk.text import *
  File "C:\Users\jimr\AppData\Roaming\FlowLauncher\Plugins\Spell Checker-0.0.5\lib\nltk\text.py", line 29, in <module>
    from nltk.tokenize import sent_tokenize
  File "C:\Users\jimr\AppData\Roaming\FlowLauncher\Plugins\Spell Checker-0.0.5\lib\nltk\tokenize\__init__.py", line 65, in <module>
    from nltk.tokenize.casual import TweetTokenizer, casual_tokenize
  File "C:\Users\jimr\AppData\Roaming\FlowLauncher\Plugins\Spell Checker-0.0.5\lib\nltk\tokenize\casual.py", line 49, in <module>
    import regex  # https://github.com/nltk/nltk/issues/2409
  File "C:\Users\jimr\AppData\Roaming\FlowLauncher\Plugins\Spell Checker-0.0.5\lib\regex\__init__.py", line 1, in <module>
    from .regex import *
  File "C:\Users\jimr\AppData\Roaming\FlowLauncher\Plugins\Spell Checker-0.0.5\lib\regex\regex.py", line 419, in <module>
    import regex._regex_core as _regex_core
  File "C:\Users\jimr\AppData\Roaming\FlowLauncher\Plugins\Spell Checker-0.0.5\lib\regex\_regex_core.py", line 20, in <module>
    import regex._regex as _regex
ModuleNotFoundError: No module named 'regex._regex'

   at Flow.Launcher.Core.Plugin.JsonRPCPlugin.ExecuteAsync(ProcessStartInfo startInfo, CancellationToken token) in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\JsonRPCPlugin.cs:line 287
   at Flow.Launcher.Core.Plugin.JsonRPCPlugin.ExecuteAsync(ProcessStartInfo startInfo, CancellationToken token) in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\JsonRPCPlugin.cs:line 301
   at Flow.Launcher.Core.Plugin.JsonRPCPlugin.QueryAsync(Query query, CancellationToken token) in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\JsonRPCPlugin.cs:line 321
   at Flow.Launcher.Core.Plugin.PluginManager.<>c__DisplayClass22_0.<<QueryForPluginAsync>b__0>d.MoveNext() in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\PluginManager.cs:line 192
--- End of stack trace from previous location ---
   at Flow.Launcher.Infrastructure.Stopwatch.DebugAsync(String message, Func`1 action) in C:\projects\flow-launcher\Flow.Launcher.Infrastructure\Stopwatch.cs:line 40
   at Flow.Launcher.Core.Plugin.PluginManager.QueryForPluginAsync(PluginPair pair, Query query, CancellationToken token) in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\PluginManager.cs:line 211
   at Flow.Launcher.ViewModel.MainViewModel.<>c__DisplayClass137_0.<<QueryResults>g__QueryTask|2>d.MoveNext() in C:\projects\flow-launcher\Flow.Launcher\ViewModel\MainViewModel.cs:line 623
--- End of stack trace from previous location ---
   at Flow.Launcher.ViewModel.MainViewModel.QueryResults() in C:\projects\flow-launcher\Flow.Launcher\ViewModel\MainViewModel.cs:line 624
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__140_0(Object state)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
'''

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
jimrandellcommented, Jul 22, 2022

Well color me embarrassed! (…or dyslexic, can’t really tell as I’m also color blind).

  • I’m using a pre-existing install of Python 3.10.3
    • installed on the root of C:\
    • is there more info I can provide on it?
  • I didn’t mean to be contrarian about it,
    • just trying to reduce the number of such installs.

I would be fine with using the Flow install of python, if that just makes it significantly easier to support… just let me know.

I’d like you know how much I appreciate the time you find to put into these efforts!

Cheers, -Me

0reactions
jjw24commented, Sep 19, 2022

Ok thank you.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Crash on disable spell check · Issue #4752 · notepad-plus ...
@donho So I have downloaded the latest 64-bit 1.4.6 version and manually replaced the dll in the "plugins" directory of Notepad++. Now the...
Read more >
How do I enable spell checking in Notepad++?
It seems the original default spell check was removed due to it occasionally causing crashes with Windows 10. The original spell check ......
Read more >
The Font Awesome plugin caught a fatal error.
The fatal error problem is almost certainly due to the state of plugin's settings stored in your WordPress database being in an inconsistent...
Read more >
Word 365 crashes every time Spell Check is open and Find ...
This is a repeatable error, and occurs every time. Open Word document; Start Spell Check; Find a word or phrase which needs replacing ......
Read more >
PHP Fatal Error when trying to use Plugin - Magento Forums
Hello,. I'm trying to develop my first Magento 2 Plugin inside my module. When trying to compile the code on CLI I get...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found