MissingSectionHeaderError: File contains no section headers

875 views
Skip to first unread message

Armand

unread,
Feb 15, 2018, 11:13:41 AM2/15/18
to tryton
Dear community,

Greetings from Cameroon. I am getting the following error on the Tryton client:

MissingSectionHeaderError: File contains no section headers

Tryton client 4.2.9
OS: Windows 7

I installed the client and it started without problem until this morning.

Your assistance will be as usual greatly appreciated.

Kind regards,

Armand

Cédric Krier

unread,
Feb 15, 2018, 11:40:07 AM2/15/18
to tryton
On 2018-02-15 08:13, Armand wrote:
> Dear community,
>
> Greetings from Cameroon. I am getting the following error on the Tryton client:
>
> MissingSectionHeaderError: File contains no section headers
>
> Tryton client 4.2.9
> OS: Windows 7
>
> I installed the client and it started without problem until this morning.

I looks like the configuration file is corrupted:
https://docs.python.org/2/library/configparser.html#ConfigParser.MissingSectionHeaderError
Could you check them:

- tryton.conf
- profiles.cfg

http://doc.tryton.org/4.6/tryton/doc/usage.html#configuration-file

It will be interesting to know what happened and in which states are
those files.

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

Armand Mpassy-Nzoumba

unread,
Feb 15, 2018, 1:16:07 PM2/15/18
to Tryton List


I looks like the configuration file is corrupted:
https://docs.python.org/2/library/configparser.html#ConfigParser.MissingSectionHeaderError
Could you check them:

    - tryton.conf
    - profiles.cfg

You're right. The files were corrupted
I deleted the user and created a different user.
It works fine now.

Thank you very much for your assistance

 Kind regards,

Armand

Cédric Krier

unread,
Feb 15, 2018, 5:20:06 PM2/15/18
to Tryton List
On 2018-02-15 19:16, Armand Mpassy-Nzoumba wrote:
> >
> >
> >
> > I looks like the configuration file is corrupted:
> > https://docs.python.org/2/library/configparser.html#ConfigParser.
> > MissingSectionHeaderError
> > Could you check them:
> >
> > - tryton.conf
> > - profiles.cfg
> >
>
> You're right. The files were corrupted

But what was the corruption?
Is it linked to https://bugs.tryton.org/issue6595 ?

Armand Mpassy-Nzoumba

unread,
Feb 16, 2018, 6:24:37 AM2/16/18
to Tryton List
On Thu, Feb 15, 2018 at 11:19 PM, Cédric Krier <cedric...@b2ck.com> wrote:

But what was the corruption?
Is it linked to https://bugs.tryton.org/issue6595 ?

Not quite sure. However it is the tryton.conf file related to the user profile only, not to the whole installation of the client.
Because when I create a new user on the same machine, the issue does not occur anymore.

Here is the link to the error message:


Kind regards,

Armand


 
Reply all
Reply to author
Forward
0 new messages