I installed trytond and proteus via pip and also downloaded the trytond 
source files in a separate directory. I create several module but have been 
unable to change the default trytond path proteus uses, additionally custom 
modules added to the default trytond path raise errors in proteus such as 
below.

Traceback (most recent call last):
 File 
"/home/gnuhealth/.local/lib/python2.7/site-packages/trytond/modules/health/import_student.py",
 
line 59, in <module>
map_Mdata(1)
 File 
"/home/gnuhealth/.local/lib/python2.7/site-packages/trytond/modules/health/import_student.py",
 
line 30, in map_Mdata
Party=Model.get('party.party')
 File 
"/home/gnuhealth/.local/lib/python2.7/site-packages/proteus/__init__.py", 
line 602, in get
class Spam(Model):
 File 
"/home/gnuhealth/.local/lib/python2.7/site-packages/proteus/__init__.py", 
line 391, in __new__
proxy = self.config.get_proxy(self.model_name)
 File 
"/home/gnuhealth/.local/lib/python2.7/site-packages/proteus/config.py", 
line 247, in get_proxy
return TrytondProxy(name, self, type=type)
 File 
"/home/gnuhealth/.local/lib/python2.7/site-packages/proteus/config.py", 
line 165, in __init__
self._object = config.pool.get(name, type=type)
 File "/home/gnuhealth/.local/lib/python2.7/site-packages/trytond/pool.py", 
line 151, in get
return self._pool[self.database_name][type][name]
KeyError: 'party.party'

Reply via email to