On 12/10/12 01:03, Shahin Azad wrote:
> Hi, Thank you for your answer.
> > I'm not sure I understand. What does your program do with pwl once it
> > has been created? If you can send through the entire program or a
> > representative example then I may be of more help.
> I attached the python source "spell.py".
> I used an example from the internet as editor.
> > Or are you saying hat its existing contents were overwritten? This
> > would be a pretty serious bug in pyenchant.
> Yes. I exactly mean it.
Yikes! What version of pyenchant are you using, on what platform, and
how did you install it? I recall a bug like this in earlier versions
but I think it was fixed.
Can you please try a small experiment to isolate this behaviour?
* Create a text file named "test.pwl" containing just the
* Enter an interactive python shell and do nothing else but:
d = enchant.request_pwl_dict("test.pwl")
* If it printed "False", then print out the enchant version info
and send it through with your reply to help me debug:
* Check whether the "test.pwl" file has been overwritten.
I will try out your example script on my machine and report back.