On Thu, 14 Jun 2012,
josef...@gmail.com wrote:
> Monday, then.
> I'd like to give Yaroslav a chance to test them on Debian/Ubuntu
> before releasing.
> And, I found one more bug in an untested code path of a test.
FWIW -- seems to build fine BUT the same old issue I have mentioned
before on ubuntu 11.10 amd64:
reading sources... [ 24%] generated/statsmodels.genmod.generalized_linear_model.GLMResults.t_test
reading sources... [ 24%] generated/statsmodels.graphics.boxplots.beanplot
/usr/lib/pymodules/python2.7/matplotlib/sphinxext/plot_directive.py:322: PlotWarning: Exception running plot plots/graphics_boxplot_beanplot.py
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/matplotlib/sphinxext/plot_directive.py", line 319, in render_figures
run_code(plot_path, function_name, plot_code, context=context)
File "/usr/lib/pymodules/python2.7/matplotlib/sphinxext/plot_directive.py", line 225, in run_code
os.chdir(path)
OSError: [Errno 2] No such file or directory: 'plots'
warnings.warn(s, PlotWarning)
Exception occurred:
File "/usr/lib/pymodules/python2.7/docutils/statemachine.py", line 233, in run
context, state, transitions)
File "/usr/lib/pymodules/python2.7/docutils/statemachine.py", line 454, in check_line
return method(match, context, next_state)
File "/usr/lib/pymodules/python2.7/docutils/parsers/rst/states.py", line 2281, in explicit_markup
nodelist, blank_finish = self.explicit_construct(match)
File "/usr/lib/pymodules/python2.7/docutils/parsers/rst/states.py", line 2293, in explicit_construct
return method(self, expmatch)
File "/usr/lib/pymodules/python2.7/docutils/parsers/rst/states.py", line 2035, in directive
directive_class, match, type_name, option_presets)
File "/usr/lib/pymodules/python2.7/docutils/parsers/rst/states.py", line 2086, in run_directive
result = directive_instance.run()
File "/usr/lib/pymodules/python2.7/docutils/parsers/rst/__init__.py", line 370, in run
self.state, self.state_machine)
File "/usr/lib/pymodules/python2.7/matplotlib/sphinxext/plot_directive.py", line 483, in plot_directive
options, state_machine)
File "/usr/lib/pymodules/python2.7/matplotlib/sphinxext/plot_directive.py", line 400, in _plot_directive
shutil.copyfile(plot_path, os.path.join(destdir, fname))
File "/usr/lib/python2.7/shutil.py", line 81, in copyfile
with open(src, 'rb') as fsrc:
IOError: [Errno 2] No such file or directory: u'plots/graphics_boxplot_beanplot.py'
The full traceback has been saved in /tmp/sphinx-err-7QpCeB.log, if you want to report the issue to the developers.
Please also report this if it was a user error, so that a better error message can be provided next time.
Either send bugs to the mailing list at <
http://groups.google.com/group/sphinx-dev/>,
or report them in the tracker at <
http://bitbucket.org/birkenfeld/sphinx/issues/>. Thanks!
make[1]: *** [html] Error 1
make[1]: Leaving directory `/tmp/buildd/statsmodels-0.4.0+git1162-g602ec99/docs'
make: *** [doc-stamp] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
E: Failed autobuilding of package
if I find a moment I will try to figure it out...
full logs are at
http://neuro.debian.net/_files/_buildlogs/statsmodels/0.4.0+git1162-g602ec99
disregard those FAILED on older ubuntus (due to missing recent
numpy/scipy's) and I guess I forgotten to fix requirement of python >=2.6 so it
fails on debian stable while trying to test against 2.5 (will fix and retest)
: # Run unittests here against installed statsmodels
cd build/ && \
PYTHONPATH=`/bin/ls -d /tmp/buildd/statsmodels-0.4.0+git1162-g602ec99/debian/python-statsmodels/usr/lib/python2.5/*/` \
MPLCONFIGDIR=/tmp/buildd/statsmodels-0.4.0+git1162-g602ec99/build \
python2.5 /usr/bin/nosetests -s -v statsmodels
Traceback (most recent call last):
File "/usr/bin/nosetests", line 8, in <module>
load_entry_point('nose==0.11.1', 'console_scripts', 'nosetests')()
File "/usr/lib/pymodules/python2.5/nose/core.py", line 113, in __init__
argv=argv, testRunner=testRunner, testLoader=testLoader)
File "/usr/lib/python2.5/unittest.py", line 767, in __init__
self.parseArgs(argv)
File "/usr/lib/pymodules/python2.5/nose/core.py", line 164, in parseArgs
self.createTests()
File "/usr/lib/pymodules/python2.5/nose/core.py", line 178, in createTests
self.test = self.testLoader.loadTestsFromNames(self.testNames)
File "/usr/lib/pymodules/python2.5/nose/loader.py", line 442, in loadTestsFromNames
return unittest.TestLoader.loadTestsFromNames(self, names, module)
File "/usr/lib/python2.5/unittest.py", line 565, in loadTestsFromNames
suites = [self.loadTestsFromName(name, module) for name in names]
File "/usr/lib/pymodules/python2.5/nose/loader.py", line 394, in loadTestsFromName
discovered=discovered)
File "/usr/lib/pymodules/python2.5/nose/loader.py", line 316, in loadTestsFromModule
tests.extend(self.loadTestsFromDir(module_path))
File "/usr/lib/pymodules/python2.5/nose/loader.py", line 165, in loadTestsFromDir
entry_path, discovered=True)
File "/usr/lib/pymodules/python2.5/nose/loader.py", line 394, in loadTestsFromName
discovered=discovered)
File "/usr/lib/pymodules/python2.5/nose/loader.py", line 316, in loadTestsFromModule
tests.extend(self.loadTestsFromDir(module_path))
File "/usr/lib/pymodules/python2.5/nose/loader.py", line 165, in loadTestsFromDir
entry_path, discovered=True)
File "/usr/lib/pymodules/python2.5/nose/loader.py", line 394, in loadTestsFromName
discovered=discovered)
File "/usr/lib/pymodules/python2.5/nose/loader.py", line 316, in loadTestsFromModule
tests.extend(self.loadTestsFromDir(module_path))
File "/usr/lib/pymodules/python2.5/nose/loader.py", line 157, in loadTestsFromDir
entry_path, discovered=True)
File "/usr/lib/pymodules/python2.5/nose/loader.py", line 394, in loadTestsFromName
discovered=discovered)
File "/usr/lib/pymodules/python2.5/nose/loader.py", line 305, in loadTestsFromModule
test_classes + test_funcs)
File "/usr/lib/pymodules/python2.5/nose/loader.py", line 304, in <lambda>
tests = map(lambda t: self.makeTest(t, parent=module),
File "/usr/lib/pymodules/python2.5/nose/loader.py", line 511, in makeTest
return self.loadTestsFromTestClass(obj)
File "/usr/lib/pymodules/python2.5/nose/loader.py", line 475, in loadTestsFromTestClass
for case in filter(wanted, dir(cls))]
File "/usr/lib/pymodules/python2.5/nose/loader.py", line 521, in makeTest
return MethodTestCase(obj)
File "/usr/lib/pymodules/python2.5/nose/case.py", line 328, in __init__
self.inst = self.cls()
File "/usr/lib/python2.5/site-packages/statsmodels/genmod/tests/test_glm.py", line 238, in __init__
File "/usr/lib/python2.5/site-packages/statsmodels/genmod/tests/results/results_glm.py", line 693, in __init__
File "/usr/lib/python2.5/site-packages/statsmodels/tools/tools.py", line 301, in add_constant
TypeError
make[1]: *** [python-test2.5] Error 1
make[1]: Leaving directory `/tmp/buildd/statsmodels-0.4.0+git1162-g602ec99'
make: *** [binary-arch] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2