On 12/04/09, Vincent van Ravesteijn <v.f.vanraveste...@tudelft.nl> wrote: >Stefano Franchi schreef: >> On 12/04/09, rgheck <rgh...@bobjweil.com> wrote: >>> On 12/03/2009 06:35 PM, Stefano Franchi wrote: >>>> I wanted to test the continuous spelling facilities in trunk, but LyX >>>> crashes when trying to locate the dictionaries. From the console: >>>> >>>> Error: Hunspell Path Not Found >>>> ---------------------------------------- >>>> You must set the Hunspell dictionary path in Tools>Preferences>Paths. >>>> QPixmap::operator=: Cannot assign to pixmap during painting >>>> QPainter::begin: A paint device can only be painted by one painter at a >>>> time. >>>> >>>> >>>> Then, after I close the Lyx dialogue warning me about the missing file, >>>> Lyx crashes. However, the dictionaries are correctly installed, and the >>>> link from hunspell names to standard language names is there. The path >>>> is correctly set in Tools>Preferences>Paths. >>>> >>>> Is this a known bug? I did not find anything similar in the tracker, but >>>> I'm far from proficient in using it and I may certainly have missed >>>> something. >>> >>> I don't see a problem if I have the path set, and set correctly, though >>> I do see this crash if it's not set correctly. >> >> Problem solved. I had entered the path manually and added a trailing slash >> to indicate a directory: >> >> /usr/share/myspell/dicts/ >> >> whereas when I chose the same directory through the browse button I got: >> >> /usr/share/myspell/dicts >> >> With the latter option hunspell worked as advertised. :-) >> >> >> I would suggest trimming off the trailing slash in code, disabling manual >> input, or printing a more informative error message when the dictionary >> file is not found. > >I fixed this at r32357. Can you confirm that it is now fixed for you ? > >(I can't reproduce the problem on windows). > >Vincent >
Hi Vincent, with the latest revision 32375, the problem has disappeared: a pathname with a trailing slash no longer causes the problem. Thanks, S. ______________________________________________________________ Stefano Franchi Department of Philosophy Ph: (979) 862-2211 Texas A&M University Fax: (979) 845-0458 305B Bolton Hall fran...@philosophy.tamu.edu College Station, TX 77843-4237