Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#40801 closed defect (fixed)

py27-spyder 2.25 crashes because of utf-8 encoding

Reported by: watsodw Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.0
Keywords: Cc: eborisch (Eric A. Borisch)
Port: py27-spyder

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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.

Change History (3)

comment:1 Changed 11 years ago by eborisch (Eric A. Borisch)

D'oh! Fixed in r112316.

comment:2 Changed 11 years ago by eborisch (Eric A. Borisch)

Resolution: fixed
Status: newclosed

comment:3 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Note: See TracTickets for help on using tickets.