May be someone could entry this bug report for sympy as I can't login to my
github account after changing login process.
>python
Python 3.13.7 (main, Aug 16 2025, 15:55:01) [GCC 15.2.1 20250813] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import sympy
>>> sympy.__version__
'1.14.0'
>>> from sympy import *
>>> x = symbols("x")
... y = Function("y")
...
>>> ode = Eq(y(x)**3*Derivative(y(x),(x,1))**3 -x*Derivative(y(x),(x,1))
+y(x),0)
>>> dsolve(ode,func=y(x))
Traceback (most recent call last):
File "<python-input-5>", line 1, in <module>
dsolve(ode,func=y(x))
~~~~~~^^^^^^^^^^^^^^^
File "/usr/lib/python3.13/site-packages/sympy/solvers/ode/ode.py", line 640,
in dsolve
return _helper_simplify(eq, hint, hints, simplify, ics=ics)
File "/usr/lib/python3.13/site-packages/sympy/solvers/ode/ode.py", line 668,
in _helper_simplify
sols = solvefunc.get_general_solution()
File "/usr/lib/python3.13/site-packages/sympy/solvers/ode/single.py", line
283, in get_general_solution
return self._get_general_solution(simplify_flag=simplify)
~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.13/site-packages/sympy/solvers/ode/single.py", line
897, in _get_general_solution
sol = dsolve(eq, func(x))
File "/usr/lib/python3.13/site-packages/sympy/solvers/ode/ode.py", line 640,
in dsolve
return _helper_simplify(eq, hint, hints, simplify, ics=ics)
File "/usr/lib/python3.13/site-packages/sympy/solvers/ode/ode.py", line 668,
in _helper_simplify
sols = solvefunc.get_general_solution()
File "/usr/lib/python3.13/site-packages/sympy/solvers/ode/single.py", line
283, in get_general_solution
return self._get_general_solution(simplify_flag=simplify)
~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.13/site-packages/sympy/solvers/ode/single.py", line
897, in _get_general_solution
sol = dsolve(eq, func(x))
File "/usr/lib/python3.13/site-packages/sympy/solvers/ode/ode.py", line 605,
in dsolve
hints = _desolve(eq, func=func,
hint=hint, simplify=True, xi=xi, eta=eta, type='ode', ics=ics,
x0=x0, n=n, **kwargs)
File "/usr/lib/python3.13/site-packages/sympy/solvers/deutils.py", line 209,
in _desolve
hints = classifier(eq, func, dict=True, ics=ics, xi=xi, eta=eta,
n=terms, x0=x0, hint=hint, prep=prep)
File "/usr/lib/python3.13/site-packages/sympy/solvers/ode/ode.py", line
1039, in classify_ode
if solver.matches():
~~~~~~~~~~~~~~^^
File "/usr/lib/python3.13/site-packages/sympy/solvers/ode/single.py", line
276, in matches
self._matched = self._matches()
~~~~~~~~~~~~~^^
File "/usr/lib/python3.13/site-packages/sympy/solvers/ode/single.py", line
405, in _matches
solns = solve(subs_eqn, func, simplify=False)
File "/usr/lib/python3.13/site-packages/sympy/solvers/solvers.py", line
1168, in solve
solution = _solve(f[0], *symbols, **flags)
File "/usr/lib/python3.13/site-packages/sympy/solvers/solvers.py", line
1695, in _solve
inv = _vsolve(ieq, symbol, **flags)[0]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^
IndexError: list index out of range
>>>
--
You received this message because you are subscribed to the Google Groups
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/sympy/d32f154b-d25d-45b5-be00-53a36858fa47n%40googlegroups.com.