Hi Cédric. On Wednesday, April 8, 2015 at 11:10:03 AM UTC-5, Cédric Krier wrote: > > On 08 Apr 07:57, Fabyc wrote: > > Hi Sergi. > > > > On Wednesday, April 8, 2015 at 9:44:20 AM UTC-5, Sergi Almacellas > Abellana > > wrote: > > > > > > El 08/04/15 a les 16:17, Fabyc ha escrit: > > > > Hi. > > > > > > > > I've downloaded Tryton: hg nclone http://hg.tryton.org/trytond > > > > > > > > I've running the server and when I try to connect from client, it is > > > > always the same problem about I can't do it: "Can not connect to > > > > the server". > > > > > > > > Is there some new parameter in config file of Tryton or some new > option? > > > > > > > It should work with the same file format. > > > > I've installed all modules with all permissions and I use the same > > > config > > > > file than I'm using in Tryton 3.4. The OS user is the same I'm using > to. > > > > > > > > I can connect without any problem to my Tryton 3.4 I have running. > > > > > > > > In the config file I have set the access for any IP address: > > > 0.0.0.0:8000 > > > > > > > > > > Could you start the server with the --verbose option and check for the > > > output? > > > > > > > I have the config file with the option for output in console. I run the > > server with > > the option you said and I don't have any new output. Only the same > > indicating > > Tryton is running. > > > > I run the server like this: > > > > ~/.virtualenvs/trytond35$ server/bin/trytond -c > > /etc/tryton-server-stt35.conf --verbose --logconf /etc/tryton-log35.conf > > > > The output is: > > > > Wed Apr 08 14:47:38 2015] INFO:server:using etc/tryton-log35.conf as > > logging configuration file > > Wed Apr 08 14:47:38 2015] INFO:trytond.server:using > > etc/tryton-server-stt35.conf as configuration file > > Wed Apr 08 14:47:38 2015] INFO:trytond.server:initialising distributed > > objects services > > Wed Apr 08 14:47:38 2015] INFO:trytond.server:starting JSON-RPC SSL > > protocol on 0.0.0.0:8035 > > Try to start the server with a database in option: -d <db name> > If there is a bad database configuration, you will see an error in the > log. >
Your proposal was the solution for finding the error. With that, I could see it was missing the lib for connecting to postgres. I made this mistake because I freeze [1][ all the required libs from tryton 3.4 instance I have and then when I installed them [2] for this Tryton 3.5 instance, it seems like it didn't install that psycopg2 lib. The rest of the libs were installed without problem with [2]. I hope this explanation can help for other users. Now, I'm going to can to work in translation of this new Tryton version is coming. [1] pip freeze > requirements.txt [2] pip install -r requirements.txt Thank you very much to all of you for your help > > -- > Cédric Krier - B2CK SPRL > Email/Jabber: [email protected] <javascript:> > Tel: +32 472 54 46 59 > Website: http://www.b2ck.com/ >
