Package: aspell
Version: 0.60.4-4
Severity: minor

After some debugging and reading the source, I finally was able to
figure out why building my dictionary failed.  The problem is that
aspell will abort without any explanation when the soundslike value in
the .dat file is bad.  Please change aspell to give a useful error
message instead of aborting without any message.

This information should be enough to reproduce the abort:

  % cat nb.dat
  name    norwegian bokmål
  charset iso8859-1
  run-together true
  special ' -** - -** . -**
  soundslike nb
  % echo foo |  aspell --local-data-dir=`pwd` --lang=nb create master ./nb.rws
  Aborted
  %

Changing name to 'nb' instead of 'norwegian bokmål' change the error,
and one will get an error message like this:

  Error: The file "/home/user/src/nb_phonet.dat" can not be opened for
  reading

This is expected when the file nb_phonet.dat is missing.  The problem
I want to report in this message is the 'Aborted' message, failing to
explain what the problem is.

Happy hacking,
-- 
Petter Reinholdtsen



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to