[MacPorts] #40801: py27-spyder 2.25 crashes because of utf-8 encoding

MacPorts noreply at macports.org
Sun Oct 20 16:49:04 PDT 2013


#40801: py27-spyder 2.25 crashes because of utf-8 encoding
-------------------------------+--------------------------------
  Reporter:  david.w.watson@…  |      Owner:  macports-tickets@…
      Type:  defect            |     Status:  closed
  Priority:  Normal            |  Milestone:
 Component:  ports             |    Version:  2.2.0
Resolution:  fixed             |   Keywords:
      Port:  py27-spyder       |
-------------------------------+--------------------------------
Description changed by ryandesign@…:

Old description:

> This is the error:
>
> dwwatson - /opt/macports/bin - 12 -->spyder-2.7
> Traceback (most recent call last):
>   File "/opt/macports/bin/spyder-2.7", line 2, in <module>
>     from spyderlib import start_app
>   File
> "/opt/macports/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
> /site-packages/spyderlib/start_app.py", line 11, in <module>
>     if os.environ['LANG'] == 'UTF-8':
>   File
> "/opt/macports/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/UserDict.py",
> line 23, in __getitem__
>     raise KeyError(key)
> KeyError: 'LANG'
>
> I thought the latest patch fixed this.

New description:

 This is the error:

 {{{
 dwwatson - /opt/macports/bin - 12 -->spyder-2.7
 Traceback (most recent call last):
   File "/opt/macports/bin/spyder-2.7", line 2, in <module>
     from spyderlib import start_app
   File
 "/opt/macports/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/spyderlib/start_app.py", line 11, in <module>
     if os.environ['LANG'] == 'UTF-8':
   File
 "/opt/macports/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/UserDict.py",
 line 23, in __getitem__
     raise KeyError(key)
 KeyError: 'LANG'
 }}}

 I thought the latest patch fixed this.

--

-- 
Ticket URL: <https://trac.macports.org/ticket/40801#comment:3>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list