idle-python2.7 Can't Open Existing File (

Bug #1242991 reported by Jh
This bug report is a duplicate of:  Bug #1245143: Idle does not open .py files. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python2.7 (Ubuntu)
New
Undecided
Unassigned

Bug Description

Hi,

  Kubuntu 13.4, KDE Platform Version 4.11.2...
   Installed idle-python2.7 via MuonPackage Manager.

After downloading the package for IDLE (python2.7) I found I could not open any existing files from "<TOOLBAR>->File->Open". This would only result in a blank (grayish) screen that would freeze and stay open after closing IDLE.

After running the source in "/usr/lib/python2.7/idlelib/idle.py", I discover the problem is on line 129 on file "/usr/lib/python2.7/idlelib/IOBinding.py". There seems to be a variable declared incorrectly.

-- for line in lst: #This line causing exception
++for line in str: #Changin line to this fixed the problem.

I hope this helps.

Regards,

sifter

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.