#14 add error diagnostic section to manual

None
closed
None
2
3 hours ago
2002-12-18
Ralf Hauser
No

I am trying to get 0.50-3-2 working with win32 emacs21.2.1.

I run into various errors and a list of error messages
and hints on
i) what could have gone wrong or ii) how to diagnose
further would be very helpful! Examples (depending on
what I put into my ~/.emacs):

1) <<Error: You must specify a parameter for
--data-dir>> is given with
'(ispell-extra-args (quote ("--conf-dir=" "c:/aspell"
"--dict-dir=" "c:/aspell/dict" "--data-dir="
"c:/aspell/data")))
'(ispell-program-name "aspell")

2) <<Error: No word lists can be found for the language
"en_US".
>> when the extra args are changed to:
'(ispell-extra-args (quote ("--conf-dir=" "c:/aspell"
"--dict-dir=\"c:\\aspell\\dict\""
"--data-dir=\"c:/aspell/data\"")))
same if it is
'(ispell-extra-args (quote ("--prefix=\"c:\\aspell\""
"--dict-dir=\"c:\\aspell\\dict\""
"--data-dir=\"c:\\aspell\\data\"")))

3) <<Continuing spelling check using default
dictionary...>>
is displayed when no ispell-extra-args are defined and
then, emacs hangs

4) <<LINES value must be >= 2 and <= 14112: got 1
initscr(): LINES=1 COLS=1: too small.>> occurs when I
start a shell inside emace and type
"aspell -c g.m4"

Any hints on what to do with those would be greatly
appreciated.

Discussion

  • Kevin Atkinson

    Kevin Atkinson - 2002-12-18
    • labels: 444569 -->
    • priority: 5 --> 2
    • assigned_to: kevina --> nobody
     
  • Kevin Atkinson

    Kevin Atkinson - 2002-12-18
    • assigned_to: nobody --> kevina
     
  • Thorsten Maerz

    Thorsten Maerz - 2002-12-18

    Logged In: YES
    user_id=208045

    1) - 3) It seems as if the parameter names and values must
    not be passed separately. Try sth. like :
    '(ispell-extra-args (quote ("--conf-dir=c:/aspell"
    "--dict-dir=c:/aspell/dict" "--data-dir=c:/aspell/data")))
    '(ispell-program-name "aspell")
    4) The Aspell binary has curses support compiled in, which
    might cause problems if the shell doesn't pass usable
    valuees for the screen size. I've uploaded binaries without
    curses support to
    http://aspell.sourceforge.net/win32/files/testing/aspell-0-50-3-win32-nocurses.zip
    Does this version run better in emacs?

     
  • Ralf Hauser

    Ralf Hauser - 2002-12-18

    Logged In: YES
    user_id=266141

    Re 1) - 3) Your suggested version of the ispell-extra-args
    unfortunately just lead to a new variant of the error message:

    <<Starting new Ispell process...
    ispell-init-process: Error: You must specify a parameter for
    --dict-dir>>

    When I take the ispell-extra-args out of the ~/.emacs and
    put them into the wrapper batch file that calls the
    non-curses exe, I get error 3)

    Re 4) I installed the no-curses and it appears that the
    prefix can only hold paths of lenght 45 and the rest gets
    truncated - therefore, I get error 2)
    When I provide the extra-args on the emacs shell command
    line, it works.

    Conclusion: Spell-Checking a buffer inside emacs still
    doesn't work. ;)

     
  • Thorsten Maerz

    Thorsten Maerz - 2002-12-18

    Logged In: YES
    user_id=208045

    This version also contains an automatic install dir
    detection, the binaries are meant to be put in a ".\bin"
    subdirecory, parallel to ".\data" or ".\dicts" - so you
    should not need those parameters.

     
  • Ralf Hauser

    Ralf Hauser - 2002-12-19

    Logged In: YES
    user_id=266141

    OK, I installed it into the c:\aspell\bin and again didn't
    add any extra arguments. Still, I get error 3.

    Also, with the no-curses path management something is wrong
    (my first diagnosis of truncating after 45 chars is probably
    wrong), but it appears to default to
    # conf-dir current: C:/aspell/bin_n/
    and
    # data-dir current: C:/aspell/bin_n/data
    but all except the bin probably should be the same?

     
  • Kevin Atkinson

    Kevin Atkinson - 3 hours ago
    • status: open --> closed
    • Group: -->
     
  • Kevin Atkinson

    Kevin Atkinson - 3 hours ago

    Aspell 0.50 on windows is no longer really supported. Sorry.

     

Log in to post a comment.

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

Sign up for the SourceForge newsletter:





No, thanks