This is a bug. Can you open an issue on github please?
https://github.com/sympy/sympy/issues
The error comes from:
In [2]: factor_terms(pi/4+oo*I)
---------------------------------------------------------------------------
TypeError: can't convert oo to int
Probably another error has left to that in the first place though.
I removed the floats from your problem since they aren't needed and
used check=False, simplify=False with solve to avoid calling simplify
(which is ultimately calling factor_terms). Then I get an answer
(using master):
⎡
⎛ ⎛ ⎛ang_zs(t) π⎞ ⎞
⎢
⎜ ⎜tan⎜───────── + ─⎟ + 1⎟
⎢⎛π -π ⎞ ⎛π 3⋅π⎞ ⎛3⋅π -π ⎞ ⎛3⋅π
3⋅π⎞ ⎜ ⎜ ⎝ 2 8⎠ ⎟ π
⎢⎜─, ang_ys(t), ───⎟, ⎜─, ang_ys(t), ───⎟, ⎜───, ang_ys(t), ───⎟,
⎜───, ang_ys(t), ───⎟, ⎜2⋅atan⎜──────────────────────⎟, ─, ang
⎢⎝2 4 ⎠ ⎝2 4 ⎠ ⎝ 2 4 ⎠ ⎝ 2
4 ⎠ ⎜ ⎜ ⎛ang_zs(t) π⎞ ⎟ 2
⎢
⎜ ⎜tan⎜───────── + ─⎟ - 1⎟
⎣
⎝ ⎝ ⎝ 2 8⎠ ⎠
⎞ ⎛ ⎛ ⎛ang_zs(t) π⎞ ⎞ ⎞⎤
⎟ ⎜ ⎜tan⎜───────── + ─⎟ - 1⎟ ⎟⎥
⎟ ⎜ ⎜ ⎝ 2 8⎠ ⎟ π ⎟⎥
_zs(t)⎟, ⎜-2⋅atan⎜──────────────────────⎟, ─, ang_zs(t)⎟⎥
⎟ ⎜ ⎜ ⎛ang_zs(t) π⎞ ⎟ 2 ⎟⎥
⎟ ⎜ ⎜tan⎜───────── + ─⎟ + 1⎟ ⎟⎥
⎠ ⎝ ⎝ ⎝ 2 8⎠ ⎠ ⎠⎦
Oscar
> --
> 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
sympy+un...@googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/sympy/f1cbbc4f-ff1c-4410-bea1-7a3b3cb9676e%40googlegroups.com.