health
[Top][All Lists]
Advanced

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

Re: [Health] Demo script: KeyError: 'gnuhealth.medication.template'


From: ronald munjoma
Subject: Re: [Health] Demo script: KeyError: 'gnuhealth.medication.template'
Date: Mon, 8 Jul 2013 17:08:38 +0200

Hi Sebastian,

On Jul 8, 2013 12:48 PM, "Sebastián Marró" <address@hidden> wrote:
>
> Hi Ronald
>
> 2013/7/8 ronald munjoma <address@hidden>
>>
>> Hi Sebastian,
>>
>> Running the demo script I am getting the below error message.
>>
>> Note: this is a clean install of 2.0 from scratch
>>
>> Traceback (most recent call last):
>>   File "health_demo_server.py", line 222, in <module>
>>     options.demo_password)
>>   File "health_demo_server.py", line 201, in main
>>     LoadBetzFamilyInfo()
>>   File "health_demo_server.py", line 61, in LoadBetzFamilyInfo
>>     MedicationTemplate = Model.get('gnuhealth.medication.template')
>>   File "/home/ronald/.local/lib/python2.7/site-packages/proteus/__init__.py", line 602, in get
>>     class Spam(Model):
>>   File "/home/ronald/.local/lib/python2.7/site-packages/proteus/__init__.py", line 391, in __new__
>>     proxy = self.config.get_proxy(self.model_name)
>>   File "/home/ronald/.local/lib/python2.7/site-packages/proteus/config.py", line 247, in get_proxy
>>     return TrytondProxy(name, self, type=type)
>>   File "/home/ronald/.local/lib/python2.7/site-packages/proteus/config.py", line 165, in __init__
>>     self._object = config.pool.get(name, type=type)
>>   File "/home/ronald/.local/lib/python2.7/site-packages/trytond/pool.py", line 151, in get
>>     return self._pool[self.database_name][type][name]
>> KeyError: 'gnuhealth.medication.template'
>
>
> Thanks for reporting!

You are welcome!

> It is now fixed in trunk.

Sorted, thanks

Regards and thanks
Ronald

>
> Regards
>
> --
> Sebastián Marró
> thymbr@
> Converging Ideas for Emerging Realities
> www.thymbra.c


reply via email to

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