health
[Top][All Lists]
Advanced

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

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


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

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'

__________________________________________________________
The United Nations Millennium Development Goals
A set of 8 goals, agreed upon by 189 member countries of the UN, that if achieved would see the greatest improvement to the human condition by 2015.
http://www.un.org/millenniumgoals/

Action on the MDGs: www.mdgpledge.org
Change your sig: www.mdgpledge.org/sig/

reply via email to

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