Re: ubuntu - an error when I double click on a .lyx flie, but no error when I run from terminal

2011-07-23 Thread Paul A . Rubin
It seems rather odd that the (random) temp directory name is the same both
times.  Can you be more specific about your steps?  When you double click the
LyX file, does it open correctly in LyX?  Is it View  PDF (pdflatex) that
causes the error?  When you start from a terminal, same questions: does the
document open properly in LyX, and is it View PDF (pdflatex) that triggers the
error message.

Also, does this happen for all documents, or one specific one?

You might try running 'pdflatex --version' in a terminal just to make sure
pdflatex is correctly installed (and you have permission to run it).

Paul



Re: ubuntu - an error when I double click on a .lyx flie, but no error when I run from terminal

2011-07-23 Thread Paul A . Rubin
It seems rather odd that the (random) temp directory name is the same both
times.  Can you be more specific about your steps?  When you double click the
LyX file, does it open correctly in LyX?  Is it View > PDF (pdflatex) that
causes the error?  When you start from a terminal, same questions: does the
document open properly in LyX, and is it View PDF (pdflatex) that triggers the
error message.

Also, does this happen for all documents, or one specific one?

You might try running 'pdflatex --version' in a terminal just to make sure
pdflatex is correctly installed (and you have permission to run it).

Paul



ubuntu - an error when I double click on a .lyx flie, but no error when I run from terminal

2011-07-20 Thread Xu Wang
If I start LyX from the terminal, everything works fine.


But if I just start LyX by double clicking on a .lyx file, then I have
problems (pasted at the end of email). I have tried reconfigure.

Do I have a problem with permissions or something? I don't see why the two
would be different.


I have tried reconfigure and reinstalling and neither has helped.


Here is the error in LyX:

File does not exist: /tmp/lyx_tmpdir.MT6574/lyx_tmpbuf2/testfile.pdf


In the terminal, here is the output:

Systemcall.cpp(238): Systemcall: 'pdflatex  testfile.tex' did not start!
Systemcall.cpp(239): error The process failed to start. Either the invoked
program is missing, or you may have insufficient permissions to invoke the
program.
Error: Cannot view file

File does not exist: /tmp/lyx_tmpdir.MT6574/lyx_tmpbuf2/testfile.pdf


I am using Ubuntu 11.04 64-bit.
LyX version 2.0.1svn
Qt 4.7.2
xuwang@ubuntu:~$ lyx --version
LyX 2.0.1svn (not released yet)
Built on Jul 13 2011, 00:57:55
Configuration
  Host type:x86_64-unknown-linux-gnu
  Special build flags:  build=development warnings assertions
stdlib-debug concept-checks
  C   Compiler: gcc
  C   Compiler LyX flags:
  C   Compiler flags:   -Wextra -Wall   -g -O
  C++ Compiler: g++ (4.5.2)
  C++ Compiler LyX flags:
  C++ Compiler flags:   -Wextra -Wall   -g -O
  Linker flags:
  Linker user flags:
  Qt 4 Frontend:
  Qt 4 version: 4.7.2
  Packaging:posix
  LyX binary dir:   /usr/local/bin
  LyX files dir:/usr/local/share/lyx

any ideas?

Thank you, Xu


ubuntu - an error when I double click on a .lyx flie, but no error when I run from terminal

2011-07-20 Thread Xu Wang
If I start LyX from the terminal, everything works fine.


But if I just start LyX by double clicking on a .lyx file, then I have
problems (pasted at the end of email). I have tried reconfigure.

Do I have a problem with permissions or something? I don't see why the two
would be different.


I have tried reconfigure and reinstalling and neither has helped.


Here is the error in LyX:

File does not exist: /tmp/lyx_tmpdir.MT6574/lyx_tmpbuf2/testfile.pdf


In the terminal, here is the output:

Systemcall.cpp(238): Systemcall: 'pdflatex  "testfile.tex"' did not start!
Systemcall.cpp(239): error The process failed to start. Either the invoked
program is missing, or you may have insufficient permissions to invoke the
program.
Error: Cannot view file

File does not exist: /tmp/lyx_tmpdir.MT6574/lyx_tmpbuf2/testfile.pdf


I am using Ubuntu 11.04 64-bit.
LyX version 2.0.1svn
Qt 4.7.2
xuwang@ubuntu:~$ lyx --version
LyX 2.0.1svn (not released yet)
Built on Jul 13 2011, 00:57:55
Configuration
  Host type:x86_64-unknown-linux-gnu
  Special build flags:  build=development warnings assertions
stdlib-debug concept-checks
  C   Compiler: gcc
  C   Compiler LyX flags:
  C   Compiler flags:   -Wextra -Wall   -g -O
  C++ Compiler: g++ (4.5.2)
  C++ Compiler LyX flags:
  C++ Compiler flags:   -Wextra -Wall   -g -O
  Linker flags:
  Linker user flags:
  Qt 4 Frontend:
  Qt 4 version: 4.7.2
  Packaging:posix
  LyX binary dir:   /usr/local/bin
  LyX files dir:/usr/local/share/lyx

any ideas?

Thank you, Xu