[Pythonmac-SIG] ValueError: Empty module name

Thor Zayan thor.zayan at 9online.fr
Mon Jul 26 11:55:30 CEST 2004


I am running IDLE 1.0 with python 2.3 and Tk 8.4 on a Mac under Mac OS X 
10.3.4 french version and all was fun.

On another hand I installed LyX 1.3.4 and also it was fun.

But when added in my ~/.MacOSX/environment.plist a LANG property with 
value fr_FR to run it in french I noticed that IDLE don't works any 
more. It's Dock icon bounces a little and stops ginving me this alert on 
my console :

Traceback (most recent call last):
   File 
"/Applications/MacPython-2.3/IDLE.app/Contents/Resources/__argvemulator_idle", 
line 4, in ?
     execfile(os.path.join(os.path.split(__file__)[0], "idle"))
   File "/Applications/MacPython-2.3/IDLE.app/Contents/Resources/idle", 
line 4, in ?
     import idlelib.PyShell
   File 
"/Applications/MacPython-2.3/IDLE.app/Contents/Resources/idlelib/PyShell.py", 
line 22, in ?
     from EditorWindow import EditorWindow, fixwordbreaks
   File 
"/Applications/MacPython-2.3/IDLE.app/Contents/Resources/idlelib/EditorWindow.py", 
line 39, in ?
     class EditorWindow:
   File 
"/Applications/MacPython-2.3/IDLE.app/Contents/Resources/idlelib/EditorWindow.py", 
line 43, in EditorWindow
     from IOBinding import IOBinding
   File 
"/Applications/MacPython-2.3/IDLE.app/Contents/Resources/idlelib/IOBinding.py", 
line 54, in ?
     codecs.lookup(encoding)
   File 
"/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/encodings/__init__.py", 
line 84, in search_function
     globals(), locals(), _import_tail)
ValueError: Empty module name

Is there any solution to get IDLE and LyX (with french GUI) running at once?

Thanks


More information about the Pythonmac-SIG mailing list