gnumed-bugs
[Top][All Lists]
Advanced

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

Re: [Gnumed-bugs] Error on attempting to invoice a bill - does not print


From: Karsten Hilbert
Subject: Re: [Gnumed-bugs] Error on attempting to invoice a bill - does not print
Date: Mon, 6 Aug 2012 14:51:11 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

Jim,

is there any further details to be had on this ?

Karsten

On Sun, Jul 29, 2012 at 09:51:07PM +0200, Karsten Hilbert wrote:

> On Wed, Jul 18, 2012 at 07:37:36PM +0000, Jim Busser wrote:
> 
> > When I tried to print an invoice on a patient for whom I had designated an 
> > address as "billing", GNUmed issued an alert that there was a problem to 
> > the effect of
> > 
> >     "Consult the log for all the gory details"
> > 
> > and an excerpt of the log is appended.
> 
> What the log tells us is this:
> 
> 2012-07-18 12:23:31  DEBUG     gm.printing 
> (/Users/djb/Downloads/gnumed-client.1.2.1/Gnumed/pycommon/gmPrinting.py::_print_files_by_mac_preview()
>  #105): printing with ['open', '-a Preview', 
> u'/var/folders/rR/rRhuX5jzF8WCKfgoTie3Zk+++TQ/-Tmp-/gnumed/gm-k0rQsn/gm-L-Template-x2MCfW-instance.pdf']
> 2012-07-18 12:23:32  ERROR     gm.printing 
> (/Users/djb/Downloads/gnumed-client.1.2.1/Gnumed/pycommon/gmPrinting.py::_print_files_by_mac_preview()
>  #113): <open -a Preview> returned [1], failed to print
> 
> In other words, the call to "open -a Preview <filename>"
> returns 1 (rather than the 0 which would typically be
> expected).
> 
> Now we need to find out:
> 
> Does 1 (also) mean that "open -a Preview" works as expected ?
> 
>       -> What is the return code if you run it from the CLI ?
> 
>       -> Does the invoice open in Preview *despite* GNUmed
>          thinking differently ?
> 
> If not we'll need to find out why.
> 
> > A few notes on what I here append as the excerpt:
> > 
> > 1) despite that the log reports in excerpt line 182
> > 
> >     <open -a Preview> returned [1], failed to print
> > 
> > the command
> > 
> >     open -a Preview 
> > /var/folders/rR/rRhuX5jzF8WCKfgoTie3Zk+++TQ/-Tmp-/gnumed/gm-k0rQsn/gm-L-Template-x2MCfW-instance.pdf
> > 
> > which I issued from CLI in fact opened the document.
> 
> Can you retry that with a newly created invoice and look at
> the return code thereof ?

...

-- 
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]