Open Omer80 opened 5 years ago
Does ]test PyDSTool
pass?
Using Pkg.test("PyDSTool")
give me this message:
julia> import Pkg;Pkg.test("PyDSTool")
Testing PyDSTool
Resolving package versions...
Status `/tmp/tmpR12BT9/Manifest.toml`
...
Calcium Direct: Error During Test at /home/ohm/.julia/packages/PyDSTool/nreJ8/test/runtests.jl:5
Got exception outside of a @test
LoadError: PyError ($(Expr(:escape, :(ccall(#= /home/ohm/.julia/packages/PyCall/0jMpb/src/pyfncall.jl:44 =# @pysym(:PyObject_Call), PyPtr, (PyPtr, PyPtr, PyPtr), o, pyargsptr, kw))))) <class 'TypeError'>
TypeError("'float' object cannot be interpreted as an integer",)
File "/home/ohm/.julia/conda/3/lib/python3.6/site-packages/PyDSTool/PyCont/Continuation.py", line 1246, in forward
self._compute(v0=self.initdirec)
File "/home/ohm/.julia/conda/3/lib/python3.6/site-packages/PyDSTool/PyCont/Continuation.py", line 1102, in _compute
self._createTestFuncs()
File "/home/ohm/.julia/conda/3/lib/python3.6/site-packages/PyDSTool/PyCont/Continuation.py", line 2035, in _createTestFuncs
save=True, numpoints=self.MaxNumPoints+1)
File "/home/ohm/.julia/conda/3/lib/python3.6/site-packages/PyDSTool/PyCont/TestFunc.py", line 719, in __init__
BiAltMethod.__init__(self, (F.n, 1), F, C, save=save, numpoints=numpoints)
File "/home/ohm/.julia/conda/3/lib/python3.6/site-packages/PyDSTool/PyCont/TestFunc.py", line 381, in __init__
self.data.P = zeros((n*(n-1)/2, n*(n-1)/2), float)
Julia v1.0+?
Looks like that's the same error CI is giving. Something is wrong with the installation. Maybe the binaries changed? @tkf might know.
My guess is that this is Python 2 vs 3 issue in integer division.
Might also be the same as issue #13 ... or closely related. I say this because we are also seeing these symptoms, from both issues.
I have tried to run the example for using PyDSTool and it gave me the following error message:
What could be the problem?