X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: "Josh Berdine" Subject: Re: locale issue? cygwin 1.7, aspell 0.60, reproducible crash Date: Thu, 10 Sep 2009 23:45:41 +0100 Lines: 45 Message-ID: References: <786EBDA1AC46254B813E200779E7AD3640E917 AT srv1163ex1 DOT flightsafety DOT com> Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit In-Reply-To: <786EBDA1AC46254B813E200779E7AD3640E917@srv1163ex1.flightsafety.com> X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com "Thrall, Bryan" wrote in message > 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: >> >> $ aspell check foo.txt >> .cset" could not be opened for reading or does not > exist.lib/aspell-0.60/ >> Aborted (core dumped) >> >> while from within emacs: >> >> 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. >> >> (the line breaks appear as ^M control characters in emacs). >> >> 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. >> >> FWIW, just executing 'aspell --help' works as expected. >> >> Does this ring any bells? > > Looks like foo.txt has Windows line endings; try running 'd2u foo.txt' > and then aspell again. Thanks, but after changing to unix line endings I see the same behavior. Same for checking the empty file. Also, /usr/lib/aspell-0.60/ is actually populated with what seem to be the correct files, and I have reinstalled the aspell package. Cheers, Josh -- 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