[issue3420] 2to3 fails to run on Mac OS X 10.4 PPC 3.0b2
Barry Alan Scott
report at bugs.python.org
Sun Jul 20 10:20:33 CEST 2008
Barry Alan Scott <barry-scott at users.sourceforge.net> added the comment:
Fixing 2to3 with the full path to the fixes folder gets this traceback:
$ ./2to3 /dev/null
Traceback (most recent call last):
File "./2to3", line 5, in <module>
sys.exit(refactor.main("/Library/Frameworks/Python.framework//Versions/3.0/lib/python3.0/lib2to3/fixes"))
File
"/Library/Frameworks/Python.framework/Versions/3.0/lib/python3.0/lib2to3/refactor.py",
line 81, in main
rt = RefactoringTool(fixer_dir, options)
File
"/Library/Frameworks/Python.framework/Versions/3.0/lib/python3.0/lib2to3/refactor.py",
line 160, in __init__
self.pre_order, self.post_order = self.get_fixers()
File
"/Library/Frameworks/Python.framework/Versions/3.0/lib/python3.0/lib2to3/refactor.py",
line 185, in get_fixers
mod = __import__(fixer_pkg + ".fix_" + fix_name, {}, {}, ["*"])
ValueError: Empty module name
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3420>
_______________________________________
More information about the Python-bugs-list
mailing list