#32724: py31-nosexcover: NameError: name 'file' is not defined -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: singingwolfboy@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: py31-nosexcover -------------------------------------+-------------------------------------- From the buildbot: {{{ ---> Building py31-nosexcover DEBUG: Executing proc-pre-org.macports.build-build-0 DEBUG: Executing org.macports.build (py31-nosexcover) DEBUG: Environment: CPATH='/opt/local/include' CFLAGS='-arch x86_64' CXXFLAGS='-arch x86_64' LIBRARY_PATH='/opt/local/lib' MACOSX_DEPLOYMENT_TARGET='10.6' CXX='/usr/bin/g++-4.2' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build /_Volumes_work_mports_dports_python_py- nosexcover/py31-nosexcover/work/.CC_PRINT_OPTIONS' F90FLAGS='-m64' LDFLAGS='-arch x86_64' FCFLAGS='-m64' OBJC='/usr/bin/gcc-4.2' OBJCFLAGS='-arch x86_64' FFLAGS='-m64' CC_PRINT_OPTIONS='YES' CC='/usr/bin/gcc-4.2' DEBUG: Assembled command: 'cd "/opt/local/var/macports/build /_Volumes_work_mports_dports_python_py- nosexcover/py31-nosexcover/work/nosexcover-1.0.7" && /opt/local/Library/Frameworks/Python.framework/Versions/3.1/bin/python3.1 setup.py --no-user-cfg build' DEBUG: Executing command line: cd "/opt/local/var/macports/build /_Volumes_work_mports_dports_python_py- nosexcover/py31-nosexcover/work/nosexcover-1.0.7" && /opt/local/Library/Frameworks/Python.framework/Versions/3.1/bin/python3.1 setup.py --no-user-cfg build Traceback (most recent call last): File "setup.py", line 4, in <module> desc = file.read(open('README.rst')) NameError: name 'file' is not defined During handling of the above exception, another exception occurred: Traceback (most recent call last): File "setup.py", line 5, in <module> except StandardError: NameError: name 'StandardError' is not defined }}} -- Ticket URL: <https://trac.macports.org/ticket/32724> MacPorts <http://www.macports.org/> Ports system for Mac OS