[SciPy-user] Broken pipe for xplt.eps
Travis E. Oliphant
oliphant at ee.byu.edu
Tue Apr 8 13:13:37 EDT 2003
George Gerber wrote:
>Hello,
>
>I am trying to output a plot consisting of two arrays. However I recieve the
>error below. Could it be that I have insufficient permissions for Ghostscript?
>
>Regards,
>George Gerber
>
Most likely you have a buggy version of ghostscript. This error seems
to crop up in ghostscript from time to time. It's a small fix, but I
can't remember what it is. What version of ghostscript are you using?
Try using the option to xplt.eps so that ps2epsi is not run after the
postscript file is created.
-Travis O.
>
>george at c301:~$ python
>Python 2.1.3 (#1, Sep 12 2002, 00:24:18)
>[GCC 2.95.4 20011002 (Debian prerelease)] on linux2
>Type "copyright", "credits" or "license" for more information.
>
>
>>>>from scipy import xplt
>>>>
>>>>
>exceptions.ImportError:
>/usr/lib/python2.1/site-packages/scipy/linalg/clapack.so: undefined symbol:
>clapack_sgetri
>
>
>>>>x=[1,2,3]
>>>>y=[0,1,0]
>>>>xplt.plot(x,y)
>>>>xplt.eps('plot1')
>>>>
>>>>
>Error: /invalidaccess in --.setdevice--
>Operand stack:
> --nostringval--
>Execution stack:
> %interp_exit .runexec2 --nostringval-- --nostringval--
>--nostringval-- 2 %stopped_push --nostringval-- --nostringval--
>--nostringval-- false 1 %stopped_push 1 3
> %oparray_pop 1 3 %oparray_pop 1 3 %oparray_pop .runexec2
>--nostringval-- --nostringval-- --nostringval-- 2 %stopped_push
>--nostringval-- --nostringval-- --nostringval-- 1 4 %oparray_pop
>--nostringval-- --nostringval-- --nostringval--
>Dictionary stack:
> --dict:1040/1476(ro)(G)-- --dict:0/20(G)-- --dict:68/200(L)--
>--dict:19/30(L)--
>Current allocation mode is local
>Current file position is 8771
>GNU Ghostscript 6.53: Unrecoverable error, exit code 1
>sed: -e expression #2, char 15: Extra characters after command
>cat: write error: Broken pipe
>
>
>_______________________________________________
>SciPy-user mailing list
>SciPy-user at scipy.net
>http://www.scipy.net/mailman/listinfo/scipy-user
>
>
More information about the SciPy-User
mailing list