[Idle-dev] [ idlefork-Bugs-486003 ] idlefork erase source file...

noreply@sourceforge.net noreply@sourceforge.net
Sun, 19 May 2002 19:47:50 -0700


Bugs item #486003, was opened at 2001-11-28 01:29
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=109579&aid=486003&group_id=9579

Category: None
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 7
Submitted By: Jayce Piel (jayce)
Assigned to: Nobody/Anonymous (nobody)
Summary: idlefork erase source file...

Initial Comment:
Some times, but It's not deterministic, idlefork can't
save my file.. In this case, it trie to save it but
save only an empty file...
To not lose modifications, I need to copy/paste content
in another editor and relaunching idlefork...


----------------------------------------------------------------------

>Comment By: Stephen M. Gava (elguavas)
Date: 2002-05-20 12:47

Message:
Logged In: YES 
user_id=75867

Fixed in python idle; and fixed in idlefork as part of
ongoing process of tracking python idle bug fixes.

----------------------------------------------------------------------

Comment By: Jayce Piel (jayce)
Date: 2001-11-28 02:22

Message:
Logged In: YES 
user_id=5496

I identify the source of the problem.
It occurs the first time a file is saved after a accentued
char is typed in the file (é or è for example).
Then, in the console, I have this :
Exception in Tkinter callback
Traceback (most recent call last):
  File
"/local/edf-python-2.1.1/lib/python2.1/lib-tk/Tkinter.py",
line 1285, in __call__
    return apply(self.func, args)
  File "IOBinding.py", line 150, in save
    if self.writefile(self.filename):
  File "IOBinding.py", line 176, in writefile
    f.write(chars)
UnicodeError: ASCII encoding error: ordinal not in range(128)



----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=109579&aid=486003&group_id=9579