[Top][All Lists]

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

Re: [Health-dev] Missing trytond.config

From: Sebastián Marró
Subject: Re: [Health-dev] Missing trytond.config
Date: Tue, 25 Jun 2013 09:38:08 -0300

Hi Kaushik

   Sorry, i have mistaken (trytond.config with trytond.conf file) ... i think the problem still is with the python path...    

   First, can you check that you have a trytond directory in '/home/gnuhealth/.local/lib/python2.7/site-packages', and inside a file?

   Then you can add this lines before the "config = config.set_trytond.... " line of your

import sys

  And try again.... let me know if this helps.


2013/6/25 Kaushik <address@hidden>
Hi Sebastian,
           The python script is looking for Tryton.config.  I am pasting the traceback below.

Traceback (most recent call last):
  File "", line 26, in <module>
    user='admin', password='admin')
  File "/home/gnuhealth/.local/lib/python2.7/site-packages/proteus/", line 262, in set_trytond
    language=language, password=password, config_file=config_file)
  File "/home/gnuhealth/.local/lib/python2.7/site-packages/proteus/", 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.

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. 


Sebastián Marró
Converging Ideas for Emerging Realities

Sebastián Marró
Converging Ideas for Emerging Realities

reply via email to

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