# animate in texlive 17 gives “Missing number, treated as zero.”

I have a new Ubuntu 18 machine, with a fresh install of texlive 2017 from the Ubuntu package. The following code used to work on earlier texlive versions, but now does not even compile (with pdflatex). It breaks with "! Missing number, treated as zero" on the \animategraphics command. Any suggestions?

\documentclass[12pt,a4paper]{article}
\usepackage{graphicx}
\usepackage[autoplay,loop,width=textwidth]{animate}
\begin{document}
\animategraphics{20}{img/64_QAM_}{00}{99}
\end{document}

• texlive 2017 isn't really fresh, can't you install texlive 2019? – Ulrike Fischer Nov 13 '19 at 15:30
• I'm reluctant because last time I did that it broke the whole tex system because of having to texlives on the same machine. – KeithB Nov 13 '19 at 15:32
• PS: also, because I have to maintain many machines, it's important that I stay with the standard Ubuntu package, even it it's old. The maintenance overhead of manual texlive installs is too high, – KeithB Nov 13 '19 at 15:40

width=textwidth is wrong, it should be width=\textwidth.