gnumed-bugs
[Top][All Lists]
Advanced

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

Re: [Gnumed-bugs] <bug>: After initiating "write letter' using a lat


From: Busser, Jim
Subject: Re: [Gnumed-bugs] <bug>: After initiating "write letter' using a lat
Date: Thu, 24 Nov 2011 23:59:13 +0000

On 2011-11-24, at 2:53 PM, Karsten Hilbert wrote:

> I'm fairly sure your template is broken (and it's got
> nothing to do with the free text placeholder):

yes

>> 2011-11-24 12:55:20  DEBUG     gm.logging 
>> (/Users/svc/Downloads/gnumed-client.1.1.4/Gnumed/pycommon/gmLog2.py::log_stack_trace()
>>  #155): >>> execution frame [read] in 
>> [/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/codecs.py]
>>  at line 483 <<<
>> 2011-11-24 12:55:20  DEBUG     gm.logging 
>> (/Users/svc/Downloads/gnumed-client.1.1.4/Gnumed/pycommon/gmLog2.py::log_stack_trace()
>>  #170):                  exc = 'utf8' codec can't decode byte 0xd0 in 
>> position 0: invalid continuation byte
>> 2011-11-24 12:55:20  DEBUG     gm.logging 
>> (/Users/svc/Downloads/gnumed-client.1.1.4/Gnumed/pycommon/gmLog2.py::log_stack_trace()
>>  #170):         decodedbytes = 0
>> 2011-11-24 12:55:20  DEBUG     gm.logging 
>> (/Users/svc/Downloads/gnumed-client.1.1.4/Gnumed/pycommon/gmLog2.py::log_stack_trace()
>>  #170):                chars = -1
>> 2011-11-24 12:55:20  DEBUG     gm.logging 
>> (/Users/svc/Downloads/gnumed-client.1.1.4/Gnumed/pycommon/gmLog2.py::log_stack_trace()
>>  #170):                lines = []
>> 2011-11-24 12:55:20  DEBUG     gm.logging 
>> (/Users/svc/Downloads/gnumed-client.1.1.4/Gnumed/pycommon/gmLog2.py::log_stack_trace()
>>  #170):                 self = <open file 
>> u'/var/folders/Ab/AbZqNE-hEFWlswprJgyHyk+++TM/-Tmp-/gnumed/gm-B_wIZL/gm-L-Template-DiZq6g.tex',
>>  mode 'rb' at 0x1057d69c0>
>> 2011-11-24 12:55:20  DEBUG     gm.logging 
>> (/Users/svc/Downloads/gnumed-client.1.1.4/Gnumed/pycommon/gmLog2.py::log_stack_trace()
>>  #170):             newchars = 
>> 2011-11-24 12:55:20  DEBUG     gm.logging 
>> (/Users/svc/Downloads/gnumed-client.1.1.4/Gnumed/pycommon/gmLog2.py::log_stack_trace()
>>  #170):                 size = 72
>> 2011-11-24 12:55:20  DEBUG     gm.logging 
>> (/Users/svc/Downloads/gnumed-client.1.1.4/Gnumed/pycommon/gmLog2.py::log_stack_trace()
>>  #170):                 data = ??????MSP Billing \# : 
>> $<current_provider_external_id::Billing#//BC.CA_MSP>$
> 
> That line.

yes, it has been maddening… multiple times, I went back to the template which 
was saved encoded as unicode, and it looked fine (even showing invisibles, 
those characters were simply ordinary spaces) and I even backspace (deleted) 
anything that could have been offending characters back to the previous 
placeholder and reimported the newly-saved versions and they would still 
generate errors.

I eventually fixed it by taking a template that I know works, and modified it 
by saving (incorporating) the differences that I needed, and then re-importing 
*that*

Which worked, but I remain hopeful the nature / basis of the problem will 
before too long become clearer …

-- Jim


reply via email to

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