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 content? 
> The content of the file used as TRYTOND_CONFIG (/home/mr/.trytond.conf) 
>
>
[database]
uri = sqlite://
path = /home/mr/training/databases

[session]
super_pwd = x
 

> -- 
> Sergi Almacellas Abellana 
> www.koolpi.com 
> Twitter: @pokoli_srk 
>

-- 
You received this message because you are subscribed to the Google Groups 
"tryton-dev" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tryton-dev/f8e35c8c-ccf7-4c19-bcc3-871813c21384%40googlegroups.com.


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
Twitter: @pokoli_srk

--
You received this message because you are subscribed to the Google Groups 
"tryton-dev" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tryton-dev/eaebba4d-51aa-3def-c952-6aee4bee8603%40koolpi.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 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 help me understand what is going on. 
> > > 
> > > Maybe you have TRYTOND_DATABASE_URI set in your environment. 
> > > 
> > 
> > No, I have only this: 
> > 
> > TRYTOND_CONFIG=/home/mr/.trytond.conf 
>
> And what is the content? 
>

What content?
 

>
> -- 
> Cédric Krier - B2CK SPRL 
> Email/Jabber: cedric...@b2ck.com  
> Tel: +32 472 54 46 59 
> Website: http://www.b2ck.com/ 
>

-- 
You received this message because you are subscribed to the Google Groups 
"tryton-dev" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tryton-dev/d2e4afc7-904d-49ff-819a-cfa4e1712cdd%40googlegroups.com.


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 database section: 
> > > 
> > > uri = sqlite:// 
> > > 
> > > According to documentation, this is the default, so again something 
> > > confusing. 
> > > 
> > > Please help me understand what is going on. 
> >
> > Maybe you have TRYTOND_DATABASE_URI set in your environment. 
> >
> 
> No, I have only this:
> 
> TRYTOND_CONFIG=/home/mr/.trytond.conf

And what is the content?

-- 
Cédric Krier - B2CK SPRL
Email/Jabber: cedric.kr...@b2ck.com
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/

-- 
You received this message because you are subscribed to the Google Groups 
"tryton-dev" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tryton-dev/20160719101212.GE6791%40tetsuo.


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:// 
> > 
> > According to documentation, this is the default, so again something 
> > confusing. 
> > 
> > Please help me understand what is going on. 
>
> Maybe you have TRYTOND_DATABASE_URI set in your environment. 
>

No, I have only this:

TRYTOND_CONFIG=/home/mr/.trytond.conf

 

>
> -- 
> Cédric Krier - B2CK SPRL 
> Email/Jabber: cedric...@b2ck.com  
> Tel: +32 472 54 46 59 
> Website: http://www.b2ck.com/ 
>

-- 
You received this message because you are subscribed to the Google Groups 
"tryton-dev" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tryton-dev/e36b8941-9f37-446b-a237-55eedad8c5ec%40googlegroups.com.


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 help me understand what is going on.

Maybe you have TRYTOND_DATABASE_URI set in your environment.

-- 
Cédric Krier - B2CK SPRL
Email/Jabber: cedric.kr...@b2ck.com
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/

-- 
You received this message because you are subscribed to the Google Groups 
"tryton-dev" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tryton-dev/20160719002438.GA6791%40tetsuo.