Discussion:
[tryton] MissingSectionHeaderError: File contains no section headers
Armand
2018-02-15 16:13:41 UTC
Permalink
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
--
You received this message because you are subscribed to the Google Groups "tryton" group.
To view this discussion on the web visit https://groups.google.com/d/msgid/tryton/24edcd36-1df7-4196-8e2c-92816416a7b8%40googlegroups.com.
Cédric Krier
2018-02-15 16:37:37 UTC
Permalink
Post by Armand
Dear community,
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: ***@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" group.
To view this discussion on the web visit https://groups.google.com/d/msgid/tryton/20180215163737.GL24410%40kei.
Armand Mpassy-Nzoumba
2018-02-15 18:16:04 UTC
Permalink
Post by Cédric Krier
https://docs.python.org/2/library/configparser.html#ConfigParser.
MissingSectionHeaderError
- 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
--
You received this message because you are subscribed to the Google Groups "tryton" group.
To view this discussion on the web visit https://groups.google.com/d/msgid/tryton/CAGb%2BB3c_oN%3DCzTsXbCXStFQRXNi4R5%2BZfwJGi9ApGF0sSXkvTQ%40mail.gmail.com.
Cédric Krier
2018-02-15 22:19:21 UTC
Permalink
Post by Armand Mpassy-Nzoumba
Post by Cédric Krier
https://docs.python.org/2/library/configparser.html#ConfigParser.
MissingSectionHeaderError
- 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 ?
--
Cédric Krier - B2CK SPRL
Email/Jabber: ***@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" group.
To view this discussion on the web visit https://groups.google.com/d/msgid/tryton/20180215221921.GP24410%40kei.
Armand Mpassy-Nzoumba
2018-02-16 11:24:33 UTC
Permalink
Post by Cédric Krier
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:

https://imgur.com/a/xWRaR

Kind regards,

Armand
--
You received this message because you are subscribed to the Google Groups "tryton" group.
To view this discussion on the web visit https://groups.google.com/d/msgid/tryton/CAGb%2BB3eURVUoT2AeKnQKh-GW%3DAZTkDbq6pJ-Pjy5iGmaQkGodA%40mail.gmail.com.
Loading...