You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "app.py", line 220, in<module>main()
File "app.py", line 204, in main
login_from_config()
File "app.py", line 191, in login_from_config
fb_login(get_config(configPath))
File "app.py", line 186, in get_config
configObj.read(configPath)
File "D:\Software\Program Files\Python\lib\configparser.py", line 697, inread
self._read(fp, filename)
File "D:\Software\Program Files\Python\lib\configparser.py", line 1082, in _read
raise MissingSectionHeaderError(fpname, lineno, line)
configparser.MissingSectionHeaderError: File contains no section headers.
file: 'config.txt', line: 1
'\ufeff[credentials]\n
This error will happen if config.txt file encoding is not UTF-8, maybe will happen if the encoding is UTF-8 BOM.
So, all you have to do is to change the encoding of the file to UTF-8.
Hint: you can change the encoding with Notepad++, Sublime Text, or any other text editor allows you that.
The text was updated successfully, but these errors were encountered:
This error will happen if
config.txt
file encoding is notUTF-8
, maybe will happen if the encoding isUTF-8 BOM
.So, all you have to do is to change the encoding of the file to
UTF-8
.Hint: you can change the encoding with
Notepad++
,Sublime Text
, or any other text editor allows you that.The text was updated successfully, but these errors were encountered: