• If you need help or want to discuss things, you now can also join us on our Discord Server!
  • A first preview of the unlimited version of SinusBot can be found in the Upcoming Changes thread. A version for Windows will follow, but we don't have a release date, yet.

Solved [English] Could not read configuration

Status
Not open for further replies.

Added

New Member
sinusbot was working fine yesterday and now today when i try to open it but it says
"Could not read configuration: near line 3 (last key parsed ")": Expected a top level item to end with a new line, comment or EOF,But got "L' instead

Does anyone know what to do?
 

Attachments

  • 6cd45fd40be50e8abe26658801563499.png
    6cd45fd40be50e8abe26658801563499.png
    21.9 KB · Views: 54

Xuxe

Containerholic
Staff member
is awesome!
V.I.P.
Contributor
Insider
sinusbot was working fine yesterday and now today when i try to open it but it says
"Could not read configuration: near line 3 (last key parsed ")": Expected a top level item to end with a new line, comment or EOF,But got "L' instead

Does anyone know what to do?

The Messages is clear? Your config.ini is broken?
If you have ever edited it with Notepad it is crashed, notepad removes the required newlines. ^^
Show us your config.ini.
 

Added

New Member
I think this is the confgi
TS3Path = "C:\\SinusBot\\TeamSpeak 3 Client\\ts3client_win64.exe"
ListenHost = "0.0.0.0"
DataDir = "C:\\SinusBot\\data\\"ListenPort = 8087LocalPlayback = false
EnableLocalFS = false
MaxBulkOperations = 300
LogLevel = 3
EnableProfiler = false
YoutubeDLPath = ""
EnableDebugConsole = false
UploadLimit = 83886080
RunAsUser = 0
RunAsGroup = 0
InstanceActionLimit = 6
UseSSL = false
SSLKeyFile = ""
SSLCertFile = ""
Hostname = ""
SampleInterval = 60
StartVNC = false
EnableWebStream = false
LogFile = ""
LicenseKey = "frimJ12bnnfg0fjGevgMeWlg+0b7OnPVpHiusYkzETg="
IsProxied = false
DenyStreamURLs = []
Pragma = 0

[YoutubeDL]
BufferSize = 524288
MaxDownloadSize = 419430400
MaxDownloadRate = 104857600
CacheStreamed = false

[TS3]
AvatarMaxWidth = 0
AvatarMaxHeight = 0

[StreamRewrites]

[Scripts]
AllowReload = false
EnableTimer = false

[Themes]
Default = ""

[SpeechRecognition]
Enable = false

[FFmpeg]
UserAgent = "SinusBot (0.9.15-4ff41c0)"

[DAV]
Enable = false

[XServer]
Delay = 0
Debug = false
 

irgendwr

no longer active, "retired" staff member
is awesome!
V.I.P.
is uber awesome!
Contributor
Insider
DataDir = "C:\\SinusBot\\data\\"ListenPort = 8087LocalPlayback = false
change this to
Code:
DataDir = "C:\\SinusBot\\data\\"
ListenPort = 8087
LocalPlayback = false
 

Added

New Member
I did and tried to run sinusbot but it now says "Could not read configuration: near line 2 (last key parsed ")": Expected a top level item to end with a new line, comment or EOF,But got "D" instead
btw im using notepad to edit this
 

irgendwr

no longer active, "retired" staff member
is awesome!
V.I.P.
is uber awesome!
Contributor
Insider
I did and tried to run sinusbot but it now says "Could not read configuration: near line 2 (last key parsed ")": Expected a top level item to end with a new line, comment or EOF,But got "D" instead
btw im using notepad to edit this
Yes because you remove new lines for now reason.
Learn how to edit configs without destroying them xD
 
Status
Not open for further replies.
Top