health-dev
[Top][All Lists]
Advanced

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

Re: [Health-dev] Missing trytond.config


From: Kaushik
Subject: Re: [Health-dev] Missing trytond.config
Date: Tue, 25 Jun 2013 15:06:45 +0530
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130510 Thunderbird/17.0.6

Hi Sebastian,
           The python script is looking for Tryton.config.  I am pasting the traceback below.

Traceback (most recent call last):
  File "health_demo_server.py", line 26, in <module>
    user='admin', password='admin')
  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


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.
Kaushik





On Monday 24 June 2013 04:30 PM, Sebastián Marró wrote:
Hi Kaushik

2013/6/24 Kaushik <address@hidden>
Hi Sebastian,
         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 [0], It's in the /etc directory. 

Regards


-- 
Sebastián Marró
thymbr@
Converging Ideas for Emerging Realities

www.thymbra.com


reply via email to

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