Compiling
\documentclass{article}
\usepackage{cool}
\usepackage{eulervm}
\begin{document}
$\D{a}{T}$
$\pderiv{a}{T}$
$\mathbold{T}$
$\D{a}{\mathbold{T}}$
$\pderiv{a}{\mathbold{T}}$
\end{document}
works until the derivatives are evaluated for bold euler letters. It fails with
! Missing control sequence inserted.
<inserted text>
\inaccessible
l.13 $\D{a}{\mathbold{T}}
$
Perhaps this is related to Basic use of derivative with cool package fails with “Missing \endcsname inserted” but the fix proposed there does not work.
cooluses many\edefcommands and most of them should be\protected@edef. – egreg Feb 12 '13 at 23:39