|
From: | Sebastián Marró |
Subject: | Re: [Health] Demo script: KeyError: 'gnuhealth.medication.template' |
Date: | Mon, 8 Jul 2013 07:48:15 -0300 |
Hi Sebastian,Running the demo script I am getting the below error message.Note: this is a clean install of 2.0 from scratchTraceback (most recent call last):File "health_demo_server.py", line 222, in <module>options.demo_password)File "health_demo_server.py", line 201, in mainLoadBetzFamilyInfo()File "health_demo_server.py", line 61, in LoadBetzFamilyInfoMedicationTemplate = Model.get('gnuhealth.medication.template')File "/home/ronald/.local/lib/python2.7/site-packages/proteus/__init__.py", line 602, in getclass 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_proxyreturn 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 getreturn self._pool[self.database_name][type][name]KeyError: 'gnuhealth.medication.template'
[Prev in Thread] | Current Thread | [Next in Thread] |