[issue3420] 2to3 fails to run on Mac OS X 10.4 PPC 3.0b2

2008-08-01 Thread Benjamin Peterson

Benjamin Peterson [EMAIL PROTECTED] added the comment:

This is a duplicate of #3131.

--
nosy: +benjamin.peterson
resolution:  - duplicate
status: open - closed

___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3420
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue3420] 2to3 fails to run on Mac OS X 10.4 PPC 3.0b2

2008-07-20 Thread Barry Alan Scott

New submission from Barry Alan Scott [EMAIL PROTECTED]:

$ sw_vers 
ProductName:Mac OS X
ProductVersion: 10.4.11
BuildVersion:   8S165
$ python3.0
Python 3.0b2 (r30b2:65080, Jul 20 2008, 08:46:13) 
[GCC 4.0.1 (Apple Computer, Inc. build 5341)] on darwin
Type help, copyright, credits or license for more information.
 

$ /Library/Frameworks/Python.framework//Versions/3.0/bin/2to3 a.py
Traceback (most recent call last):
  File /Library/Frameworks/Python.framework//Versions/3.0/bin/2to3,
line 5, in module
sys.exit(refactor.main(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 182, in get_fixers
fix_names = get_all_fix_names(self.fixer_dir)
  File
/Library/Frameworks/Python.framework/Versions/3.0/lib/python3.0/lib2to3/refactor.py,
line 95, in get_all_fix_names
names = os.listdir(fixer_dir)
OSError: [Errno 2] No such file or directory: 'lib2to3/fixes'

--
assignee: collinwinter
components: 2to3 (2.x to 3.0 conversion tool)
messages: 70065
nosy: barry-scott, collinwinter
severity: normal
status: open
title: 2to3 fails to run on Mac OS X 10.4 PPC 3.0b2
type: crash
versions: Python 3.0

___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3420
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue3420] 2to3 fails to run on Mac OS X 10.4 PPC 3.0b2

2008-07-20 Thread Barry Alan Scott

Barry Alan Scott [EMAIL PROTECTED] 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 [EMAIL PROTECTED]
http://bugs.python.org/issue3420
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com