[Bug 1245143] Re: Idle does not open .py files

Bug Watch Updater 1245143 at bugs.launchpad.net
Mon Nov 4 00:24:09 UTC 2013


** Changed in: python-defaults (Debian)
       Status: Unknown => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python2.7 in Ubuntu.
https://bugs.launchpad.net/bugs/1245143

Title:
  Idle does not open .py files

Status in “python-defaults” package in Ubuntu:
  Triaged
Status in “python2.7” package in Ubuntu:
  New
Status in “python-defaults” package in Debian:
  Confirmed

Bug description:
  e.g. running "idle test2.py" results in:

  Traceback (most recent call last):
    File "/usr/bin/idle", line 5, in <module>
      main()
    File "/usr/lib/python2.7/idlelib/PyShell.py", line 1536, in main
      if flist.open(filename) is None:
    File "/usr/lib/python2.7/idlelib/FileList.py", line 36, in open
      return self.EditorWindow(self, filename, key)
    File "/usr/lib/python2.7/idlelib/PyShell.py", line 131, in __init__
      EditorWindow.__init__(self, *args)
    File "/usr/lib/python2.7/idlelib/EditorWindow.py", line 323, in __init__
      io.loadfile(filename)
    File "/usr/lib/python2.7/idlelib/IOBinding.py", line 258, in loadfile
      chars = self.decode(chars)
    File "/usr/lib/python2.7/idlelib/IOBinding.py", line 296, in decode
      enc = coding_spec(chars)
    File "/usr/lib/python2.7/idlelib/IOBinding.py", line 129, in coding_spec
      for line in lst:
  NameError: global name 'lst' is not defined

  ProblemType: Bug
  DistroRelease: Ubuntu 13.10
  Package: idle 2.7.5-5ubuntu1
  ProcVersionSignature: Ubuntu 3.11.0-12.19-generic 3.11.3
  Uname: Linux 3.11.0-12-generic x86_64
  ApportVersion: 2.12.5-0ubuntu2.1
  Architecture: amd64
  Date: Sun Oct 27 11:28:28 2013
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2013-10-02 (24 days ago)
  InstallationMedia: Xubuntu 13.10 "Saucy Salamander" - Beta amd64 (20130925.1)
  MarkForUpload: True
  PackageArchitecture: all
  SourcePackage: python-defaults
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-defaults/+bug/1245143/+subscriptions



More information about the foundations-bugs mailing list