Re: [tryton-dev] KeyError when running config.set_trytond method

2016-07-21 Thread Marko Randjelovic
On Wednesday, July 20, 2016 at 10:28:04 AM UTC+2, Sergi Almacellas Abellana wrote: > > El 20/07/16 a les 10:03, Marko Randjelovic ha escrit: > > > No, I have only this: > > > > > > TRYTOND_CONFIG=/home/mr/.trytond.conf > > > > And what is the content? > > > > > > What

Re: [tryton-dev] KeyError when running config.set_trytond method

2016-07-20 Thread Sergi Almacellas Abellana
El 20/07/16 a les 10:03, Marko Randjelovic ha escrit: > No, I have only this: > > TRYTOND_CONFIG=/home/mr/.trytond.conf And what is the content? What content? The content of the file used as TRYTOND_CONFIG (/home/mr/.trytond.conf) -- Sergi Almacellas Abellana www.koolpi.com

Re: [tryton-dev] KeyError when running config.set_trytond method

2016-07-20 Thread Marko Randjelovic
On Tuesday, July 19, 2016 at 12:15:06 PM UTC+2, Cédric Krier wrote: > > On 2016-07-19 02:43, Marko Randjelovic wrote: > > On Tuesday, July 19, 2016 at 9:15:06 AM UTC+2, Cédric Krier wrote: > > > > > > On 2016-07-18 09:48, Marko Randjelovic wrote: > > > > And finally, i discovered the problem

Re: [tryton-dev] KeyError when running config.set_trytond method

2016-07-19 Thread Cédric Krier
On 2016-07-19 02:43, Marko Randjelovic wrote: > On Tuesday, July 19, 2016 at 9:15:06 AM UTC+2, Cédric Krier wrote: > > > > On 2016-07-18 09:48, Marko Randjelovic wrote: > > > And finally, i discovered the problem is solved when inserted this line > > in > > > trytond configuration file, in

Re: [tryton-dev] KeyError when running config.set_trytond method

2016-07-19 Thread Marko Randjelovic
On Tuesday, July 19, 2016 at 9:15:06 AM UTC+2, Cédric Krier wrote: > > On 2016-07-18 09:48, Marko Randjelovic wrote: > > And finally, i discovered the problem is solved when inserted this line > in > > trytond configuration file, in database section: > > > > uri = sqlite:// > > > >

Re: [tryton-dev] KeyError when running config.set_trytond method

2016-07-19 Thread Cédric Krier
On 2016-07-18 09:48, Marko Randjelovic wrote: > And finally, i discovered the problem is solved when inserted this line in > trytond configuration file, in database section: > > uri = sqlite:// > > According to documentation, this is the default, so again something > confusing. > > Please

[tryton-dev] KeyError when running config.set_trytond method

2016-07-18 Thread Marko Randjelovic
I decided to post this on dev list because I am dealing with in-depth aspects of tryton source code. Please correct me if i am wrong. I get a strange error when running a simple proteus script: --- from proteus import config config.set_trytond(database='test',