error loading file into memory

2015-08-05 Thread Neal Becker
I have a number of figures which include graphics from matplotlib.  They all 
previewed fine until I changed the mpl code to use:

import matplotlib as mpl
mpl.rc('font', family='stix')
mpl.rc('axes', labelsize='large')

I notice that mpl now warns that it cannot subset stix and includes the 
whole font.

Anyway, now the figures render fine in the final pdf, but lyx preview is 
broken with the above error message.

This is lyx-2.1.3 on fedora 22.



error loading file into memory

2015-08-05 Thread Neal Becker
I have a number of figures which include graphics from matplotlib.  They all 
previewed fine until I changed the mpl code to use:

import matplotlib as mpl
mpl.rc('font', family='stix')
mpl.rc('axes', labelsize='large')

I notice that mpl now warns that it cannot subset stix and includes the 
whole font.

Anyway, now the figures render fine in the final pdf, but lyx preview is 
broken with the above error message.

This is lyx-2.1.3 on fedora 22.



Re: error loading file into memory (pdf)

2013-04-18 Thread Paul A . Rubin
I'm not positive, but I think PPM is the default format used to display a
PDF graphic in the LyX GUI. Try running

convert badgraphic.pdf badgraphic.ppm

in a shell/terminal/whatever and see if you get an error message.

Paul






Re: error loading file into memory (pdf)

2013-04-18 Thread Paul A . Rubin
I'm not positive, but I think PPM is the default format used to display a
PDF graphic in the LyX GUI. Try running

convert badgraphic.pdf badgraphic.ppm

in a shell/terminal/whatever and see if you get an error message.

Paul






Re: error loading file into memory (pdf)

2013-04-18 Thread Paul A . Rubin
I'm not positive, but I think PPM is the default format used to display a
PDF graphic in the LyX GUI. Try running

convert badgraphic.pdf badgraphic.ppm

in a shell/terminal/whatever and see if you get an error message.

Paul






error loading file into memory (pdf)

2013-04-16 Thread Neal Becker
I have 2 included graphics in this document.  One previews OK, the other says:
Error loading file into memory.

Both render fine when printed.  Both pdfs produced the same way (matplotlib).  
Any clues?



error loading file into memory (pdf)

2013-04-16 Thread Neal Becker
I have 2 included graphics in this document.  One previews OK, the other says:
Error loading file into memory.

Both render fine when printed.  Both pdfs produced the same way (matplotlib).  
Any clues?



error loading file into memory (pdf)

2013-04-16 Thread Neal Becker
I have 2 included graphics in this document.  One previews OK, the other says:
Error loading file into memory.

Both render fine when printed.  Both pdfs produced the same way (matplotlib).  
Any clues?



Re: Lyx 1.2 figure Error loading file into memory

2002-07-02 Thread João Cardoso

On Tuesday 02 July 2002 02:35, Matt Brennan wrote:
| On Fri, 28 Jun 2002, Joao Cardoso wrote:
|  On Mon, 17 Jun 2002 21:03:07 +0100, Matt Brennan wrote:
|   Jean-Marc's suggestion to run Edit-Reconfigure has cleared up my
|   problem with viewing images as well as including all image file
|   extensions into the graphic file browser popup.
| 
|  Well, not for me... I can see .png and .gif, but not .eps or .ps.
|
| Hmm.  No ideas about this problem.
|
|  Where
|  the figure should appear appears instead Error loading file into
|  memory.
|
| This is a different error message than I was receiving.  However, the
| memory issue suggests to me that there might be something wrong with
| your temp directory.  This is where LyX stores the images it converts
| to its native format.  You can set this directory in
| Edit-Preferences-Inputs-Paths.  Be sure that you have permission
| to write in the temp directory and that the device holding the temp
| directory is not full.

Thanks, but this is not the problem, the temp dir is /tmp, I have write 
permissions, and the filesystem is not full:

[jcard@feup] l -R /tmp/lyx_tmpdir139097R2doD 
/tmp/lyx_tmpdir139097R2doD:
total 1
drwxr-xr-x2 jcardusers  35 Jul  2 17:51 lyx_tmpbuf0

/tmp/lyx_tmpdir139097R2doD/lyx_tmpbuf0:
total 0

Joao

|
| The file contains ps format data.
| No conversion needed!
| Loading image.
| xforms image loader. Status : Converting PS ...
| xforms image loader. Status : Loading PostScript
| xforms image loader. Error : LoadPS: no page written!
| Image loading failed.
| xforms image loader. Status : Error Reading
|
| Conversion looks ok, but page isn't written, suggesting access
| problems to temp directory
|
|  I have already seen this error in another post, but without a
|  response. I'm using xforms-0.89, could this be the problem?
|
| I'm using xforms-0.88 and that works fine.  I've seen other postings
| with 0.89 who have no problems.
|
| mb
|
|  Joao
| 
|   mb
|  
|   On Wed, 12 Jun 2002, Matt Brennan wrote:
|   A stumble in upgrading to Lyx 1.2.0:
|  
|   Figures are not rendered within LyX.  Instead, I merely get a
|   message Error converting to loadable format.
|  
|   Runnign 'lyx -dbg graphics' and then opening the LyX User's
|   Guide and then scrolling to the section on figures yields:
|  
|   Attempting to convert image file: /usr/share/lyx/doc/mobius.eps
|   with recognised extension: eps.
|   Scanstring: %!PS-Adobe-3.0 EPSF-3.0
|   Recognised Fileformat: eps
|   Scanstring: %!PS-Adobe-3.0 EPSF-3.0
|   Recognised Fileformat: eps
|   The file contains eps format data.
|   update:: no BoundingBox
|   Scanstring: %!PS-Adobe-3.0 EPSF-3.0
|   Recognised Fileformat: eps
|   Scanstring: %!PS-Adobe-3.0 EPSF-3.0
|   Recognised Fileformat: eps
|   Scanstring: %!PS-Adobe-3.0 EPSF-3.0
|   Recognised Fileformat: eps
|   Attempting to convert image file:
|   /usr/share/lyx/doc/escher-lsd.eps with recognised extension:
|   eps.
|   Scanstring: %!PS-Adobe-3.0 EPSF-3.0
|   Recognised Fileformat: eps
|   Scanstring: %!PS-Adobe-3.0 EPSF-3.0
|   Recognised Fileformat: eps
|   The file contains eps format data.
|  
|   I'm running RH 7.2, ImageMagik 5.3.8, and xforms 0.88.1-1
|  
|   I'll echo Rudolph Pienaar that the Fullscreen preview button
|   on the figure popup is a feature from v. 1.1 that I will miss in
|   1.2.
|  
|   Thanks,
|  
|   Matt
|  
|   (I apologize for not continuing the thread images in pre-1.2.0
|   LyX docs which begins to address this problem.  I'm new to the
|   user list and couldn't figure out how to perpetuate a thread to
|   a message I hadn't received.)
|  
|   -@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-*-@-@-@-@-@-@-@-@-@-@-@-@-@-@-
|   @-
|  
|Environmental Fluid Mechanics Lab - Suite 524K Dept. of Civil 
|Environmental Engineering Stanford University
|   [EMAIL PROTECTED] Stanford, CA 94305-4020  ph#:
|   650/725.5948
|  
|  -@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-*-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-
|  
|  
|Environmental Fluid Mechanics Lab - Suite 524K Dept. of Civil 
|Environmental Engineering Stanford University
|   [EMAIL PROTECTED] Stanford, CA 94305-4020   ph#:
|   650/725.5948
|  
| -@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-*-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-
| @-
|
|  Environmental Fluid Mechanics Lab, Rm. 524K
|  Civil  Environmental Engineering   ph#: 650/725.5948
|  Stanford University   [EMAIL PROTECTED]
|  Stanford, CA 94305-4020   fluid.stanford.edu/~mbrennan




Re: Lyx 1.2 figure Error loading file into memory

2002-07-02 Thread João Cardoso

On Tuesday 02 July 2002 02:35, Matt Brennan wrote:
| On Fri, 28 Jun 2002, Joao Cardoso wrote:
|  On Mon, 17 Jun 2002 21:03:07 +0100, Matt Brennan wrote:
|   Jean-Marc's suggestion to run Edit-Reconfigure has cleared up my
|   problem with viewing images as well as including all image file
|   extensions into the graphic file browser popup.
| 
|  Well, not for me... I can see .png and .gif, but not .eps or .ps.
|
| Hmm.  No ideas about this problem.
|
|  Where
|  the figure should appear appears instead Error loading file into
|  memory.
|
| This is a different error message than I was receiving.  However, the
| memory issue suggests to me that there might be something wrong with
| your temp directory.  This is where LyX stores the images it converts
| to its native format.  You can set this directory in
| Edit-Preferences-Inputs-Paths.  Be sure that you have permission
| to write in the temp directory and that the device holding the temp
| directory is not full.

Thanks, but this is not the problem, the temp dir is /tmp, I have write 
permissions, and the filesystem is not full:

[jcard@feup] l -R /tmp/lyx_tmpdir139097R2doD 
/tmp/lyx_tmpdir139097R2doD:
total 1
drwxr-xr-x2 jcardusers  35 Jul  2 17:51 lyx_tmpbuf0

/tmp/lyx_tmpdir139097R2doD/lyx_tmpbuf0:
total 0

Joao

|
| The file contains ps format data.
| No conversion needed!
| Loading image.
| xforms image loader. Status : Converting PS ...
| xforms image loader. Status : Loading PostScript
| xforms image loader. Error : LoadPS: no page written!
| Image loading failed.
| xforms image loader. Status : Error Reading
|
| Conversion looks ok, but page isn't written, suggesting access
| problems to temp directory
|
|  I have already seen this error in another post, but without a
|  response. I'm using xforms-0.89, could this be the problem?
|
| I'm using xforms-0.88 and that works fine.  I've seen other postings
| with 0.89 who have no problems.
|
| mb
|
|  Joao
| 
|   mb
|  
|   On Wed, 12 Jun 2002, Matt Brennan wrote:
|   A stumble in upgrading to Lyx 1.2.0:
|  
|   Figures are not rendered within LyX.  Instead, I merely get a
|   message Error converting to loadable format.
|  
|   Runnign 'lyx -dbg graphics' and then opening the LyX User's
|   Guide and then scrolling to the section on figures yields:
|  
|   Attempting to convert image file: /usr/share/lyx/doc/mobius.eps
|   with recognised extension: eps.
|   Scanstring: %!PS-Adobe-3.0 EPSF-3.0
|   Recognised Fileformat: eps
|   Scanstring: %!PS-Adobe-3.0 EPSF-3.0
|   Recognised Fileformat: eps
|   The file contains eps format data.
|   update:: no BoundingBox
|   Scanstring: %!PS-Adobe-3.0 EPSF-3.0
|   Recognised Fileformat: eps
|   Scanstring: %!PS-Adobe-3.0 EPSF-3.0
|   Recognised Fileformat: eps
|   Scanstring: %!PS-Adobe-3.0 EPSF-3.0
|   Recognised Fileformat: eps
|   Attempting to convert image file:
|   /usr/share/lyx/doc/escher-lsd.eps with recognised extension:
|   eps.
|   Scanstring: %!PS-Adobe-3.0 EPSF-3.0
|   Recognised Fileformat: eps
|   Scanstring: %!PS-Adobe-3.0 EPSF-3.0
|   Recognised Fileformat: eps
|   The file contains eps format data.
|  
|   I'm running RH 7.2, ImageMagik 5.3.8, and xforms 0.88.1-1
|  
|   I'll echo Rudolph Pienaar that the Fullscreen preview button
|   on the figure popup is a feature from v. 1.1 that I will miss in
|   1.2.
|  
|   Thanks,
|  
|   Matt
|  
|   (I apologize for not continuing the thread images in pre-1.2.0
|   LyX docs which begins to address this problem.  I'm new to the
|   user list and couldn't figure out how to perpetuate a thread to
|   a message I hadn't received.)
|  
|   -@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-*-@-@-@-@-@-@-@-@-@-@-@-@-@-@-
|   @-
|  
|Environmental Fluid Mechanics Lab - Suite 524K Dept. of Civil 
|Environmental Engineering Stanford University
|   [EMAIL PROTECTED] Stanford, CA 94305-4020  ph#:
|   650/725.5948
|  
|  -@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-*-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-
|  
|  
|Environmental Fluid Mechanics Lab - Suite 524K Dept. of Civil 
|Environmental Engineering Stanford University
|   [EMAIL PROTECTED] Stanford, CA 94305-4020   ph#:
|   650/725.5948
|  
| -@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-*-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-
| @-
|
|  Environmental Fluid Mechanics Lab, Rm. 524K
|  Civil  Environmental Engineering   ph#: 650/725.5948
|  Stanford University   [EMAIL PROTECTED]
|  Stanford, CA 94305-4020   fluid.stanford.edu/~mbrennan




Re: Lyx 1.2 figure "Error loading file into memory"

2002-07-02 Thread João Cardoso

On Tuesday 02 July 2002 02:35, Matt Brennan wrote:
| On Fri, 28 Jun 2002, Joao Cardoso wrote:
| > On Mon, 17 Jun 2002 21:03:07 +0100, Matt Brennan wrote:
| > > Jean-Marc's suggestion to run Edit->Reconfigure has cleared up my
| > > problem with viewing images as well as including all image file
| > > extensions into the graphic file browser popup.
| >
| > Well, not for me... I can see .png and .gif, but not .eps or .ps.
|
| Hmm.  No ideas about this problem.
|
| > Where
| > the figure should appear appears instead "Error loading file into
| > memory".
|
| This is a different error message than I was receiving.  However, the
| memory issue suggests to me that there might be something wrong with
| your temp directory.  This is where LyX stores the images it converts
| to its native format.  You can set this directory in
| Edit->Preferences->Inputs->Paths.  Be sure that you have permission
| to write in the temp directory and that the device holding the temp
| directory is not full.

Thanks, but this is not the problem, the temp dir is /tmp, I have write 
permissions, and the filesystem is not full:

[jcard@feup] l -R /tmp/lyx_tmpdir139097R2doD 
/tmp/lyx_tmpdir139097R2doD:
total 1
drwxr-xr-x2 jcardusers  35 Jul  2 17:51 lyx_tmpbuf0

/tmp/lyx_tmpdir139097R2doD/lyx_tmpbuf0:
total 0

Joao

|
| >The file contains ps format data.
| >No conversion needed!
| >Loading image.
| >xforms image loader. Status : Converting PS ...
| >xforms image loader. Status : Loading PostScript
| >xforms image loader. Error : LoadPS: no page written!
| >Image loading failed.
| >xforms image loader. Status : Error Reading
|
| Conversion looks ok, but page isn't written, suggesting access
| problems to temp directory
|
| > I have already seen this error in another post, but without a
| > response. I'm using xforms-0.89, could this be the problem?
|
| I'm using xforms-0.88 and that works fine.  I've seen other postings
| with 0.89 who have no problems.
|
| mb
|
| > Joao
| >
| > > mb
| > >
| > > On Wed, 12 Jun 2002, Matt Brennan wrote:
| > >> A stumble in upgrading to Lyx 1.2.0:
| > >>
| > >> Figures are not rendered within LyX.  Instead, I merely get a
| > >> message "Error converting to loadable format".
| > >>
| > >> Runnign 'lyx -dbg graphics' and then opening the LyX User's
| > >> Guide and then scrolling to the section on figures yields:
| > >>
| > >> Attempting to convert image file: /usr/share/lyx/doc/mobius.eps
| > >> with recognised extension: eps.
| > >> Scanstring: %!PS-Adobe-3.0 EPSF-3.0
| > >> Recognised Fileformat: eps
| > >> Scanstring: %!PS-Adobe-3.0 EPSF-3.0
| > >> Recognised Fileformat: eps
| > >> The file contains eps format data.
| > >> update:: no BoundingBox
| > >> Scanstring: %!PS-Adobe-3.0 EPSF-3.0
| > >> Recognised Fileformat: eps
| > >> Scanstring: %!PS-Adobe-3.0 EPSF-3.0
| > >> Recognised Fileformat: eps
| > >> Scanstring: %!PS-Adobe-3.0 EPSF-3.0
| > >> Recognised Fileformat: eps
| > >> Attempting to convert image file:
| > >> /usr/share/lyx/doc/escher-lsd.eps with recognised extension:
| > >> eps.
| > >> Scanstring: %!PS-Adobe-3.0 EPSF-3.0
| > >> Recognised Fileformat: eps
| > >> Scanstring: %!PS-Adobe-3.0 EPSF-3.0
| > >> Recognised Fileformat: eps
| > >> The file contains eps format data.
| > >>
| > >> I'm running RH 7.2, ImageMagik 5.3.8, and xforms 0.88.1-1
| > >>
| > >> I'll echo Rudolph Pienaar that the "Fullscreen preview" button
| > >> on the figure popup is a feature from v. 1.1 that I will miss in
| > >> 1.2.
| > >>
| > >> Thanks,
| > >>
| > >> Matt
| > >>
| > >> (I apologize for not continuing the thread "images in pre-1.2.0
| > >> LyX docs" which begins to address this problem.  I'm new to the
| > >> user list and couldn't figure out how to perpetuate a thread to
| > >> a message I hadn't received.)
| > >>
| > >> >>>-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-*-@-@-@-@-@-@-@-@-@-@-@-@-@-@-
| > >> >>>@-<<<
| > >>
| > >>  Environmental Fluid Mechanics Lab - Suite 524K Dept. of Civil &
| > >>  Environmental Engineering Stanford University
| > >> [EMAIL PROTECTED] Stanford, CA 94305-4020  ph#:
| > >> 650/725.5948
| > >>
| > >>>>-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-*-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-
| > >>>><<<
| > >
| > >  Environmental Fluid Mechanics Lab - Suite 524K Dept. of Civil &
| > >  Environmental Engineering Stanford University
| > > [EMAIL PROTECTED] Stanford, CA 94305-4020   ph#:
| > > 650/725.5948
| > >
| >>>>-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-*-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-
| >>>>@-<<<<
|
|  Environmental Fluid Mechanics Lab, Rm. 524K
|  Civil & Environmental Engineering   ph#: 650/725.5948
|  Stanford University   [EMAIL PROTECTED]
|  Stanford, CA 94305-4020   fluid.stanford.edu/~mbrennan