Edward,

Thanks for this activity; unfortunately, it didn't resolve the problem.  I 
am still looking; after loading the latest update (which includes Rev 5572) 
at http://www.greygreen.org/leo/ and running it, I still get:

Traceback (most recent call last):

  File "c:\program files (x86)\leo-editor-latest\leo\core\leoEditCommands.py", 
line 11078, in __init__
    self.d = enchant.DictWithPWL(language,fn)

  File "c:\python33\lib\site-packages\enchant\__init__.py", line 735, in 
__init__
    self.pwl = self._broker.request_pwl_dict(pwl)

  File "c:\python33\lib\site-packages\enchant\__init__.py", line 280, in 
request_pwl_dict
    self._raise_error(eStr % (pwl,))

  File "c:\python33\lib\site-packages\enchant\__init__.py", line 219, in 
_raise_error
    raise eclass(err)

enchant.errors.Error: b"Couldn't open personal wordlist 'C:\\program files 
(x86)\\leo-editor-latest\\leo\\plugins\\spellpyx.txt'"

not a valid dictionary file C:\program files 
(x86)\leo-editor-latest\leo\plugins\spellpyx.txt

My next steps are to looking to the definition of a well-formed PWL for 
aspell and ispell; maybe that will give me a clue about why the pyenchant 
wrapper is throwing the error flag...

Regards, 

DvH



On Wednesday, January 16, 2013 1:15:47 PM UTC-8, Edward K. Ream wrote:
>
> On Tue, Jan 15, 2013 at 6:18 PM, Donald Hirst <[email protected]<javascript:>
> > wrote:
>
>> I checked my PyEnchant dictionary, it is the proper format, so something 
>> else is going off...  I'll continue to look for the problem.
>
>
> Rev 5572 now cleans spellpxy.txt (ensures Linux newlines) before trying to 
> open it.  This may not solve your particular problem, but I think it's a 
> good thing to do.
>
> Edward
>

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/leo-editor/-/TrhE6eIqUNkJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en.

Reply via email to