# Package pdftex.def Error: File ./figure-eps-converted-to.pdf' not found: using draft setting [closed]

when I try to compile this in overleaf:

\documentclass[conference]{IEEEtran}

\IEEEoverridecommandlockouts
% The preceding line is only needed to identify funding in the first footnote. If that is unneeded, please comment it out.
\usepackage{cite}
\usepackage{amsmath,amssymb,amsfonts}
\usepackage{algorithmic}
\usepackage{graphicx}
\usepackage{textcomp}
\usepackage{xcolor}
\usepackage{amsmath}
\usepackage{algorithm,algorithmic}
\usepackage{cellspace}
\usepackage{makecell, multirow, tabularx}
\usepackage{subcaption,graphicx}
\usepackage{pbox}
\usepackage[outdir=./]{epstopdf}
\usepackage[british]{babel}
\def\BibTeX{{\rm B\kern-.05em{\sc i\kern-.025em b}\kern-.08em
T\kern-.1667em\lower.7ex\hbox{E}\kern-.125emX}}
\usepackage{mathtools}
%\usepackage[letterpaper, left=0.59in, right=0.59in, bottom=0.1in, top=0.75in]{geometry}

%\usepackage[letterpaper, left=0.6in, right=0.6in, bottom=0.99in, top=0.75in]{geometry}

\usepackage[top=0.69in,bottom=1.53in,right=0.6in,left=0.6in]{geometry}

\usepackage[font=small,skip=0pt]{caption}


I am getting this error all the time:

The code of the picture:

\begin{figure}[htp]
\begin{center}
% Use the relevant command to insert your figure file.
\includegraphics[width= 1.1 \linewidth]{Pictures/Rank Reversal Remove Worst.eps}
\caption{The effect of removing the worst network on rank reversal ratio}
\label{s1}       % Give a unique label
\end {center}
%\setlength\intextsep{0pt}
\end{figure}

• Have you tried renaming your image file so that it doesn't contain space characters? – imnothere Jun 22 at 9:12
• the conversion is failing for some reason, but it's much simpler if it has no spaces, also simpler if you upload a pdf rather than an eps. Unrelated but if you do width= 1.1 \linewidth` it can not fit so will not be cetred but will stick in to the right margin – David Carlisle Jun 22 at 11:00