[Scipy-tickets] [SciPy] #1724: Scipy test hangs

SciPy Trac scipy-tickets@scipy....
Sat Aug 25 20:26:13 CDT 2012


#1724: Scipy test hangs
------------------------+---------------------------------------------------
 Reporter:  adammiller  |       Owner:  somebody   
     Type:  defect      |      Status:  new        
 Priority:  normal      |   Milestone:  Unscheduled
Component:  Other       |     Version:  0.10.0     
 Keywords:              |  
------------------------+---------------------------------------------------

Comment(by adammiller):

 Replying to [comment:1 rgommers]:
 > It looks like it hangs inside weave.  Can you confirm that by running
 {{{
 >>> from scipy import weave
 >>> weave.test(verbose=2)
 }}}
 > Can you please give the complete output of the above?

 That test hangs, Here is the output from that test.
 {{{
 >>> from scipy import weave
 >>> weave.test(verbose=2)
 Running unit tests for scipy.weave
 NumPy version 1.6.2
 NumPy is installed in /Library/Python/2.7/site-packages/numpy
 SciPy version 0.10.1
 SciPy is installed in
 /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/scipy
 Python version 2.7.3 (default, Aug 23 2012, 13:59:48) [GCC 4.2.1
 Compatible Apple Clang 4.0 ((tags/Apple/clang-421.0.60))]
 nose version 1.1.2
 convert simple expr to blitz ... ok
 convert fdtd equation to blitz. ... ok
 convert simple expr to blitz ... ok
 bad path should return same as default (and warn) ... ok
 make sure it handles relative values. ... ok
 default behavior is to return current directory ... ok
 make sure it handles relative values ... ok
 test_simple (test_build_tools.TestConfigureSysArgv) ... ok
 bad path should return same as default (and warn) ... ok
 make sure it handles relative values. ... ok
 default behavior returns tempdir ... ok
 make sure it handles relative values ... ok
 }}}

 > If that still hangs, see if this hangs too (extracted from
 weave/test_catalog.py TestDefaultDir):
 {{{
 from scipy import weave

 path = weave.catalog.default_dir()
 name = os.path.join(path,'dummy_catalog')
 test_file = open(name,'w')
 try:
     test_file.write('making sure default location is writable\n')
 finally:
     test_file.close()
     os.remove(name)
 }}}

 I am able to run this test without any hanging code.

-- 
Ticket URL: <http://projects.scipy.org/scipy/ticket/1724#comment:2>
SciPy <http://www.scipy.org>
SciPy is open-source software for mathematics, science, and engineering.


More information about the Scipy-tickets mailing list