gnumed-bugs
[Top][All Lists]
Advanced

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

Re: [Gnumed-bugs] <bug>: why I am not able to generate consultation


From: Karsten Hilbert
Subject: Re: [Gnumed-bugs] <bug>: why I am not able to generate consultation
Date: Fri, 17 Jul 2015 16:50:56 +0200
User-agent: Mutt/1.5.23 (2014-03-12)

On Fri, Jul 17, 2015 at 05:34:06AM +0200, Dr.Leonard Horatio McCoy wrote:

> client version: 1.5.4
>
> user comment  : why I am not able to generate consultation report? kindly 
> advise

Technically, I would guess the reason to be that there's a
space in your username:

> system account: MY PC

which results in a space in the temporary directory:

> 2015-07-17 08:56:24  INFO      gm.tools 
> (d:\workplace\gnumed-client.1.5.4\build\pyi.win32\gnumed\outpyz1.pyz\gnumed.pycommon.gmtools::init_paths()
>  #212): initial temp dir: c:\users\mypc~1\appdata\local\temp
> 2015-07-17 08:56:24  INFO      gm.tools 
> (d:\workplace\gnumed-client.1.5.4\build\pyi.win32\gnumed\outpyz1.pyz\gnumed.pycommon.gmtools::init_paths()
>  #217): level 1 intermediate temp dir: 
> c:\users\mypc~1\appdata\local\temp\gnumed
> 2015-07-17 08:56:24  INFO      gm.tools 
> (d:\workplace\gnumed-client.1.5.4\build\pyi.win32\gnumed\outpyz1.pyz\gnumed.pycommon.gmtools::init_paths()
>  #222): level 2 intermediate temp dir: 
> c:\users\mypc~1\appdata\local\temp\gnumed\MY PC

which in turn results in a LaTeX sandbox dir with a space:

> 2015-07-17 08:59:48  ERROR     gm.forms 
> (d:\workplace\gnumed-client.1.5.4\build\pyi.win32\gnumed\outpyz1.pyz\logging::exception()
>  #1088): cannot open/move sandboxed PDF
> Traceback (most recent call last):
>   File 
> "D:\workplace\gnumed-client.1.5.4\build\pyi.win32\gnumed\outPYZ1.pyz\Gnumed.business.gmForms",
>  line 1157, in generate_output
>   File 
> "D:\workplace\gnumed-client.1.5.4\build\pyi.win32\gnumed\outPYZ1.pyz\shutil", 
> line 95, in copy2
>   File 
> "D:\workplace\gnumed-client.1.5.4\build\pyi.win32\gnumed\outPYZ1.pyz\shutil", 
> line 50, in copyfile
> IOError: [Errno 2] No such file or directory: 
> u'c:\\users\\mypc~1\\appdata\\local\\temp\\gnumed\\MY 
> PC\\gm-rzeorb\\gm-L-Template-uzqwvd_orlziu.dir\\gm-L-Template-uzqwvd-result_run2.pdf'

which copyfile() probably doesn't know how to handle.

To test that theory you might try adding another system
account (without space) and run GNUmed from there.

Another theory might be that LaTeX fails (is it installed ?)
and therefore fails to (cannot) produce a PDF. We can't know
because:

> 2015-07-17 09:00:41  ERROR     gm.shell 
> (d:\workplace\gnumed-client.1.5.4\build\pyi.win32\gnumed\outpyz1.pyz\gnumed.pycommon.gmshellapi::run_command_in_shell()
>  #217): platform does not support exit status differentiation

A log of a failure with debugging enabled right from the
startup might shed some light here.

Karsten
-- 
GPG key ID E4071346 @ eu.pool.sks-keyservers.net
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346



reply via email to

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