[SciPy-user] Broken pipe for xplt.eps
Arnd Baecker
baecker at physik.tu-dresden.de
Tue Apr 8 11:41:44 EDT 2003
Hi,
I think it is the problem which is discussed in a thread this March
(Subject: "xplt.eps question/problem? ").
If so, there are two options:
a) add a noepsi=1 option, i.e.: xplt.eps('plot1',noepsi=1)
b) quoting myself from the above thread:
"it is just a missing space in front
of the "-e" of ps2epsi [...]
So anyone seeing this error hopefully can fix this by
just adding this space..."
Hope this helps.
Arnd
On Wed, 2 Apr 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
>
> 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