New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #32724 (closed defect: fixed)

Opened 17 months ago

Last modified 10 months ago

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

Reported by: ryandesign@… 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

comment:1 Changed 17 months ago by ryandesign@…

  • Port changed from py31-nosexcover to py31-nosexcover, py32-nosexcover
  • Summary changed from py31-nosexcover: NameError: name 'file' is not defined to py31-nosexcover, py32-nosexcover: NameError: name 'file' is not defined

comment:2 Changed 10 months ago by jmr@…

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.