On 27/10/2014 09:48, Cédric Krier wrote:
> On 27 Oct 12:07, Farid Shahy wrote:
>> When running trytond with config file specified with -c parameter, if the
>> file does not exist or
>> the user does not have permission to access config file, no warning or error
>> is displayed. then
>> when you try to login, it says that admin password is wrong. is this a bug?
> 
> This is the behavior describes in [1].
> Maybe we should use RawConfigParser.readfp.

Is there any reason for an admin to specify a file that can not be read
? If not, an error has to be raised.

Moreover '-c' and '--logconf' parameters behave differently when a
specified file can not be read [1] (the behavior should be consistent).

[1] http://codereview.tryton.org/10441002/diff/1/trytond/server.py#newcode33

--
Pierre-Louis

Reply via email to