id	summary	reporter	owner	description	type	status	priority	component	severity	resolution	keywords	cc	release
2564	[Patch] Fix use_gs for ghostscript >= 8.15.2	mkent	coderanger	Trying out the use_gs option I had to make a slight adjustment to the options passed to ghostscript, seems they removed -o at some point. \r\n\r\nThis is using the version of ghostscript that ships with CentOS 5.1. Exact version is 'ESP Ghostscript 8.15.2 (2006-04-19)'\r\n\r\n{{{\r\n--- 0.11/mastertickets/web_ui.py.orig   2008-01-28 10:23:08.000000000 -0800\r\n+++ 0.11/mastertickets/web_ui.py        2008-02-13 09:20:59.000000000 -0800\r\n@@ -117,7 +117,7 @@\r\n\r\n             if self.use_gs:\r\n                 ps = g.render(self.dot_path, 'ps2')\r\n-                gs = subprocess.Popen([self.gs_path, '-q', '-dTextAlphaBits=4', '-dGraphicsAlphaBits=4', '-sDEVICE=png16m', '-o', '%stdout%', '-'],\r\n+                gs = subprocess.Popen([self.gs_path, '-q', '-dTextAlphaBits=4', '-dGraphicsAlphaBits=4', '-sDEVICE=png16m', '-sOutputFile=%stdout%', '-'],\r\n                                       stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE)\r\n                 img, err = gs.communicate(ps)\r\n                 if err:\r\n}}}\r\n\r\nwork great now.	defect	closed	normal	MasterTicketsPlugin	normal	fixed			0.11
