[Idle-dev] [ idlefork-Bugs-689543 ] File/Save As
SourceForge.net
noreply@sourceforge.net
Wed, 19 Feb 2003 11:39:15 -0800
Bugs item #689543, was opened at 2003-02-19 11:39
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=109579&aid=689543&group_id=9579
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: File/Save As
Initial Comment:
I installed Python 2.3a1. I start IDLE by 'python idle.py' and the shell
window is open in the background. When I want to save an idle session I do
not get a file. In the shell window I get this error message:
-------------------------------------------------------
Exception in Tkinter callback
Traceback (most recent call last):
File "/usr/local/lib/python2.3/lib-tk/Tkinter.py", line 1306, in __call__
return apply(self.func, args)
File "/usr/local/lib/python2.3/site-packages/idlelib/IOBinding.py", line
273, in save
self.save_as(event)
File "/usr/local/lib/python2.3/site-packages/idlelib/IOBinding.py", line
282, in save_as
filename = self.asksavefile()
File "/usr/local/lib/python2.3/site-packages/idlelib/IOBinding.py", line
441, in asksavefile
return self.savedialog.show(initialdir=dir, initialfile=base)
File "/usr/local/lib/python2.3/lib-tk/tkCommonDialog.py", line 54, in show
s = self._fixresult(w, s)
File "/usr/local/lib/python2.3/lib-tk/tkFileDialog.py", line 58, in
_fixresult
path, file = os.path.split(result)
File "/usr/local/lib/python2.3/posixpath.py", line 65, in split
i = p.rfind('/') + 1
AttributeError: '_tkinter.Tcl_Obj' object has no attribute 'rfind'
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=109579&aid=689543&group_id=9579