gnumed-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnumed-devel] Write documents


From: Karsten Hilbert
Subject: Re: [Gnumed-devel] Write documents
Date: Tue, 19 Apr 2011 09:42:34 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

On Tue, Apr 19, 2011 at 12:41:02PM +0530, address@hidden wrote:

> I am not able to generate documents on gnumed on windows.
> the log file says it could not find viewer using standard mailcap system

While that's true ...

> 2011-04-19 12:30:25  DEBUG     gm.docs 
> (c:\workplace\gnumed-client.0.9.1\build\pyi.win32\setup\outpyz1.pyz\gnumed.pycommon.gmmimelib::get_editor_cmd()
>  #122): <application/x-latex> editor: [None]
> 2011-04-19 12:30:25  DEBUG     gm.docs 
> (c:\workplace\gnumed-client.0.9.1\build\pyi.win32\setup\outpyz1.pyz\gnumed.pycommon.gmmimelib::get_editor_cmd()
>  #122): <application/x-tex> editor: [None]
> 2011-04-19 12:30:25  DEBUG     gm.docs 
> (c:\workplace\gnumed-client.0.9.1\build\pyi.win32\setup\outpyz1.pyz\gnumed.pycommon.gmmimelib::get_editor_cmd()
>  #122): <text/plain> editor: [None]

        (you should configure your system to know an editor for
        LaTeX and/or text files)

... that is not the problem. Another thing GNUmed tries to
show you the LaTeX document before printing ...

> 2011-04-19 12:30:25  DEBUG     gm.shell 
> (c:\workplace\gnumed-client.0.9.1\build\pyi.win32\setup\outpyz1.pyz\gnumed.pycommon.gmshellapi::run_command_in_shell()
>  #99): shell command >>>sensible-editor 
> c:\users\vaibhav\appdata\local\temp\gnumed\gm-nflwyi\gm-L-Template-qyj1u0-instance.tex<<<
> 2011-04-19 12:30:25  DEBUG     gm.shell 
> (c:\workplace\gnumed-client.0.9.1\build\pyi.win32\setup\outpyz1.pyz\gnumed.pycommon.gmshellapi::run_command_in_shell()
>  #100): blocking: True
> 2011-04-19 12:30:25  DEBUG     gm.shell 
> (c:\workplace\gnumed-client.0.9.1\build\pyi.win32\setup\outpyz1.pyz\gnumed.pycommon.gmshellapi::run_command_in_shell()
>  #101): acceptable return codes: [0]
> 2011-04-19 12:30:25  INFO      gm.shell 
> (c:\workplace\gnumed-client.0.9.1\build\pyi.win32\setup\outpyz1.pyz\gnumed.pycommon.gmshellapi::run_command_in_shell()
>  #131): running shell command >>>sensible-editor 
> c:\users\vaibhav\appdata\local\temp\gnumed\gm-nflwyi\gm-L-Template-qyj1u0-instance.tex<<<
> 2011-04-19 12:30:25  DEBUG     gm.shell 
> (c:\workplace\gnumed-client.0.9.1\build\pyi.win32\setup\outpyz1.pyz\gnumed.pycommon.gmshellapi::run_command_in_shell()
>  #134): os.system() returned: [1]
> 2011-04-19 12:30:25  DEBUG     gm.shell 
> (c:\workplace\gnumed-client.0.9.1\build\pyi.win32\setup\outpyz1.pyz\gnumed.pycommon.gmshellapi::run_command_in_shell()
>  #139): platform does not support exit status differentiation

... does not work either on Windows. However unfazed by all
that GNUmed goes on to create the actual PDF ...

> 2011-04-19 12:30:25  DEBUG     gm.forms 
> (c:\workplace\gnumed-client.0.9.1\build\pyi.win32\setup\outpyz1.pyz\gnumed.business.gmforms::generate_output()
>  #734): ignoring <format> directive [None], generating PDF
> 2011-04-19 12:30:25  DEBUG     gm.forms 
> (c:\workplace\gnumed-client.0.9.1\build\pyi.win32\setup\outpyz1.pyz\gnumed.business.gmforms::generate_output()
>  #738): LaTeX sandbox directory: 
> [c:\users\vaibhav\appdata\local\temp\gnumed\gm-nflwyi\gm-L-Template-qyj1u0]
> 2011-04-19 12:30:25  DEBUG     gm.forms 
> (c:\workplace\gnumed-client.0.9.1\build\pyi.win32\setup\outpyz1.pyz\gnumed.business.gmforms::generate_output()
>  #741): CWD: [C:\Program Files\GNUmed-client]
> 2011-04-19 12:30:25  DEBUG     gm.shell 
> (c:\workplace\gnumed-client.0.9.1\build\pyi.win32\setup\outpyz1.pyz\gnumed.pycommon.gmshellapi::run_command_in_shell()
>  #99): shell command >>>pdflatex.exe -interaction nonstopmode 
> c:\users\vaibhav\appdata\local\temp\gnumed\gm-nflwyi\gm-L-Template-qyj1u0\gm-L-Template-qyj1u0-instance.tex<<<
> 2011-04-19 12:30:25  DEBUG     gm.shell 
> (c:\workplace\gnumed-client.0.9.1\build\pyi.win32\setup\outpyz1.pyz\gnumed.pycommon.gmshellapi::run_command_in_shell()
>  #100): blocking: True
> 2011-04-19 12:30:25  DEBUG     gm.shell 
> (c:\workplace\gnumed-client.0.9.1\build\pyi.win32\setup\outpyz1.pyz\gnumed.pycommon.gmshellapi::run_command_in_shell()
>  #101): acceptable return codes: [0, 1]
> 2011-04-19 12:30:25  INFO      gm.shell 
> (c:\workplace\gnumed-client.0.9.1\build\pyi.win32\setup\outpyz1.pyz\gnumed.pycommon.gmshellapi::run_command_in_shell()
>  #131): running shell command >>>pdflatex.exe -interaction nonstopmode 
> c:\users\vaibhav\appdata\local\temp\gnumed\gm-nflwyi\gm-L-Template-qyj1u0\gm-L-Template-qyj1u0-instance.tex<<<
> 2011-04-19 12:30:37  DEBUG     gm.shell 
> (c:\workplace\gnumed-client.0.9.1\build\pyi.win32\setup\outpyz1.pyz\gnumed.pycommon.gmshellapi::run_command_in_shell()
>  #134): os.system() returned: [0]
> 2011-04-19 12:30:37  DEBUG     gm.shell 
> (c:\workplace\gnumed-client.0.9.1\build\pyi.win32\setup\outpyz1.pyz\gnumed.pycommon.gmshellapi::run_command_in_shell()
>  #139): platform does not support exit status differentiation
> 2011-04-19 12:30:37  ERROR     gm.forms 
> (c:\workplace\gnumed-client.0.9.1\build\pyi.win32\setup\outpyz1.pyz\gnumed.business.gmforms::generate_output()
>  #757): problem running pdflatex, cannot generate form output

... but that seems to fail, too.

Now, can you check whether

        - "pdflatex" is in the PATH
        - the PDF file 
"c:\users\vaibhav\appdata\local\temp\gnumed\gm-nflwyi\gm-L-Template-qyj1u0\gm-L-Template-qyj1u0-instance..pdf"
 exists

That will help us decide how to improve the experience on
Vista. All this is no problem under Linux. Also, I believe
it is known to work under other Windows variants given
proper configuration.

Karsten
-- 
GPG key ID E4071346 @ gpg-keyserver.de
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346



reply via email to

[Prev in Thread] Current Thread [Next in Thread]