#1 plugin won't install

v1.0 (example)
closed
nobody
5
2010-07-12
2010-07-12
Anonymous
No

Hi, I have notepad++ 5.7 UNICODE installed, along with aspell and the aspell english pack. The included spellchecker works (once updated with the proper path) just fine. I moved the squiggly dll into the plugins directory and restarted and I get an error as follows.

\"The Program can\'t start because aspell-15.dll is missing from your computer. Try reinstalling the program to fix this problem.\" I click OK.
\"Load library is failed. Make \'Runtime Library\' setting of this project as \'Multithreaded/MT\" may cure this problem. This plugin is not compatible with the current version of Notepad++\"

Any ideas?

Discussion

  • Karim Sharif

    Karim Sharif - 2010-07-12

    Aspell / bin needs to be in your PATH variable. On my box (64bit) this path is:

    C:\Program Files (x86)\Aspell\bin

    You can test by typing echo %PATH% in a cmd.exe window. If you don't see the full path, Notepad++ won't load the library. It's very important to use the "installed" bin directory, and not just copy the aspell-15.dll since squiggly uses the directory structure to analyze your installed language packs.

    Also note, it's important to install the latest version of Aspell.

     
  • Eric

    Eric - 2010-07-12

    Thanks for responding so quickly. Maybe I am misunderstanding. In Notepad++, in the spellchecker plugin, I have listed the ASPELL dll path as C:\Program Files (x86)\Aspell and the spellchecker program works fine. I installed the squiggly dll into the plugin folder as directed, but still get the error. Am I misunderstanding what you mean by %PATH% Variable?

    Additionally when I type echo %PATH% into a cmd window I get this response:
    C:\Program Files (x86)\Aspell\bin>echo %PATH%
    C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\

    What am I missing?

     
  • Karim Sharif

    Karim Sharif - 2010-07-12

    The echo shows that C:\Program Files (x86)\Aspell\bin is NOT in your PATH variable, you need to include it for the plug-in to work.

    The solution is to add it to the system path manually:
    - Right click on "computer" in the windows menu; choose properties
    - Click on "Change Settings" at the bottom right of the pop up window
    - Click on the new dialog's "advanced" tab
    - At the bottom, there is an "Environment Variables..." button, click it.
    - In the second section (System Variables) scroll down until you see "Path"; select it.
    - Click the "Edit..." button
    - On the end of the text line add: ;C:\Program Files (x86)\Aspell\bin
    - Two things to note here; 1) the path above is for the 32 bit install on a 64 bit OS, it could be something different on your box.... look first. and 2) you must not delete the other items in the list!
    - Click the OK button - Restart notepad++, spell check should work fine.

     
  • Eric

    Eric - 2010-07-12

    Oh, I see. OK, I really didn't understand what editing the path variable meant. Now that I've done that it works fabulously. Is that something you're working to remove for the next version? it seems problematic to have people editing a variable like that. Again, great plugin. thanks for giving me exactly what I needed for notepad even if it was a little tough to get working.

     
  • Karim Sharif

    Karim Sharif - 2010-07-12

    Glad it worked out for you. Note that this plug-in is still in alpha, and a clean / easy install isn't the focus of the project at the moment. Rather, stability and bug tracking is really the key.

    I'm sure in the future, an "easy" install is probably the way to go, which could include not only the plugin, but aspell as well, or maybe even integration into the plug-in manager, so that you don't need to install anything separately.

    For now though, I'm still gauging how much time to invest in the plug-in. This will be based on how many users are really interested in more than whats already there.

     
  • Karim Sharif

    Karim Sharif - 2010-07-12
    • status: open --> closed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks