|Subject:||Re: [Health-dev] Missing trytond.config|
|Date:||Tue, 25 Jun 2013 09:38:08 -0300|
The python script is looking for Tryton.config. I am pasting the traceback below.Looks like we need a python module called Tryton.config where as Tryton.conf seems like a config file. In any case I got hold of tryton.conf and renamed it but the script still fails.
Traceback (most recent call last):
File "health_demo_server.py", line 26, in <module>
File "/home/gnuhealth/.local/lib/python2.7/site-packages/proteus/config.py", line 262, in set_trytond
language=language, password=password, config_file=config_file)
File "/home/gnuhealth/.local/lib/python2.7/site-packages/proteus/config.py", line 179, in __init__
from trytond.config import CONFIG
ImportError: No module named trytond.config
On Monday 24 June 2013 04:30 PM, Sebastián Marró wrote:
2013/6/24 Kaushik <address@hidden>
The Python path has been set. It has the tryton server directory included.
Could you please tell me where this trytond.config is expected to be. It is not in the tryton server directory.
In fact, it is not present anywhere under my home directory.
(I had installed gnuhealth using pip. Then removed .local/bin and then again installed from source. I am just experimenting. )
Ok, trytond.conf is missing in the pip installation method (there is a Tryton open bug for this). if you have installed with pip, you can take trytond.conf from here , It's in the /etc directory.
|[Prev in Thread]||Current Thread||[Next in Thread]|