It seems that you are compiling via pdfLaTeX. PSTricks though requires DVI mode or a driver such as with XeLaTeX. This example runs for me using XeLaTeX, and brings the same error message with pdfLaTeX. The latter is not compatible to PSTricks. So, use XeLaTeX or LaTeX in DVI mode.