Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 595542 Details for
Bug 836811
[abrt] numpy-f2py-1.6.2-1.fc17: f2py2e.py:383:run_main:TypeError: All blocks must be python module blocks but got 'program'
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
File: backtrace
backtrace (text/plain), 9.86 KB, created by
Rob
on 2012-07-01 15:54:44 UTC
(
hide
)
Description:
File: backtrace
Filename:
MIME Type:
Creator:
Rob
Created:
2012-07-01 15:54:44 UTC
Size:
9.86 KB
patch
obsolete
>f2py2e.py:383:run_main:TypeError: All blocks must be python module blocks but got 'program' > >Traceback (most recent call last): > File "/usr/bin/f2py", line 24, in <module> > main() > File "/usr/lib64/python2.7/site-packages/numpy/f2py/f2py2e.py", line 588, in main > run_compile() > File "/usr/lib64/python2.7/site-packages/numpy/f2py/f2py2e.py", line 574, in run_compile > setup(ext_modules = [ext]) > File "/usr/lib64/python2.7/site-packages/numpy/distutils/core.py", line 186, in setup > return old_setup(**new_attr) > File "/usr/lib64/python2.7/distutils/core.py", line 152, in setup > dist.run_commands() > File "/usr/lib64/python2.7/distutils/dist.py", line 953, in run_commands > self.run_command(cmd) > File "/usr/lib64/python2.7/distutils/dist.py", line 972, in run_command > cmd_obj.run() > File "/usr/lib64/python2.7/site-packages/numpy/distutils/command/build.py", line 37, in run > old_build.run(self) > File "/usr/lib64/python2.7/distutils/command/build.py", line 127, in run > self.run_command(cmd_name) > File "/usr/lib64/python2.7/distutils/cmd.py", line 326, in run_command > self.distribution.run_command(command) > File "/usr/lib64/python2.7/distutils/dist.py", line 972, in run_command > cmd_obj.run() > File "/usr/lib64/python2.7/site-packages/numpy/distutils/command/build_src.py", line 152, in run > self.build_sources() > File "/usr/lib64/python2.7/site-packages/numpy/distutils/command/build_src.py", line 169, in build_sources > self.build_extension_sources(ext) > File "/usr/lib64/python2.7/site-packages/numpy/distutils/command/build_src.py", line 334, in build_extension_sources > sources = self.f2py_sources(sources, ext) > File "/usr/lib64/python2.7/site-packages/numpy/distutils/command/build_src.py", line 593, in f2py_sources > ['-m',ext_name]+f_sources) > File "/usr/lib64/python2.7/site-packages/numpy/f2py/f2py2e.py", line 383, in run_main > raise TypeError,'All blocks must be python module blocks but got %s'%(`postlist[i]['block']`) >TypeError: All blocks must be python module blocks but got 'program' > >Local variables in innermost frame: >files: ['fortUtil.f90'] >i: 1 >f2pydir: '/usr/lib64/python2.7/site-packages/numpy/f2py' >postlist: [{'body': [{'body': [{'body': [], 'parent_block': {...}, 'from': ':fortUtil:unknown_interface', 'name': 'unknown_type', 'vars': {'ra': {'typespec': 'double precision'}, 'lat': {'typespec': 'double precision'}, 'dec': {'typespec': 'double precision'}, 'lon': {'typespec': 'double precision'}, 'col': {'typespec': 'double precision'}, 'row': {'typespec': 'double precision'}}, 'args': [], 'externals': [], 'sortvars': ['ra', 'lat', 'dec', 'lon', 'col', 'row'], 'varnames': ['ra', 'dec', 'lon', 'lat', 'row', 'col'], 'entry': {}, 'interfaced': [], 'block': 'type'}], 'parent_block': {...}, 'from': ':fortUtil', 'name': 'unknown_interface', 'vars': {}, 'args': [], 'externals': [], 'sortvars': [], 'interfaced': [], 'block': 'interface'}, {'body': [], 'parent_block': {...}, 'from': ':fortUtil.f90', 'name': 'nasa', 'vars': {'gb': {'attrspec': [], 'typespec': 'double precision', 'intent': ['in']}, 'gl': {'attrspec': [], 'typespec': 'double precision', 'intent': ['in']}, 'decs': {'attrspec': [], 'typespec': 'double precision', 'intent': ['out']}, 'ras': {'attrspec': [], 'typespec': 'double precision', 'intent': ['out']}}, 'saved_interface': '\n subroutine nasa(gl,gb,ras,decs) \n double precision, intent(in) :: gl\n double precision, intent(in) :: gb\n double precision, intent(out) :: ras\n double precision, intent(out) :: decs\n end subroutine nasa', 'args': ['gl', 'gb', 'ras', 'decs'], 'externals': [], 'implicit': None, 'entry': {}, 'sortvars': ['gb', 'gl', 'decs', 'ras'], 'interfaced': [], 'block': 'subroutine'}, {'body': [], 'parent_block': {...}, 'from': ':fortUtil.f90', 'name': 'jprecess', 'vars': {'dec': {'attrspec': [], 'typespec': 'double precision', 'intent': ['in']}, 'ra': {'attrspec': [], 'typespec': 'double precision', 'intent': ['in']}, 'dec_2000': {'attrspec': [], 'typespec': 'double precision', 'intent': ['out']}, 'ra_2000': {'attrspec': [], 'typespec': 'double precision', 'intent': ['out']}}, 'saved_interface': '\n subroutine jprecess(ra,dec,ra_2000,dec_2000) \n double precision, intent(in) :: ra\n double precision, intent(in) :: dec\n double precision, intent(out) :: ra_2000\n double precision, intent(out) :: dec_2000\n end subroutine jprecess', 'args': ['ra', 'dec', 'ra_2000', 'dec_2000'], 'externals': [], 'implicit': None, 'entry': {}, 'sortvars': ['dec', 'ra', 'dec_2000', 'ra_2000'], 'interfaced': [], 'block': 'subroutine'}, {'body': [], 'parent_block': {...}, 'from': ':fortUtil.f90', 'name': 'prfall', 'vars': {'numrows': {'typespec': 'integer'}, 'num': {'typespec': 'integer'}, 'mag': {'attrspec': [], 'intent': ['in'], 'typespec': 'double precision', 'dimension': ['num'], 'depend': ['num']}, 'row': {'attrspec': [], 'intent': ['in'], 'typespec': 'integer', 'dimension': ['num'], 'depend': ['num']}, 'naxis1': {'attrspec': [], 'typespec': 'integer', 'intent': ['in']}, 'res': {'attrspec': [], 'intent': ['out'], 'typespec': 'double precision', 'dimension': ['numrows', 'numcols'], 'depend': ['numrows', 'numcols']}, 'prfn': {'attrspec': [], 'dimension': ['5', 'naxis2', 'naxis1'], 'typespec': 'double precision', 'depend': ['naxis1', 'naxis2']}, 'naxis2': {'attrspec': [], 'typespec': 'integer', 'intent': ['in']}, 'column': {'attrspec': [], 'intent': ['in'], 'typespec': 'integer', 'dimension': ['num'], 'depend': ['num']}, 'crval2p': {'attrspec': [], 'typespec': 'double precision', 'intent': ['in'], 'dimension': ['5']}, 'crval1p': {'attrspec': [], 'typespec': 'double precision', 'intent': ['in'], 'dimension': ['5']}, 'numcols': {'typespec': 'integer'}}, 'saved_interface': '\n subroutine prfall(row,column,mag,num,numrows,numcols,crval1p,crval2p,prfn,naxis1,naxis2,res) \n integer, dimension(0:num-1),intent(in),depend(num) :: row\n integer, dimension(0:num-1),intent(in),depend(num) :: column\n double precision, dimension(0:num-1),intent(in),depend(num) :: mag\n integer :: num\n integer :: numrows\n integer :: numcols\n double precision, dimension(0:4),intent(in) :: crval1p\n double precision, dimension(0:4),intent(in) :: crval2p\n double precision, dimension(0:4,0:naxis2-1,0:naxis1-1),depend(naxis1,naxis2) :: prfn\n integer, intent(in) :: naxis1\n integer, intent(in) :: naxis2\n double precision, dimension(0:numrows-1,0:numcols-1),intent(out),depend(numrows,numcols) :: res\n end subroutine prfall', 'args': ['row', 'column', 'mag', 'num', 'numrows', 'numcols', 'crval1p', 'crval2p', 'prfn', 'naxis1', 'naxis2', 'res'], 'externals': [], 'implicit': None, 'entry': {}, 'sortvars': ['numrows', 'num', 'naxis1', 'naxis2', 'crval2p', 'crval1p', 'numcols', 'mag', 'row', 'res', 'prfn', 'column'], 'interfaced': [], 'block': 'subroutine'}, {'body': [], 'parent_block': {...}, 'from': ':fortUtil.f90', 'name': 'prfcalc', 'vars': {'naxis2': {'attrspec': [], 'typespec': 'integer', 'intent': ['in']}, 'mag': {'attrspec': [], 'typespec': 'double precision', 'intent': ['in']}, 'naxis1': {'attrspec': [], 'typespec': 'integer', 'intent': ['in']}, 'res': {'attrspec': [], 'intent': ['out'], 'typespec': 'double precision', 'dimension': ['(naxis2/50)-1+1', '(naxis1/50)-1+1'], 'depend': ['naxis1', 'naxis2']}, 'prfn': {'attrspec': [], 'dimension': ['5', 'naxis2', 'naxis1'], 'typespec': 'double precision', 'depend': ['naxis1', 'naxis2']}, 'column': {'attrspec': [], 'typespec': 'integer', 'intent': ['in']}, 'crval2p': {'attrspec': [], 'typespec': 'double precision', 'intent': ['in'], 'dimension': ['5']}, 'crval1p': {'attrspec': [], 'typespec': 'double precision', 'intent': ['in'], 'dimension': ['5']}, 'row': {'attrspec': [], 'typespec': 'integer', 'intent': ['in']}}, 'saved_interface': '\n subroutine prfcalc(row,column,mag,crval1p,crval2p,prfn,naxis1,naxis2,res) \n integer, intent(in) :: row\n integer, intent(in) :: column\n double precision, intent(in) :: mag\n double precision, dimension(0:4),intent(in) :: crval1p\n double precision, dimension(0:4),intent(in) :: crval2p\n double precision, dimension(0:4,0:naxis2-1,0:naxis1-1),depend(naxis1,naxis2) :: prfn\n integer, intent(in) :: naxis1\n integer, intent(in) :: naxis2\n double precision, dimension(0:(naxis2/50)-1,0:(naxis1/50)-1),intent(out),depend(naxis1,naxis2) :: res\n end subroutine prfcalc', 'args': ['row', 'column', 'mag', 'crval1p', 'crval2p', 'prfn', 'naxis1', 'naxis2', 'res'], 'externals': [], 'implicit': None, 'entry': {}, 'sortvars': ['naxis2', 'mag', 'naxis1', 'column', 'crval2p', 'crval1p', 'row', 'res', 'prfn'], 'interfaced': [], 'block': 'subroutine'}], 'parent_block': {'body': [], 'from': 'fromsky', 'name': 'fortUtil', 'vars': {}, 'args': [], 'sortvars': [], 'coutput': 'fortUtilmodule.c', 'f2py_wrapper_output': 'fortUtil-f2pywrappers.f', 'implicit': None, 'block': 'program'}, 'from': '', 'name': 'fortUtil', 'vars': {}, 'args': [], 'externals': [], 'sortvars': [], 'coutput': 'fortUtilmodule.c', 'f2py_wrapper_output': 'fortUtil-f2pywrappers.f', 'interfaced': [], 'block': 'python module'}, {'body': [], 'from': 'fromsky', 'name': 'fortUtil', 'vars': {}, 'args': [], 'sortvars': [], 'coutput': 'fortUtilmodule.c', 'f2py_wrapper_output': 'fortUtil-f2pywrappers.f', 'implicit': None, 'block': 'program'}] >comline_list: ['--quiet', '--lower', '--build-dir', '/tmp/tmpMo5bph/src.linux-x86_64-2.7', '-m', 'fortUtil', 'fortUtil.f90'] >fobjhsrc: '/usr/lib64/python2.7/site-packages/numpy/f2py/src/fortranobject.h' >isusedby: {} >options: {'dolatexdoc': 0, 'buildpath': '/tmp/tmpMo5bph/src.linux-x86_64-2.7', 'verbose': 0, 'dorestdoc': 0, 'module': 'fortUtil', 'wrapfuncs': 1, 'include_paths': [], 'coutput': None, 'debug': [], 'do-lower': 1, 'f2py_wrapper_output': None} >fobjcsrc: '/usr/lib64/python2.7/site-packages/numpy/f2py/src/fortranobject.c'
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 836811
: 595542 |
596789
|
596790