www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/09/10/18:34:30

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Subject: RE: locale issue? cygwin 1.7, aspell 0.60, reproducible crash
Date: Thu, 10 Sep 2009 17:34:16 -0500
Message-ID: <786EBDA1AC46254B813E200779E7AD3640E917@srv1163ex1.flightsafety.com>
In-Reply-To: <h8bs5m$52t$1@ger.gmane.org>
References: <h8bs5m$52t$1 AT ger DOT gmane DOT org>
From: "Thrall, Bryan" <bryan DOT thrall AT flightsafety DOT com>
To: <cygwin AT cygwin DOT com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Josh Berdine wrote on Thursday, September 10, 2009 4:48 PM:
> I'm running cygwin 1.7 on windows 7 and seeing aspell crash every time
I try
> to run it.  The message I get from the shell is:
>=20
> $ aspell check foo.txt
> .cset" could not be opened for reading or does not
exist.lib/aspell-0.60/
> Aborted (core dumped)
>=20
> while from within emacs:
>=20
> Starting new Ispell process [default] ...
> ispell-init-process:      50 [sig] aspell 4332 open_stackdumpfile:
Dumping
> stack trace to aspell.exe.stackdump
> Unhandled Error: The encoding "
> " is not known. This could also mean that the file
"/usr/lib/aspell-0.60/
> .cset" could not be opened for reading or does not exist.
>=20
> (the line breaks appear as ^M control characters in emacs).
>=20
> Given the message, I was suspicious that this is a locale issue, and
set the
> (previously unset) environment variables LANG, LC_CTYPE, and LC_ALL to
> en_US.UTF-8 (or en_US.ISO-8859-1) but that didn't make a noticeable
> difference.
>=20
> FWIW, just executing 'aspell --help' works as expected.
>=20
> Does this ring any bells?

Looks like foo.txt has Windows line endings; try running 'd2u foo.txt'
and then aspell again.

--=20
Bryan Thrall
FlightSafety International
bryan DOT thrall AT flightsafety DOT com

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019