/root/bin/makevideos.sh: line 545: let: Short read: syntax error in expression (error token is "read") date: extra operand ‘read’ Try 'date --help' for more information. /root/bin/makevideos.sh: line 546: Short read+16: syntax error in expression (error token is "read+16") cp: cannot stat '/meteor/cam3/grid.png': No such file or directory Traceback (most recent call last): File "/home/meteor/bin/report.py", line 186, in plt.savefig(dir2 + '/brightness.jpg') File "/usr/local/lib/python2.7/dist-packages/matplotlib/pyplot.py", line 695, in savefig res = fig.savefig(*args, **kwargs) File "/usr/local/lib/python2.7/dist-packages/matplotlib/figure.py", line 2062, in savefig self.canvas.print_figure(fname, **kwargs) File "/usr/local/lib/python2.7/dist-packages/matplotlib/backend_bases.py", line 2173, in print_figure canvas = self._get_output_canvas(format) File "/usr/local/lib/python2.7/dist-packages/matplotlib/backend_bases.py", line 2105, in _get_output_canvas .format(fmt, ", ".join(sorted(self.get_supported_filetypes())))) ValueError: Format 'jpg' is not supported (supported formats: eps, pdf, pgf, png, ps, raw, rgba, svg, svgz)