Opened 12 years ago

Closed 12 years ago

#32724 closed defect (fixed)

py31-nosexcover, py32-nosexcover: NameError: name 'file' is not defined

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: singingwolfboy@…
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc:
Port: py31-nosexcover, py32-nosexcover

Description

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

Change History (2)

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Port: py32-nosexcover added
Summary: py31-nosexcover: NameError: name 'file' is not definedpy31-nosexcover, py32-nosexcover: NameError: name 'file' is not defined

comment:2 Changed 12 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.